CWE · MITRE source
CWE-470Use of Externally-Controlled Input to Select Classes or Code
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.
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.
Last updated: 28 November 2026 01:40 UTC
Cumulative inbound coverage
How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.
Collective: full · 20 mapping(s) from 4 framework(s): ATT&CK 8 (full) · ISO_IEC_27002_2022 6 (mostly) · 3 (mostly) · 800-53 3 (mostly)
OWASP Top 10 for Web (2025)
This weakness contributes to A05:2025 Injection.
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls PROPOSED for this weakness (1)
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
SC-44 | Detonation Chambers | SC | Externally controlled class or code selection can be resolved and invoked inside the chamber, surfacing unsafe reflection without system impact. |
MITRE ATT&CK techniques this weakness enables
Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2021-21985 KEV UPD | 9.9 | 9.8 | 1.0000 | 2021-05-26 |
CVE-2026-90436 KEV UPD | 9.9 | 9.8 | 0.0270 | 2026-11-06 |
CVE-2026-82078 KEV UPD | 9.0 | 9.1 | 0.0352 | 2026-08-28 |
CVE-2018-1000613 UPD | 7.9 | 9.8 | 0.0477 | 2018-07-09 |
CVE-2019-1003040 UPD | 7.8 | 9.8 | 0.0343 | 2019-03-28 |
CVE-2019-1003041 UPD | 7.8 | 9.8 | 0.0343 | 2019-03-28 |
CVE-2021-31522 UPD | 7.8 | 9.8 | 0.0300 | 2022-01-06 |
CVE-2026-116692 | 7.8 | 9.8 | 0.0371 | 2026-10-27 |
CVE-2023-6943 UPD | 7.7 | 9.8 | 0.0195 | 2024-01-30 |
CVE-2019-25782 | 7.7 | 9.8 | 0.0220 | 2026-11-18 |
CVE-2025-34393 UPD | 7.6 | 9.8 | 0.0171 | 2025-12-10 |
CVE-2026-134880 | 7.6 | 9.8 | 0.0136 | 2026-11-24 |
CVE-2025-53693 UPD | 7.5 | 9.8 | 0.0106 | 2025-09-03 |
CVE-2026-42027 UPD | 7.5 | 9.8 | 0.0127 | 2026-05-04 |
CVE-2026-46562 | 7.5 | 9.8 | 0.0098 | 2026-07-16 |
CVE-2026-44416 UPD | 7.5 | 9.8 | 0.0124 | 2026-08-10 |
CVE-2026-62379 UPD | 7.5 | 9.8 | 0.0107 | 2026-09-15 |
CVE-2026-55107 | 7.5 | 10.0 | 0.0091 | 2026-09-30 |
CVE-2026-16306 | 7.5 | 9.8 | 0.0098 | 2026-11-02 |
CVE-2024-4990 UPD | 7.4 | 9.1 | 0.0345 | 2025-03-20 |
CVE-2026-40008 UPD | 7.4 | 9.8 | 0.0060 | 2026-07-10 |
CVE-2026-55559 UPD | 7.4 | 9.8 | 0.0078 | 2026-08-28 |
CVE-2026-41871 | 7.4 | 9.8 | 0.0075 | 2026-09-09 |
CVE-2026-93762 | 7.4 | 9.8 | 0.0057 | 2026-09-18 |
CVE-2026-71253 | 7.4 | 9.8 | 0.0070 | 2026-10-19 |