Weaknesses of type CWE-798

941 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-2025-10560CRITICALHardcoded cloud credentials in Worksnaps client application binaries expose production cloud resourcesEPSS 0.4%CVE-2026-8605MEDIUMUse of Hard-coded Credentials in ScadaBREPSS 0.4%CVE-2025-41710MEDIUMUse of Hard-coded Credentials in power analyzerEPSS 0.4%CVE-2023-40236MEDIUMIn Pexip VMR self-service portal before 3, the same SSH host key is used across different customers' installations, which allows authenticatEPSS 0.4%CVE-2024-8450HIGHPLANET Technology switch devices - Hard-coded SNMPv1 read-write community stringEPSS 0.4%CVE-2026-19871CRITICALUse of hard-coded credentials in Prospero Flow CRM employee onboardingEPSS 0.4%CVE-2023-4204MEDIUMNPort IAW5000A-I/O Series Hardcoded Credential VulnerabilityEPSS 0.4%CVE-2024-22813MEDIUMAn issue in Tormach xsTECH CNC Router, PathPilot Controller v2.9.6 allows attackers to overwrite the hardcoded IP address in the device memoEPSS 0.4%CVE-2026-8982CRITICALHard-coded / Backdoor AccountsEPSS 0.4%CVE-2025-27488MEDIUMMicrosoft Windows Hardware Lab Kit (HLK) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-30701CRITICALThe web interface of the WiFi Extender WDR201A (HW V2.1, FW LFMZX28040922V1.02) contains hardcoded credential disclosure mechanisms (in the EPSS 0.4%CVE-2026-26218CRITICALnewbee-mall Default Seeded Administrator Credentials Allow Account TakeoverEPSS 0.4%CVE-2026-13446CRITICALLangflow is affected by remote code execution, denial of service, path traversal, and exposed credentials due to multiple unauthenticated and insufficiently authorized API endpointsEPSS 0.4%CVE-2025-35940HIGHHard-coded ArchiverSpaApi JWT Signing KeyEPSS 0.4%CVE-2024-3544HIGHLoadMaster Hardcoded SSH KeyEPSS 0.4%CVE-2025-40938CRITICALA vulnerability has been identified in SIMATIC CN 4100 (All versions < V4.0.1). The affected device stores sensitive information in the firmEPSS 0.4%CVE-2023-45226HIGHBIG-IP Next SPK SSH vulnerabilityEPSS 0.4%CVE-2020-36915HIGHAdtec Digital SignEdje Digital Signage Player v2.08.28 Default CredentialsEPSS 0.4%CVE-2026-92787CRITICALFeast through 0.66.0 Authentication Bypass via Unverified TokenEPSS 0.4%CVE-2025-7358HIGHUse of Hard-coded Credentials in Utarit Informatics' SoliClubEPSS 0.4%