Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-321 (使用硬编码的密码学密钥) — Vulnerability Class 380

380 vulnerabilities classified as CWE-321 (使用硬编码的密码学密钥). AI Chinese analysis included.

CWE-321 represents a critical implementation weakness where software embeds static, unchangeable cryptographic keys directly into its source code or binary. This flaw severely compromises confidentiality and integrity because attackers can easily extract these keys through reverse engineering or simple code inspection, bypassing the need for complex decryption attacks. Once obtained, adversaries can impersonate legitimate users, decrypt sensitive data, or forge digital signatures with impunity. To mitigate this risk, developers must avoid hardcoding secrets entirely. Instead, they should implement robust key management systems that generate, store, and rotate keys dynamically. Utilizing secure hardware modules, operating system keychains, or dedicated secret management services ensures that cryptographic material remains isolated from the application logic, significantly raising the barrier for potential attackers seeking to compromise the system’s security posture.

MITRE CWE Description
The product uses a hard-coded, unchangeable cryptographic key.
Common Consequences (1)
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.
Mitigations (1)
Architecture and Design Prevention schemes mirror that of hard-coded password storage.
Examples (2)
The following code examples attempt to verify a password using a hard-coded cryptographic key.
int VerifyAdmin(char *password) { if (strcmp(password,"68af404b513073584c4b6f22b6c63e6b")) { printf("Incorrect Password!\n"); return(0); } printf("Entering Diagnostic Mode...\n"); return(1); }
Bad · C
public boolean VerifyAdmin(String password) { if (password.equals("68af404b513073584c4b6f22b6c63e6b")) { System.out.println("Entering Diagnostic Mode..."); return true; } System.out.println("Incorrect Password!"); return false;
Bad · Java
In 2022, the OT:ICEFALL study examined products by 10 different Operational Technology (OT) vendors. The researchers reported 56 vulnerabilities and said that the products were "insecure by design" [REF-1283]. If exploited, these vulnerabilities often allowed adversaries to change how the products operated, ranging from denial of service to changing the code that the products executed. Since these…
CVE ID Title CVSS Severity Published
CVE-2026-92199 Quest Foglight for Databases EncryptionUtil Hardcoded Encyption Key Local Privilege Escalation Vulnerability — Foglight for Databases - - 2026-11-03
CVE-2026-82154 Dell OS Recovery 2.4.4 之前版本硬编码密钥漏洞 — OS Recovery tool 2.4 Low 2026-11-03
CVE-2026-120209 AJ-Report through 1.7.1 Authentication Bypass leading to RCE via Share-Token — AJ-Report 9.8 Critical 2026-10-31
CVE-2026-61737 ng-antd-admin: Hardcoded JWT Secret allows Authentication Bypass in ng-antd-admin — ng-antd-admin 9.8 Critical 2026-10-30
CVE-2026-91912 Dell OpenManage Enterprise 4.8.0 前硬编码密钥漏洞 — OpenManage Enterprise 7.3 High 2026-10-30
CVE-2026-119597 OpenDeepWiki through 2.0.6 Hard-coded JWT Signing Key Admin Token Forgery — OpenDeepWiki 9.8 Critical 2026-10-30
CVE-2025-62841 Hard-coded Cryptographic Key #2 — HBS 3 Hybrid Backup Sync 8.7 High 2026-10-29
CVE-2025-62839 Hard-coded Cryptographic Key #1 — HBS 3 Hybrid Backup Sync 8.7 High 2026-10-29
CVE-2026-86384 Dell PowerProtect Data Domain 硬编码密钥漏洞 — PowerProtect Data Domain 9.8 Critical 2026-10-28
CVE-2026-102812 Hardcoded AES-128 Key and Fixed IV in Configuration Backup Encryption in TP-Link RE305 and Archer C7 — RE305 v3 6.9 Medium 2026-10-27
CVE-2026-117564 nest-admin before 1.0.1 Authentication Bypass via Hardcoded JWT Secret — nest-admin 9.8 Critical 2026-10-27
CVE-2026-111460 Static HTTPS private key and CA private key in firmware in OnCell G3150A-LTE Series — OnCell G3150A-LTE Series 7.7 High 2026-10-27
CVE-2026-116747 Kener 3.0.0 before 4.1.10 Authentication Bypass via Hardcoded Fallback JWT Secret — kener 8.1 High 2026-10-26
CVE-2014-125135 OctoPrint Flask Secret Key hard-coded key — OctoPrint 7.3 High 2026-10-26
CVE-2026-71456 Kantech Entrapass 9.20 前硬编码密钥漏洞 — Kantech Entrapass 8.5 High 2026-10-26
CVE-2026-112345 TTLock Android App < 9.8.260718 Hardcoded BLE Pairing Key Exposure — TTLock 8.1 High 2026-10-26
CVE-2026-110474 Hardcoded API Key Vulnerability in CreditNirvana Agentic AI Call Centre application — Agentic AI Call Centre 8.7 High 2026-10-26
CVE-2026-76298 Use of Hard-coded Cryptographic Key in the PostgreSQL Sidecar Service in Splunk Enterprise — Splunk Enterprise 8.8 High 2026-10-21
CVE-2026-89052 Hardcoded AES encryption key in Archer C6 — Archer C6 V2 5.9 Medium 2026-10-21
CVE-2026-82891 IBM Guardium Data Protection is affected by a security vulnerability — Guardium Data Protection 8.1 High 2026-10-20
CVE-2026-113466 MinIO Embedded Console common-main.go SessionTokenAuthenticate hard-coded key — MinIO 5.3 Medium 2026-10-20
CVE-2026-112014 LobsterAI before 2026.10.16 Hardcoded Password in Provider API Key Export — LobsterAI 5.5 Medium 2026-10-18
CVE-2026-111696 data-platform-open through commit efeacd3 Hardcoded AES Key for Datasource Passwords — data-platform-open 6.5 Medium 2026-10-16
CVE-2026-111692 DataBuff ai-apm-web through 0.1.10 Authentication Bypass via Hardcoded HMAC Secret — databuff 9.8 Critical 2026-10-16
CVE-2026-111690 Simple Admin Core through 1.8.7 Hard-Coded JWT Secret Authentication Bypass — simple-admin-core 9.8 Critical 2026-10-16
CVE-2026-111642 FastapiAdmin through 3.0 Hard-Coded JWT Secret Privilege Escalation — FastapiAdmin 8.8 High 2026-10-16
CVE-2026-111636 OpenBMB StaffDeck through 0.5.6 Authentication Bypass via Hard-Coded Session Secret — StaffDeck 8.1 High 2026-10-16
CVE-2026-111633 ZKEACMS through 4.4 Authentication Bypass via Hard-Coded JWT Signing Key — ZKEACMS 8.6 High 2026-10-16
CVE-2026-111612 netdisk-fast-download through 0.4.8 Credential Disclosure via /v2/randomAuth — netdisk-fast-download 7.5 High 2026-10-16
CVE-2026-109813 Shared Hard-coded Root CA Private Key — AIG-302 Series 8.6 High 2026-10-16

Vulnerabilities classified as CWE-321 (使用硬编码的密码学密钥) represent 380 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.