CWE-321: Use of Hard-coded Cryptographic Key
430 CVEs have CWE-321 as their primary weakness. 2 of them are in the CISA KEV catalog. The highest EPSS score among them is 94.728%.
The product uses a hard-coded, unchangeable cryptographic key.
Child of CWE-798: Use of Hard-coded Credentials
Mitigations
- Architecture and Design: Prevention schemes mirror that of hard-coded password storage.
Observed examples
- CVE-2022-29960: Engineering Workstation uses hard-coded cryptographic keys that could allow for unauthorized filesystem access and privilege escalation
- CVE-2022-30271: Remote Terminal Unit (RTU) uses a hard-coded SSH private key that is likely to be used in typical deployments.
- CVE-2020-10884: WiFi router service has a hard-coded encryption key, allowing root access
- CVE-2014-2198: Communications / collaboration product has a hardcoded SSH private key, allowing access to root account
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2025-30406 | 2025-04-03 | CRITICAL | 9.0 | 94.728% | Gladinet CentreStack through 16.1.10296.56315 (fixed in 16.4.10315.56368) has a deserialization vulnerability due to the CentreStack portal's hardcoded… |
| CVE-2016-4437 | 2016-06-07 | CRITICAL | 9.8 | 93.039% | Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass… |
| CVE-2026-129882 | 2026-11-16 | MEDIUM | 4.8 | 0.428% | Kiwi TCMS before 17.1 contains a hard-coded cryptographic key vulnerability that allows remote attackers to forge signed data by using the publicly known… |
| CVE-2026-126551 | 2026-11-17 | CRITICAL | 9.3 | not scored | Use of Hard-coded Cryptographic Key vulnerability in Broadcom AutoSys Workload Automation (Workload Control Center (WCC) modules) on Windows, Linux allows… |
| CVE-2026-124645 | 2026-11-17 | HIGH | 8.7 | not scored | This vulnerability exists in e-Sushrut HIMS due to the use of a static and predictable value in the client-side password hashing mechanism, which is embedded… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-321'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-321'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).