CVE-2026-49270: Activemq Unsafe Factoryfinder

Instantiating a `FactoryFinder` without strict type validation allows arbitrary classpath classes to be loaded and initialized. If an attacker controls the lookup key or path, they can instantiate completely unrelated 'gadget' classes, leading to Remote Code Execution or other severe impacts. Update to use the constructor that accepts `requiredType` and `all

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-49270-activemq-unsafe-factoryfinder --engine opengrep

Description

Instantiating a `FactoryFinder` without strict type validation allows arbitrary classpath classes to be loaded and initialized. If an attacker controls the lookup key or path, they can instantiate completely unrelated 'gadget' classes, leading to Remote Code Execution or other severe impacts. Update to use the constructor that accepts `requiredType` and `all