Apache Commons Collections Deserialization Flaw Enables Remote Code Execution
Vulnerability Disclosure · 5 sources · Updated 3mo ago · First seen Aug 29, 2026

Apache Commons Collections contained a critical unsafe-deserialization vulnerability, CVE-2015-7501, in its serializable InvokerTransformer component. An attacker able to supply crafted serialized Java objects to exposed endpoints—including JMX, RMI, or remote EJB services—could chain vulnerable classes with sun.reflect.annotation.AnnotationInvocationHandler to execute arbitrary code under the permissions of the affected Java application. The flaw affected Commons Collections 3.0 and 4.0 and exposed products and applications using the library, including WebLogic, WebSphere, JBoss, Jenkins, and OpenNMS.
Apache addressed the issue in Commons Collections versions 3.2.2 and 4.1 by preventing InvokerTransformer transformations following deserialization. Red Hat also issued a critical update for JBoss Operations Network 3.3.4, directing customers to shut down and patch every server individually, including each node in high-availability deployments. Organizations should identify applications that deserialize untrusted Java objects and either upgrade the library or apply vendor-provided patches.
Why it matters
Impact assessment
CVE-2015-7501 enables remote code execution in Java applications that both include a vulnerable Apache Commons Collections release and expose a service that deserializes attacker-controlled Java objects. Successful exploitation runs code with the affected application's privileges, enabling server takeover, data theft, lateral movement, and service disruption.
- Affected library versions: Apache Commons Collections 3.0 through 3.2.1 and 4.0.
- Affected application categories: Java applications exposing Java deserialization through JMX, RMI, remote EJB, or comparable custom endpoints.
- Named potentially exposed products include Oracle WebLogic, IBM WebSphere, Red Hat JBoss, Jenkins, OpenNMS, and applications that bundle the vulnerable library.
- Red Hat rated the JBoss Operations Network 3.3.4 issue as Critical.
- Exposure is configuration-dependent rather than universal: library presence alone is insufficient; an attacker must reach an endpoint that accepts serialized Java objects.
- The supplied references establish a publicly documented and historically widely weaponized deserialization gadget chain, but do not report a specific current exploitation incident or provide campaign attribution.
Supporting facts
- Entity names: Apache Commons Collections, Red Hat JBoss Operations Network, WebLogic, WebSphere, JBoss, Jenkins, OpenNMS.
- Affected Red Hat product: JBoss Operations Network 3.3.4 obtained through the Red Hat Customer Portal.
- Execution context: privileges of the Java application loading vulnerable Commons Collections code.
- Business consequences: compromise of application servers may expose hosted application data and credentials, interrupt management/automation services, and create a foothold into adjacent infrastructure.


