patchminder
Proof of concept · GitHub CVE-2011-2894

Remote code executionin the org.springframework:spring-core package.

Published 4 Oct 2011 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Not scored
No source has scored it yet
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 8.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.0.7, 3.0.6
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
org.springframework:spring-core (Maven)
3.0.0 to before 3.0.6
3.0.6
GitHub advisory
org.springframework.security:spring-security-core (Maven)
3.0.0 to before 3.0.6
3.0.6
GitHub advisory
org.springframework.security:spring-security-core (Maven)
2.0.0 to before 2.0.7
2.0.7
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 27 Jul 2011
    CVE ID reserved by redhat.
  2. 4 Oct 2011
    Published in the CVE List.
  3. 31 Jul 2013
    First public proof of concept on GitHub.
  4. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundpwntester/SpringBreaker44 stars · created 31 Jul 2013Exploit PoC for Spring RCE issue (CVE-2011-2894)

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.

Related

Other vulnerabilities in this package

References
Cite this page

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).