Common Weakness Enumeration

CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Description

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.

Associated Reviewed Advisories

Vulnerabilities classified under CWE-470 ordered by modification date.

25 reviewed records
Advisory ID NVD ID Severity PURLs Summary Last Modified
GHSA-5jjj-9xc3-rm56 CVE-2026-106440 HIGH

Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method

2026-10-07
GHSA-mwj6-rfh8-7qf4 CVE-2026-106439 HIGH

Hydra: Mutable instantiate policy sets allow target blocklist bypass

2026-10-07
GHSA-4488-j8vj-vqqv CVE-2026-106510 HIGH

Backstage: Remote code execution via crafted markdown_extensions in TechDocs mkdocs.yml

2026-10-07
GHSA-cwxj-rr6w-m6w7 CVE-2026-105782 HIGH

Scrapy: Arbitrary Module Import via Referrer-Policy Header in RefererMiddleware

2026-10-05
GHSA-wjgm-6hv5-3cvf CVE-2026-19032 MODERATE

jackson-databind: Path Deserialization Missing Scheme Allowlist for FileSystemProvider Resolution

2026-09-28
GHSA-2w2h-gwwj-fh3q CVE-2026-57284 MODERATE

Jenkins Pipeline: Groovy Plugin vulnerable to unrestricted instantiation of types

2026-09-25
GHSA-qqmf-gpg7-g8gw CVE-2026-58659 HIGH

PyTorch Lightning allows arbitrary code execution through checkpoint _instantiator hyperparameters

2026-09-24
GHSA-7pgq-cr25-xvc8 CVE-2026-69088 HIGH -

Grav: Incomplete callable validation in blueprint dynamic fields allows arbitrary static method invocation and file disclosure

2026-09-17
GHSA-c4wf-2xxc-68qm CVE-2026-65608 HIGH -

Grav: FlexDirectory::dynamicDataField() executes arbitrary callables from blueprint data with no validation

2026-09-17
GHSA-pp9r-ppc4-25w4 - HIGH -

Duplicate Advisory: Grav: FlexDirectory::dynamicDataField() executes arbitrary callables from blueprint data with no validation

2026-09-17
GHSA-hp3v-5vw7-fx9w CVE-2026-76825 HIGH

RestrictedPython vulnerable to sandbox escape via string.Formatter field resolution

2026-09-17
GHSA-7prp-2623-8g45 CVE-2026-61599 HIGH

djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path

2026-09-16
GHSA-cx4m-2p55-rw7j CVE-2026-42027 CRITICAL

Apache OpenNLP ExtensionLoader Vulnerable to Arbitrary Class Instantiation via Model Manifest

2026-09-09
GHSA-73mf-m39p-wpm9 CVE-2026-55559 CRITICAL

Yamcs vulnerable to Remote Code Execution via instance-template argument YAML injection (createInstance)

2026-08-28
GHSA-p46m-g734-vpc4 CVE-2026-54614 MODERATE -

cakephp/debug_kit: MailPreview contains unsafe reflection

2026-08-26
GHSA-2cp2-2r3c-7p7r CVE-2026-68508 HIGH

Hydra: hydra.utils.instantiate with untrusted config can lead to code execution

2026-08-21
GHSA-7pwq-q9jf-539h CVE-2026-55107 CRITICAL

kobako Sandbox Escape: guest eval reaches host RCE via method_missing → public_send (any bound Service)

2026-08-18
GHSA-6g32-pxv4-2wfj CVE-2026-63337 HIGH

RabbitMQ Java client: Unvalidated Class.forName in JSON-RPC ProcedureDescription enables arbitrary class loading

2026-08-18
GHSA-h84g-69h7-mw6v CVE-2026-55153 HIGH

mchange-commons-java contains elements susceptible to abuse via JNDI injection and "deserialization gadgets"

2026-08-14
GHSA-j2vp-f2pv-5rj4 CVE-2026-64663 MODERATE -

Statamic: Unsafe method invocation via Antlers template resolution allows data destruction

2026-08-06
GHSA-c8q4-9h32-2ww8 CVE-2026-44795 HIGH

Spinnaker has non-safe yaml deserialization, allowing RCE when using specific types

2026-08-05
GHSA-wg5r-wc3x-39vc CVE-2026-62379 CRITICAL

OpenAM: Unauthenticated Remote Code Execution via Class.forName in AuthXMLUtils.createCustomCallback

2026-08-03
GHSA-337j-9hxr-rhxg CVE-2026-53666 MODERATE

React Router: Arbitrary Constructor Injection via deserializeErrors() in React Router SSR Hydration

2026-07-23
GHSA-c2rv-hwqm-wjpg CVE-2026-46718 MODERATE

Apache Calcite is Vulnerable to Use of Externally-Controlled Input to Select Classes

2026-07-09
GHSA-x746-7m8f-x49c CVE-2026-48817 MODERATE

Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`

2026-07-09