Remote code executionin the org.springframework:spring-core package.
Proof of concept public (GitHub).
Spring Framework 3.0.0 through 3.0.5, Spring Security 3.0.0 through 3.0.5 and 2.0.0 through 2.0.6, and possibly other versions deserialize objects from untrusted sources, which allows remote attackers to bypass intended security restrictions and execute untrusted code by (1) serializing a java.lang.Proxy instance and using InvocationHandler, or (2) accessing internal AOP interfaces, as demonstrated using deserialization of a DefaultListableBeanFactory instance to execute arbitrary commands via the java.lang.Runtime class.
- Upgrade org.springframework:spring-core (Maven) to 3.0.6 or later.
- Upgrade org.springframework.security:spring-security-core (Maven) to 2.0.7, 3.0.6 or later, whichever matches your release line.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Jul 2011CVE ID reserved by redhat.
- 4 Oct 2011Published in the CVE List.
- 31 Jul 2013First public proof of concept on GitHub.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.springsource.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- www.redhat.com vendor-advisory, x_refsource_REDHAT
- exchange.xforce.ibmcloud.com vdb-entry, x_refsource_XF
- securityreason.com third-party-advisory, x_refsource_SREASON
- osvdb.org vdb-entry, x_refsource_OSVDB
- web.archive.org x_refsource_MISC
Patchminder. CVE-2011-2894: Remote code execution in the org.springframework:spring-core package. https://patchminder.com/cve/cve-2011-2894/ (accessed 5 December 2026).