Weaknesses of type CWE-798

1,013 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-13043CRITICALWatchGuard Endpoint Security Missing Authentication in Kernel Memory Access Driver Allows Arbitrary Kernel Memory AccessEPSS 0.2%CVE-2025-54465MEDIUMHard-coded Credentials Vulnerability in ZKTeco WL20EPSS 0.2%CVE-2025-55263HIGHHCL Aftermarket DPC is affected by Hardcoded Sensitive DataEPSS 0.2%CVE-2025-34501HIGHShuffle Master Deck Mate 2 Hard-coded Credentials & Exposed ServicesEPSS 0.2%CVE-2023-49221HIGHPrecor touchscreen console P62, P80, and P82 could allow a remote attacker (within the local network) to bypass security restrictions, and aEPSS 0.2%CVE-2023-40719MEDIUMA use of hard-coded credentials vulnerability in Fortinet FortiAnalyzer and FortiManager 7.0.0 - 7.0.8, 7.2.0 - 7.2.3 and 7.4.0 allows an atEPSS 0.2%CVE-2024-55023MEDIUMWeintek cMT-3072XH2 easyweb v2.1.53, OS v20231011 was discovered to contain a hardcoded encryption key which could allow attackers to accessEPSS 0.2%CVE-2019-25722HIGHDräger SC Monitoring Devices Hard-coded Credentials and DoSEPSS 0.2%CVE-2025-23179MEDIUMRibbon Communications - CWE-798: Use of Hard-coded CredentialsEPSS 0.2%CVE-2023-44296HIGH Dell ELab-Navigator, version 3.1.9 contains a hard-coded credential vulnerability. A local attacker could potentially exploit this vulnerabEPSS 0.2%CVE-2026-54631MEDIUMPart-DB: Hardcoded APP_SECRET enables forged remember-me cookieEPSS 0.2%CVE-2025-55279MEDIUMHard-coded Private Key Vulnerability in ZKTeco WL20EPSS 0.2%CVE-2026-5065HIGHIBM Controller is affected by vulnerabilitiesEPSS 0.2%CVE-2025-32889HIGHAn issue was discovered on goTenna v1 devices with app 5.5.3 and firmware 0.25.5. The verification token used for sending SMS through a goTeEPSS 0.2%CVE-2025-32888HIGHAn issue was discovered on goTenna Mesh devices with app 5.5.3 and firmware 1.1.12. The verification token used for sending SMS through a goEPSS 0.2%CVE-2026-19703MEDIUMA weak password hashing vulnerability has been identified on SonicOS virtual appliances, which in specific conditions could potentially enabEPSS 0.2%CVE-2025-1143HIGHBillion Electric M120N - Use of Hard-coded CredentialsEPSS 0.2%CVE-2025-33100MEDIUMIBM Concert Software information disclosureEPSS 0.2%CVE-2024-50593HIGHHardcoded Service PasswordEPSS 0.2%CVE-2026-55395CRITICALHardcoded Passwords in Teledyne FLIR Robots running Aware2EPSS 0.2%