Weaknesses of type CWE-798

943 results

Uso de credenciais hardcoded

Credenciais (senhas, chaves de API, tokens) embutidas no código-fonte ou binários da aplicação. O risco é que qualquer pessoa com acesso ao código ou arquivo compilado consegue extrair essas credenciais e abusar dos recursos protegidos, sem depender de quebra de senha ou ataque de força bruta.

Example

Um desenvolvedor coloca a senha do banco de dados como string literal dentro do código: `String connStr = "Server=db.empresa.com;Password=Admin123!";` Quando o código é compilado, a senha fica visível em ferramentas de análise binária ou se o repositório for exposto. Um atacante a encontra e acessa diretamente o banco.

How to mitigate

Armazene credenciais em variáveis de ambiente, secrets managers (como HashiCorp Vault, AWS Secrets Manager) ou arquivos de configuração protegidos fora do repositório. Nunca commite credenciais no Git; use .gitignore e ferramentas de scanning automático para evitar.

CVE-2026-11849CRITICALIEI Integration Corp|iRM-IEI Remote Management - Hard-coded CredentialsEPSS 0.4%CVE-2026-85146CRITICALLightstar|SmartIT Desktop Manager - Use of Hard-coded CredentialsEPSS 0.4%CVE-2025-7342HIGHVM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not overrideEPSS 0.3%CVE-2026-92928MEDIUMOpenEye Apex Network Video Recorder (NVR) firmware 3.2.9.376 contains a hardcoded, undocumented recovery account with a shared credential thEPSS 0.3%CVE-2026-85391CRITICALPeppermint through 0.5.5 Use of Hard-coded JWT Signing Secret in docker-compose.ymlEPSS 0.3%CVE-2024-27107CRITICALWeak account password in GE HealthCare EchoPAC productsEPSS 0.3%CVE-2026-49007HIGHInformation leakage vulnerability in ZTE F689 productEPSS 0.3%CVE-2025-54872HIGHonion-site-template tor Secrets Baked Into ImageEPSS 0.3%CVE-2025-10681HIGHGardyn Mobile Application and Device Firmware Use Hard-coded CredentialsEPSS 0.3%CVE-2026-28674HIGHxiaoheiFS Vulnerable to RCE via Arbitrary Payment Plugin Upload (Automatic Execution)EPSS 0.3%CVE-2023-41137HIGHSymmetric encryption used to protect messages between the AppsAnywhere server and client can be broken by reverse engineering the client andEPSS 0.3%CVE-2026-1233HIGHText to Speech (TTS) by Mementor <= 1.9.8 - Use of Hardcoded Password to Unauthenticated Remote Database AccessEPSS 0.3%CVE-2025-48414MEDIUMHard-coded web interface credentials in eCharge Hardy Barth cPH2 / cPP2 charging stationsEPSS 0.3%CVE-2025-60639MEDIUMHardcoded credentials in gsigel14 ATLAS-EPIC commit f29312c (2025-05-26).EPSS 0.3%CVE-2022-42176HIGHIn PCTechSoft PCSecure V5.0.8.xw, use of Hard-coded Credentials in configuration files leads to admin panel access.EPSS 0.3%CVE-2026-24840HIGHDokploy uses hardcoded credentials in installation script, which could result in database accessEPSS 0.3%CVE-2024-39838HIGHZWX-2000CSW2-HN firmware versions prior to Ver.0.3.15 uses hard-coded credentials, which may allow a network-adjacent attacker with an adminEPSS 0.3%CVE-2024-49805CRITICALIBM Security Verify Access Appliance hard coded credentialsEPSS 0.3%CVE-2025-13252MEDIUMshsuishang ShopSuite ModulithShop RSA/OAuth2/Database hard-coded credentialsEPSS 0.3%CVE-2026-38577CRITICALInsecure hardcoded credentials in the Admin account of Tenda HG21 V4.0.0-260302 allows attackers to gain root access.EPSS 0.3%