CVE-2026-45505: Activemq Unconstrained Factory Finder

Instantiating FactoryFinder without specifying a required type and allowed implementations enables arbitrary class instantiation via reflection if an attacker can control the factory lookup key. Provide a `requiredType` and `allowedImpls` strict allowlist using the updated `FactoryFinder` constructor.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-45505-activemq-unconstrained-factory-finder --engine opengrep

Description

Instantiating FactoryFinder without specifying a required type and allowed implementations enables arbitrary class instantiation via reflection if an attacker can control the factory lookup key. Provide a `requiredType` and `allowedImpls` strict allowlist using the updated `FactoryFinder` constructor.