What is CWE-321?
The product uses a hard-coded, unchangeable cryptographic key.
CWE-321 is a variant-level weakness in MITRE’s Common Weakness Enumeration, with a MITRE likelihood of exploit of High. Applicable platforms: Not Language-Specific; ICS/OT.
Source: MITRE CWE (CWE-321 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Access Control — Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data. If hard-coded cryptographic keys are used, it is almost certain that malicious users will gain access through the account in question. The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered.
Source: MITRE CWE, common consequences.
How CWE-321 is exploited in the wild
Threadlinqs maps 21 CVEs to CWE-321, published between 2016-06-07 and 2026-11-10. 2 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild. By CVSS v3 severity the set splits into 8 critical, 5 high, 3 medium. The highest EPSS score in the set is 94.3% (CVE-2025-30406), the modelled probability of exploitation in the next 30 days. 30 tracked threats reference CWE-321 directly or through a CVE it covers; the most recent is “BOSSAI: AI-Augmented Multi-Agent Attack Campaign Exposes Taiwan Emergency Dispatch and Patient Records” (2026-11-05). Affected products concentrate in Apache Software Foundation (3), TP-Link Systems Inc. (2), AMD (1), among 19 vendors in total.
Vulnerabilities (CVEs)
All 21 CVEs mapped to CWE-321, CISA KEV first, then by CVSS score.
- CVE-2016-4437 — CISA KEV · CVSS 9.8 critical · EPSS 93.1% · published 2016-06-07
- CVE-2025-30406 — CISA KEV · CVSS 9 critical · EPSS 94.3% · published 2025-04-03
- CVE-2026-56271 — CVSS 9.8 critical · EPSS 0.6% · published 2026-07-12
- CVE-2026-120209 — CVSS 9.8 critical · EPSS 0.5% · published 2026-10-31
- CVE-2026-86384 — CVSS 9.8 critical · EPSS 0.4% · published 2026-10-28
- CVE-2026-5426 — CVSS 9.1 critical · EPSS 0.8% · published 2026-04-16
- CVE-2026-31986 — CVSS 9.1 critical · EPSS 0.5% · published 2026-05-19
- CVE-2026-81855 — CVSS 9.1 critical · EPSS 0.4% · published 2026-09-15
- CVE-2026-28326 — CVSS 8.8 high · EPSS 0.6% · published 2026-09-17
- CVE-2026-34635 — CVSS 8.4 high · EPSS 0.2% · published 2026-08-11
- CVE-2025-65998 — CVSS 7.5 high · EPSS 0.5% · published 2025-11-24
- CVE-2026-85963 — CVSS 7.5 high · EPSS 0.4% · published 2026-10-12
- CVE-2026-13184 — CVSS 7.5 high · EPSS 0.2% · published 2026-07-22
- CVE-2026-84483 — CVSS 5.3 medium · EPSS 0.2% · published 2026-09-01
- CVE-2026-24166 — CVSS 5.1 medium · EPSS 0.1% · published 2026-08-25
- CVE-2025-60250 — CVSS 4.7 medium · EPSS 0.1% · published 2025-09-26
- CVE-2026-71449 — EPSS 0.2% · published 2026-10-01
- CVE-2026-89052 — EPSS 0.2% · published 2026-10-21
- CVE-2025-30239 — published 2026-08-10
- CVE-2026-0003 — published 2026-11-10
- CVE-2026-105330 — published 2026-11-05
Affected vendors
- Apache Software Foundation — 3 CVEs
- TP-Link Systems Inc. — 2 CVEs
- AMD — 1 CVE
- Adobe — 1 CVE
- Apache — 1 CVE
- Dell — 1 CVE
- Digital Knowledge — 1 CVE
- Flowise — 1 CVE
- Gladinet — 1 CVE
- Johnson Controls — 1 CVE
- NVIDIA — 1 CVE
- Progress Software — 1 CVE
Threat activity
30 tracked threats cite CWE-321; the 25 most recent are listed.
- BOSSAI: AI-Augmented Multi-Agent Attack Campaign Exposes Taiwan Emergency Dispatch and Patient RecordsHIGH
- Apache OFBiz Pre-Auth RCE (CVE-2026-68524) and Account Takeover (CVE-2026-109928) Patched in 24.09.08CRITICAL
- Shielder research: Hard-coded AES kernel key in U-Boot bootloader of Hi3519-based ARM device recovered via Unicorn Engine emulationLOW
- Dell PowerProtect Data Domain multiple vulnerabilities fixed (DSA-2026-416, NCSC-2026-0460)CRITICAL
- AI-assisted reverse engineering (OpenAI Codex + Binary Ninja MCP) defeats encryption in NetacFileLock, SecZure YutianDun, KakaSoft USB Copy Protection and Nexcopy Copy Secure USB drive softwareMEDIUM
- Splunk Enterprise / Splunk SOAR and SolarWinds Security Updates (CVE-2026-76299, CVE-2026-76302, CVE-2026-76531, CVE-2026-76407, CVE-2026-28328)CRITICAL
- Progress MarkLogic Server: 31 Vulnerabilities (CVE-2026-9191, CVE-2026-85947 through CVE-2026-85976) Enabling Privilege Escalation, Code Execution and Authentication BypassCRITICAL
- Critical FortiSandbox GUI Authentication Bypass (CVE-2026-107656)CRITICAL
- Google DevSite Flask Session Pickle Deserialization RCE (Unauthenticated) - OAuth Client Secret Reused as Flask SECRET_KEYCRITICAL
- Cl0p Ransomware MFT Attack Pattern: Multi-Year Zero-Day Campaigns Against File Transfer and Enterprise Software (2020-2025)HIGH
- Dell Container Storage Modules (CSM) flaws enable unauthenticated admin access and root on Kubernetes nodes (CVE-2026-63688, CVE-2026-63692, CVE-2026-67269, CVE-2026-54472, CVE-2026-61421, CVE-2026-67273)CRITICAL
- Chinese-Speaking 'Kapibala' Actor (Red Heron-Linked) Chains WordPress wp2shell, Zyxel GS1900, and Ubiquiti UniFi OS Flaws to Steal Government DataCRITICAL
- LLM-Driven Reverse Engineering of Palo Alto Cortex XDR Yields Working EDR Evasion (SpecterOps)HIGH
- SolarWinds Access Rights Manager Hard-Coded Cryptographic Key (CVE-2026-28326) Enables Unauthenticated RCECRITICAL
- Team Cymru Infrastructure Analysis: Seven Active Ransomware Gangs (Akira, DragonForce, Clop, MedusaLocker, Qilin, INC Ransom, Lynx) Abuse Dual-Use Tools and Exploit SonicWall, Gladinet CentreStack, and FortiGate DevicesHIGH
- Telerik UI for ASP.NET AJAX — Padding Oracle Chained to Unauthenticated Deserialization RCE (CVE-2026-13181–13184)HIGH
- Chinese-Speaking Operator "Nie" Uses SecFlow AI Orchestration Framework (Claude, Qwen, DeepSeek) and GLUTTON Steganographic Webshell in Multi-Country Espionage CampaignHIGH
- Adobe and Nvidia Patch Dozens of Vulnerabilities Across Multiple Products, Including Two Critical Flaws in Nvidia's NemoClaw AI Agent Stack and a CVSS 10.0 Adobe Campaign Classic ChainCRITICAL
- Adobe Patches Critical RCE Flaws in ColdFusion, Campaign Classic, and Commerce (CVE-2026-48362, CVSS 10.0)CRITICAL
- Pre-auth RCE chains in Bonita BPM 10.4.3 and Apache OFBiz 24.09.05 (CVE-2026-31986)CRITICAL
- US FCC Bans Imported Advanced Robots Over Supply-Chain Risk and UniPwn-Class Takeover Vulnerabilities (CVE-2025-35027)HIGH
- KARR Bluetooth Vulnerability Lets Nearby Attackers Unlock and Immobilize Over 2 Million CarsHIGH
- KARR Aftermarket Car Alarm Bluetooth Flaw Exposes 2.2M Vehicles to Remote Unlock and ImmobilizationHIGH
- Apache Syncope Patches 12 CVEs Including Groovy Sandbox Bypass RCE and Audit Search SQLiCRITICAL
- TuxBot v3 Evolution: LLM-Assisted IoT Botnet Framework With a Broken Multi-CVE Exploit ChainHIGH
Mitigations
- Architecture and Design: Prevention schemes mirror that of hard-coded password storage.
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Source: MITRE CWE, detection methods. Threadlinqs detection rules for the threats above are Blue tier and higher.