Weaknesses of type CWE-321

427 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-2026-90510MEDIUMdromara orion-visor HostKeyServiceImpl.java HostKeyServiceImpl.encryptKey hard-coded keyEPSS 0.5%CVE-2023-42492HIGH EisBaer Scada - CWE-321: Use of Hard-coded Cryptographic KeyEPSS 0.5%CVE-2026-111347HIGHgo-ldap-admin through 0.6.2 Hard-Coded RSA Private Key via /base/decryptpwdEPSS 0.5%CVE-2019-17098LOWUse of Hard-coded Cryptographic Key vulnerability in August Connect Wi-Fi Bridge AppEPSS 0.5%CVE-2026-86241MEDIUMliufee FeehiCMS Cookie Validation main-local.php hard-coded keyEPSS 0.5%CVE-2026-111612HIGHnetdisk-fast-download through 0.4.8 Credential Disclosure via /v2/randomAuthEPSS 0.5%CVE-2025-3177LOWFastCMS JWT hard-coded keyEPSS 0.5%CVE-2022-34440HIGHDell EMC SCG Policy Manager, versions from 5.10 to 5.12, contain(s) a contain a Hard-coded Cryptographic Key vulnerability. An attacker withEPSS 0.5%CVE-2022-34441HIGH Dell EMC SCG Policy Manager, versions from 5.10 to 5.12, contain(s) a contain a Hard-coded Cryptographic Key vulnerability. An attacker witEPSS 0.5%CVE-2026-16504CRITICALVPS.org one-click Zulip template deployment instance contains multiple vulnerabilitiesEPSS 0.5%CVE-2025-54947MEDIUMApache StreamPark: Use hard-coded key vulnerabilityEPSS 0.5%CVE-2014-125135MEDIUMOctoPrint Flask Secret Key hard-coded keyEPSS 0.5%CVE-2026-108860CRITICALBotSharp through 5.2.0 Authentication Bypass via Hard-Coded JWT Signing KeyEPSS 0.5%CVE-2026-86384CRITICALDell PowerProtect Data Domain, Feature Release versions 7.7.1.0 through 8.8, LTS2024 release versions 7.13.1.0 through 7.13.1.80, LTS2025 reEPSS 0.5%CVE-2024-41260HIGHA static initialization vector (IV) in the encrypt function of netbird management's service from v0.23.2 to v0.29.1 allows attackers to obtaEPSS 0.5%CVE-2023-49256HIGHPredictable encryption passphrase used in publicly accessible configuration fileEPSS 0.5%CVE-2017-9649—A Use of Hard-Coded Cryptographic Key issue was discovered in Mirion Technologies DMC 3000 Transmitter Module, iPam Transmitter f/DMC 2000, EPSS 0.5%CVE-2025-15005MEDIUMCouchCMS reCAPTCHA config.example.php hard-coded keyEPSS 0.5%CVE-2026-54218HIGHTeamDavid: Weak Cryptography and Insecure Password StorageEPSS 0.5%CVE-2026-110214MEDIUMSnowy 3.6.5 Hard-coded Download Signature Key Allows Unauthenticated File DownloadEPSS 0.5%