# Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data

Advisory record · `GHSA-f866-m9mv-2xr3`

- **Identifiers:** `GHSA-f866-m9mv-2xr3` · `CVE-2011-2894`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-502](https://cwe.mitre.org/data/definitions/502.html)
- **Tags:** [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md)
- **Published:** 14 May 2022
- **Updated:** 3 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 May 2022, 02:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.springframework:spring-core` (Maven): affected `>=3.0.0, <3.0.6`; fixed in `3.0.6`
- `org.springframework.security:spring-security-core` (Maven): affected `>=3.0.0, <3.0.6 || >=2.0.0, <2.0.7`; fixed in `3.0.6`, `2.0.7`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Spring Framework (spring-core) versions 3.0.0 through 3.0.5 and Spring Security (spring-security-core) versions 2.0.0 through 2.0.6 and 3.0.0 through 3.0.5 deserialize objects from untrusted sources. A remote attacker can supply serialized objects to bypass security restrictions and execute arbitrary code. Upgrade spring-core to 3.0.6 and spring-security-core to 3.0.6 or 2.0.7, depending on the branch in use.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.086, the 95th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f866-m9mv-2xr3)

## Sources

- [GitHub Advisory Database: GHSA-f866-m9mv-2xr3](https://github.com/advisories/GHSA-f866-m9mv-2xr3)
- [OSV: GHSA-f866-m9mv-2xr3](https://osv.dev/vulnerability/GHSA-f866-m9mv-2xr3)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-2894>
- <https://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/69687>
- <https://github.com/spring-projects/spring-framework>
- <https://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894>
- <http://osvdb.org/75263>
- <http://securityreason.com/securityalert/8405>
- <http://www.redhat.com/support/errata/RHSA-2011-1334.html>
- <http://www.securityfocus.com/archive/1/519593/100/0/threaded>
- <http://www.securityfocus.com/bid/49536>
- <http://www.springsource.com/security/cve-2011-2894>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f866-m9mv-2xr3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f866-m9mv-2xr3/>. Everything for agents: <https://agentprime.io/llms.txt>.
