What is CWE-522?
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
CWE-522 is a class-level weakness in MITRE’s Common Weakness Enumeration. Applicable platforms: Language: Not Language-Specific; Technology: Not Technology-Specific; Technology: Web Based; Technology: ICS/OT.
Source: MITRE CWE (CWE-522 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Access Control — Gain Privileges or Assume Identity. An attacker could gain access to user accounts and access sensitive data used by the user accounts.
Source: MITRE CWE, common consequences.
How CWE-522 is exploited in the wild
Threadlinqs maps 26 CVEs to CWE-522, published between 2020-09-09 and 2026-10-29. 2 are listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild, and 1 is tied to ransomware campaigns. By CVSS v3 severity the set splits into 5 critical, 7 high, 10 medium. The highest EPSS score in the set is 85.7% (CVE-2021-30116), the modelled probability of exploitation in the next 30 days. 260 tracked threats reference CWE-522 directly or through a CVE it covers; the most recent is “Software Supply Chain Attacks Overview: CCleaner, Codecov, SolarWinds Orion, npm Shai-Hulud, Kaseya VSA, MOVEit Transfer” (2026-11-07). Affected products concentrate in AsyncHttpClient (4), IBM (2), Siemens (2), among 20 vendors in total.
Vulnerabilities (CVEs)
All 26 CVEs mapped to CWE-522, CISA KEV first, then by CVSS score.
- CVE-2021-30116 — CISA KEV · CVSS 10 critical · EPSS 85.7% · published 2021-07-09
- CVE-2021-22681 — CISA KEV · CVSS 9.8 critical · EPSS 63.6% · published 2021-03-03
- CVE-2022-38465 — CVSS 9.3 critical · EPSS 0.2% · published 2022-10-11
- CVE-2026-62327 — CVSS 9.1 critical · EPSS 0.3% · published 2026-07-13
- CVE-2026-76483 — CVSS 9.1 critical · EPSS 0.2% · published 2026-10-07
- CVE-2026-21670 — CVSS 7.7 high · EPSS 0.4% · published 2026-03-12
- CVE-2026-101331 — CVSS 7.7 high · EPSS 0.2% · published 2026-10-06
- CVE-2026-111927 — CVSS 7.7 high · EPSS 0.2% · published 2026-10-17
- CVE-2026-21852 — CVSS 7.5 high · EPSS 27.8% · published 2026-01-21
- CVE-2023-41677 — CVSS 7.5 high · EPSS 0.7% · published 2024-04-09
- CVE-2026-59158 — CVSS 7.5 high · EPSS 0.5% · published 2026-10-27
- CVE-2026-107232 — CVSS 7.5 high · EPSS 0.2% · published 2026-10-07
- CVE-2026-39908 — CVSS 6.5 medium · EPSS 0.8% · published 2026-06-08
- CVE-2020-15791 — CVSS 6.5 medium · EPSS 0.7% · published 2020-09-09
- CVE-2026-92256 — CVSS 6.5 medium · EPSS 0.2% · published 2026-09-15
- CVE-2026-110192 — CVSS 6.5 medium · EPSS 0.2% · published 2026-10-29
- CVE-2026-75136 — CVSS 6.1 medium · EPSS 0.1% · published 2026-09-02
- CVE-2026-107285 — CVSS 5.9 medium · EPSS 0.2% · published 2026-10-07
- CVE-2026-91766 — CVSS 5.9 medium · published 2026-09-25
- CVE-2026-65087 — CVSS 5.6 medium · EPSS 0.1% · published 2026-08-25
- CVE-2024-54471 — CVSS 5.5 medium · EPSS 0.2% · published 2024-12-11
- CVE-2026-16553 — CVSS 5.4 medium · EPSS 0.3% · published 2026-07-29
- CVE-2026-42295 — EPSS 0.4% · published 2026-05-09
- CVE-2026-107231 — EPSS 0.2% · published 2026-10-07
- CVE-2026-107282 — EPSS 0.1% · published 2026-10-07
- CVE-2026-4387 — EPSS 0.1% · published 2026-05-29
Affected vendors
Threat activity
260 tracked threats cite CWE-522; the 25 most recent are listed.
- Software Supply Chain Attacks Overview: CCleaner, Codecov, SolarWinds Orion, npm Shai-Hulud, Kaseya VSA, MOVEit TransferHIGH
- Threat actors use agentic AI tooling (ARTEX) to find and abuse exposed secrets in GitHub and AzureHIGH
- BlackNevas and The Gentlemen Ransomware Cases Against ESXi and Proxmox Virtualization EnvironmentsHIGH
- Metasploit 6.5.9 Wrapup: Public Exploit Modules for Citrix NetScaler (CVE-2026-88771), Cisco Secure Email Gateway (CVE-2026-76461/76443), GitLab CI/CD Regex RCE (CVE-2026-97229), OpenBullet2, Flowise, SPIP and WordPress Bug LibraryCRITICAL
- WardenStealer and Aoki (Aokigahara) Infostealers Steal ChatGPT, Claude, and Codex Tokens That Survive Password ResetsHIGH
- Key Eater: Stolen Microsoft Entra ID Application Credentials Used to Breach 27 OrganizationsHIGH
- Critical Langflow Flaws (CVE-2026-93680, CVE-2026-110186) Allow Unauthenticated Attackers to Run Code on ServersCRITICAL
- CVE-2024-54471: macOS NetAuthAgent MIG Server Flaw Enables Credential Leakage and iCloud Data AccessMEDIUM
- Infostealer Logs Expose Binance Corporate Identities Linked to Okta, Kibana, Git and JetBrains AccessMEDIUM
- GhostAction GitHub Actions Supply-Chain Campaign: October 2026 Wave Largely Blocked, Attackers Retain Access to ~1,800 Compromised AccountsHIGH
- Aokigahara Infostealer Targets ChatGPT, Claude, Codex, and Cursor Login CredentialsHIGH
- Infostealer-Driven Claude AI Session Hijacking via Stolen Browser Cookies (Vidar, LummaC2, StealC, RedLine, Acreed, AMOS)HIGH
- Coordinated GitHub API Enumeration and Access Token Abuse Targeting GitHub OrganizationsHIGH
- Infostealers Target AI Service Credentials, Session Tokens and API Keys (Aokigahara, Warden Stealer, StealC)HIGH
- AI-Enabled Ransomware and Extortion Economics: Stolen AI Credentials, Aurora Ransomware and GTG-50014 Affiliate OperationsHIGH
- Gheist: Automated Campaign Abusing Stolen GitHub Tokens to Plant Secret-Exfiltrating WorkflowsHIGH
- Industrial Remote Access Credential Exposure in Infostealer Logs (601 OT Session Addresses, Cellular Router and Tunnel Platforms)HIGH
- Energy & Utilities Cyber Exposure: Ransomware Loss Concentration (Resilience Report) and July 2026 Internet-Exposed PLC Attacks on US Water Utilities (Rockwell MicroLogix)HIGH
- CVE-2026-21660: Hardcoded Credentials in Johnson Controls Frick Controls Quantum HD Industrial Refrigeration ControllerMEDIUM
- Linux clear-text credential harvesting techniques (process memory, PAM backdoors, bash history, ptrace tooling)MEDIUM
- Attackers Hijacked Over 300 Tor Exit Relays to Intercept SSH Connections (Ebury 1.8.3)HIGH
- Credential Layer Exposure: Secrets Sprawl and Shai-Hulud npm Supply Chain Credential Harvesting (GitGuardian)MEDIUM
- 333 Tor Exit Nodes Hijacked to Intercept SSH Logins and Steal Credentials (Ebury 1.8.3)HIGH
- Stolen UpdraftCentral Keys Used to Backdoor WordPress Sites Following TeamUpdraft BreachCRITICAL
- Developer credential exposure on dev machines: StepSecurity Dev Machine Guard credential-source inventory (context: TeamPCP stealer, Bitwarden CLI npm hijack, Shai-Hulud)MEDIUM
Mitigations
- Architecture and Design: Use an appropriate security mechanism to protect the credentials.
- Architecture and Design: Make appropriate use of cryptography to protect the credentials.
- Implementation: Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).
Source: MITRE CWE, potential mitigations.
Detection methods (MITRE CWE)
- Automated Static Analysis (effectiveness: High): 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.