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-75754CRITICALMissing Authentication for Critical Function, Server-Side Request Forgery (SSRF), and Use of Hard-coded Credentials in ASUS Control Center aEPSS 0.3%CVE-2026-105278CRITICALGrid Protection Alliance openPDC (Docker image) Use of Hard-coded CredentialsEPSS 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-2022-38069MEDIUMContec Health CMS8000EPSS 0.3%CVE-2026-114219CRITICALNewType Infortech|NT OneAPP - Hard-coded CredentialsEPSS 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-2026-22900MEDIUMQuNetSwitchEPSS 0.3%CVE-2026-18449HIGHSupermicro BMC contains a SMCRAKP Fixed Key vulnerabilityEPSS 0.3%CVE-2025-49551HIGHColdFusion | Use of Hard-coded Credentials (CWE-798)EPSS 0.3%CVE-2026-59507CRITICALPriority – CWE-798: Use of Hard-coded Credentials CWE-200: Exposure of Sensitive Information to an Unauthorized Actor CWE-284: Improper Access ControlEPSS 0.3%CVE-2026-54472CRITICALDell Container Storage Modules, versions prior to 1.18.0, contain(s) an Use of Hard-coded Credentials vulnerability in the csm-docs. An unauEPSS 0.3%CVE-2025-60639MEDIUMHardcoded credentials in gsigel14 ATLAS-EPIC commit f29312c (2025-05-26).EPSS 0.3%CVE-2025-66454MEDIUMArcade MCP Default Hardcoded Worker Secret Allows Full Unauthorized Access to All HTTP MCP Worker EndpointsEPSS 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-2026-28255HIGHUse of Hard-coded Credentials vulnerability in Trane Tracer SC, Tracer SC+, and Tracer ConciergeEPSS 0.3%CVE-2024-49805CRITICALIBM Security Verify Access Appliance hard coded credentialsEPSS 0.3%CVE-2026-77847HIGHTycon Systems TPDIN-Monitor-WEB3 Use of Hard-coded CredentialsEPSS 0.3%CVE-2017-20214CRITICALFLIR Thermal Camera F/FC/PT/D firmware version 8.0.0.64 Hard-Coded SSH Credentials VulnerabilityEPSS 0.3%CVE-2025-9497MEDIUMHardcoded Upgrade Decryption PasswordsEPSS 0.3%CVE-2021-47744CRITICALCypress Solutions CTM-200/CTM-ONE 1.3.6 Hard-coded Credentials Remote RootEPSS 0.3%