Weaknesses of type CWE-321

362 results

Chave criptográfica hardcoded

É quando a chave ou senha usada para criptografia fica embutida no código-fonte ou binário da aplicação. Qualquer pessoa com acesso ao código (incluindo atacantes que fazem engenharia reversa) consegue extrair a chave e descriptografar todos os dados protegidos por ela, anulando completamente a proteção criptográfica.

Example

Um app mobile que faz login criptografa a senha com uma chave fixa como `const ENCRYPTION_KEY = '12345abc'` no código. Um atacante faz dump do APK, encontra a chave em minutos, e consegue descriptografar todas as senhas armazenadas de todos os usuários.

How to mitigate

Armazene chaves em repositórios seguros (key management systems, vaults como AWS Secrets Manager ou HashiCorp Vault), derive chaves de senhas do usuário com algoritmos fortes (PBKDF2, Argon2), ou use mecanismos de derivação dinâmica. Nunca coloque chaves no código, comentários ou arquivos de configuração versionados.

CVE-2025-15605HIGHHardcoded Cryptographic Key in Configuration Encryption Mechanism on TP-Link Archer NX200, NX210, NX500 and NX600EPSS 0.1%CVE-2025-56802MEDIUMThe Reolink desktop application uses a hard-coded and predictable AES encryption key to encrypt user configuration files allowing attackers EPSS 0.1%CVE-2023-6482MEDIUMEncryption key derived from static host informationEPSS 0.1%CVE-2026-66763HIGHCredentials disclosure in SAP BusinessObjects Business Intelligence Platform (Central Management Server)EPSS 0.1%CVE-2026-80114HIGHPassMark PerformanceTest, BurnInTest, and OSForensics Hard-coded Credentials Authentication Bypass via DirectIo64.sysEPSS 0.1%CVE-2025-64304MEDIUM"FOD" App uses hard-coded cryptographic keys, which may allow a local unauthenticated attacker to retrieve the cryptographic keys.EPSS 0.1%CVE-2026-25107MEDIUMELECOM wireless LAN access point devices use a hard-coded cryptographic key when creating backups of configuration files. An attacker who knEPSS 0.1%CVE-2026-81326MEDIUMQND uses a hard-coded cryptographic key, which may allow a local attacker who is logged in to a Windows PC where the affected product's clieEPSS 0.1%CVE-2022-36925MEDIUMInsecure key generation for Zoom Rooms for macOS ClientsEPSS 0.1%CVE-2025-2810MEDIUMDraeger: ICMHelper is vulnerable to use of Hard-coded Cryptographic KeyEPSS 0.1%CVE-2026-34029MEDIUMHard-coded cryptographic key in Wertheim SafeController Software allows decryption of sensitive configuration dataEPSS 0.1%CVE-2025-26476HIGHDell ECS versions prior to 3.8.1.5/ ObjectScale version 4.0.0.0, contain a Use of Hard-coded Cryptographic Key vulnerability. An unauthenticEPSS 0.1%CVE-2026-34022HIGHWeak custom cryptography and hard-coded keys in Wertheim SafeController 65000 allow traffic decryptionEPSS 0.1%CVE-2026-64887HIGHAirwall - Hardcoded SecretsEPSS 0.1%CVE-2026-6787HIGHUsage of a hard-coded cryptographic key in WatchGuard Agent allows inclusion of code into existing processEPSS 0.1%CVE-2026-57262HIGHA vulnerability has been identified in LOGO! Soft Comfort (All versions < V9). Affected products use a static, hardcoded AES master key to eEPSS 0.1%CVE-2024-20280MEDIUMCisco UCS Central Software Configuration Backup Static Key VulnerabilityEPSS 0.1%CVE-2023-20016MEDIUMCisco FXOS Software and UCS Manager Software Configuration Backup Static Key VulnerabilityEPSS 0.1%CVE-2026-63423HIGHDuring an internal security assessment, a potential vulnerability was discovered in Lenovo Accessories and Display Manager for Enterprise foEPSS 0.1%CVE-2026-81821HIGHAVEVA Pipeline Integrity Monitor Use of hard-coded cryptographic keyEPSS 0.1%