What is CWE-470?
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
If the product uses external inputs to determine which class to instantiate or which method to invoke, then an attacker could supply values to select unexpected classes or methods. If this occurs, then the attacker could create control flow paths that were not intended by the developer. These paths could bypass authentication or access control checks, or otherwise cause the product to behave in an unexpected manner. This situation becomes a doomsday scenario if the attacker can upload files into a location that appears on the product's classpath (CWE-427) or add new entries to the product's classpath (CWE-426). Under either of these conditions, the attacker can use reflection to introduce new, malicious behavior into the product.
CWE-470 is a base-level weakness in MITRE’s Common Weakness Enumeration. Applicable platforms: Java; PHP; Interpreted.
Source: MITRE CWE (CWE-470 definition, reproduced verbatim). Counts and linkage below are Threadlinqs data.
Consequences
- Integrity, Confidentiality, Availability, Other — Execute Unauthorized Code or Commands, Alter Execution Logic. The attacker might be able to execute code that is not directly accessible to the attacker. Alternately, the attacker could call unexpected code in the wrong place or the wrong time, possibly modifying critical system state.
- Availability, Other — DoS: Crash, Exit, or Restart, Other. The attacker might be able to use reflection to call the wrong code, possibly with unexpected arguments that violate the API (CWE-227). This could cause the product to exit or hang.
- Confidentiality — Read Application Data. By causing the wrong code to be invoked, the attacker might be able to trigger a runtime error that leaks sensitive information in the error message, such as CWE-536.
Source: MITRE CWE, common consequences.
How CWE-470 is exploited in the wild
Threadlinqs maps 8 CVEs to CWE-470, published between 2026-07-22 and 2026-11-24. 1 is listed in CISA’s Known Exploited Vulnerabilities catalog, the authoritative record of exploitation in the wild. By CVSS v3 severity the set splits into 2 critical, 2 high. The highest EPSS score in the set is 63.5% (CVE-2026-82078), the modelled probability of exploitation in the next 30 days. 26 tracked threats reference CWE-470 directly or through a CVE it covers; the most recent is “Rhysida Ransomware Affiliate Uses OpenCode AI Agent; Exposed Staging Server Reveals Athena C2, Mass-Exploitation Tooling and Metabase CVE-2026-72898 Foothold” (2026-11-29). Affected products concentrate in Drupal (2), Amazon (1), Apache Software Foundation (1), among 7 vendors in total.
Vulnerabilities (CVEs)
All 8 CVEs mapped to CWE-470, CISA KEV first, then by CVSS score.
- CVE-2026-82078 — CISA KEV · CVSS 9.1 critical · EPSS 63.5% · published 2026-08-28
- CVE-2026-90436 — CVSS 9.8 critical · EPSS 1.1% · published 2026-11-06
- CVE-2026-13181 — CVSS 8.1 high · EPSS 0.5% · published 2026-07-22
- CVE-2026-124035 — CVSS 7.1 high · EPSS 0.5% · published 2026-11-09
- CVE-2026-108097 — EPSS 0.3% · published 2026-10-30
- CVE-2026-108099 — EPSS 0.3% · published 2026-10-30
- CVE-2026-133555 — published 2026-11-24
- CVE-2026-61599 — published 2026-09-16
Affected vendors
- Drupal — 2 CVEs
- Amazon — 1 CVE
- Apache Software Foundation — 1 CVE
- PaperCut — 1 CVE
- Progress Software — 1 CVE
- djust-org — 1 CVE
- elixir-ecto — 1 CVE
Threat activity
26 tracked threats cite CWE-470; the 25 most recent are listed.
- Rhysida Ransomware Affiliate Uses OpenCode AI Agent; Exposed Staging Server Reveals Athena C2, Mass-Exploitation Tooling and Metabase CVE-2026-72898 FootholdHIGH
- Hex.pm Unauthenticated RCE (CVE-2026-129514, CVSS 10.0) Exploited to Compromise 6 Package Registry ServersCRITICAL
- September 2026 CVE Landscape: 94 High-Impact Actively Exploited Vulnerabilities (Citrix NetScaler CVE-2026-88771/88772, F5 BIG-IP APM CVE-2026-94127, Cisco FMC, WordPress Core, PaperCut)CRITICAL
- Week of Nov 10-17, 2026: Outlook NTLM Zero-Day (CVE-2026-124194), Chrome XML UAF Zero-Day (CVE-2026-125350), N-able N-central 4EverAble2Shell, Check Point PHP2Shell (CVE-2026-123039), SAP ICM2Shell and Optimizely OPTIMJACK Supply-Chain CompromiseCRITICAL
- CISA KEV: Active Exploitation of Critical RCE Flaws in Synology DSM (CVE-2024-10441), Apache Axis (CVE-2026-90436), REDCap (CVE-2026-90817) and LiteLLM (CVE-2026-40217)CRITICAL
- Atlassian November 2026 Security Bulletin: 318 vulnerability entries across Jira, Confluence, Bitbucket, Bamboo, Crowd, Fisheye and Crucible (52 critical), plus Confluence Axis RCE CVE-2026-90436CRITICAL
- GTIG warns fully-automated agentic AI attacks imminent: exploit_agent, CAIRN, ARTEX abuse and SOMBERMEME via modified Claude Code (MIDNIGHT NEPTUNE / UNC6836)HIGH
- CVE-2026-90436 Apache Axis 1.x Unsafe Reflection RCE Exploited Against Atlassian Confluence Data Center; N-able N-central Also ExploitedCRITICAL
- Cisco Secure FMC Exploitation (CVE-2026-20079, CVE-2026-20316) by Qilin Affiliate UAT-11988 and Sandworm-Linked UAT-11823, with ScreenConnect (CVE-2026-84869) and PaperCut (CVE-2026-81578/82078) Management-Layer ExploitationCRITICAL
- N-central 4EverAble2Shell and Agent2Shell exploits (root RCE and Windows SYSTEM) work against build 2026.4.1.26; exploitation attempts chained with CVE-2026-90436CRITICAL
- Able2Shell: 33 N-able N-central Vulnerabilities Chained into RCE and Root Privilege Escalation; N-able Takes Hosted Cloud OfflineCRITICAL
- NCSC CTO Weekly Summary (week ending 2026-09-13): actively exploited Cisco FMC (CVE-2026-20079/20316), PaperCut NG/MF (CVE-2026-81578/82078), MikroTik RouterOS and FortiGate (CVE-2025-25249) flaws; NetScaler SAML bypass (CVE-2026-19490); BlueMoon exploit kitCRITICAL
- Pwn2Own Berlin 2026: 47 Zero-Days Demonstrated Against VMware ESXi, Microsoft SharePoint and Exchange, Windows 11, Red Hat Linux, OpenAI Codex and Claude CodeHIGH
- September 2026 Major Cyber Attacks: ShinyHunters FBIJobs/PeopleSoft (CVE-2026-35273), Clop Leak Site Grav CMS Hijack (CVE-2026-42608), PaperCut AI-Agent Campaign, BlueMoon Zero-Day Chain, NetScaler C2 (CVE-2026-88771)CRITICAL
- Abliterated and Resold AI Models Fueling Cybercrime Underground; ARTEX-Assisted Intrusions at South Korean Banks (Flare Quantitative Analysis)HIGH
- AI-Agent-Driven Exploitation of PaperCut NG/MF (CVE-2026-81578, CVE-2026-82078) Leads to Windows Credential Theft and Domain Admin CompromiseCRITICAL
- Drupal Core Field UI Critical Flaw (CVE-2026-108097, SA-CORE-2026-014) With Unauthenticated RCE Path via Contributed ModulesCRITICAL
- September 2026 CVE Landscape: 94 high-impact vulnerabilities, NetScaler zero-days CVE-2026-88771/CVE-2026-88772, AI-agent-assisted exploitationCRITICAL
- Telerik UI for ASP.NET AJAX — Padding Oracle Chained to Unauthenticated Deserialization RCE (CVE-2026-13181–13184)HIGH
- PaperCut NG/MF Chained Zero-Day RCE (CVE-2026-82078 & CVE-2026-81578) Under Active ExploitationCRITICAL
- CosmosEscape: Platform-Wide Cosmos Master Key Exposure via Gremlin API Sandbox Escape in Azure Cosmos DBCRITICAL
- CosmosEscape: Gremlin API Sandbox Escape Exposed Platform-Wide Key for Every Azure Cosmos DB DatabaseCRITICAL
- CosmosEscape: Azure Cosmos DB Gremlin Sandbox Escape Exposed Platform-Wide Master Key (CVE-2026-66803)CRITICAL
- Apache Syncope Patches 12 CVEs Including Groovy Sandbox Bypass RCE and Audit Search SQLiCRITICAL
- Fastjson 1.2.x Gadget-Free Remote Code Execution via @JSONType Remote Class Load (Versions 1.2.68-1.2.83)CRITICAL
Mitigations
- Architecture and Design: Refactor your code to avoid using reflection.
- Architecture and Design: Do not use user-controlled inputs to select and load classes or code.
- Implementation: Apply strict input validation by using allowlists or indirect selection to ensure that the user is only selecting allowable classes or code.
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.