# Spring Security and Spring Framework may not recognize certain paths that should be protected

Advisory record · `GHSA-8crv-49fr-2h6j`

- **Identifiers:** `GHSA-8crv-49fr-2h6j` · `CVE-2016-5007`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Published:** 17 Oct 2018
- **Updated:** 2 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2018, 20:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.springframework:spring-core` (Maven): affected `<4.3.1`; fixed in `4.3.1`
- `org.springframework.security:spring-security-core` (Maven): affected `<4.1.1`; fixed in `4.1.1`

## Machine-written summary

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

> Spring Security (spring-security-core before 4.1.1) and Spring Framework (spring-core before 4.3.1) can fail to recognize some URL paths as protected, because their URL pattern matching differs, for example in how space is trimmed from path segments. An attacker who can send requests to the application may be able to reach Spring MVC controllers that should require authorization. The source gives few details about specific exploitation. Upgrade spring-security-core to 4.1.1 or later and spring-core to 4.3.1 or later.

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

- 7.5 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.028, the 86th percentile, on 19 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-8crv-49fr-2h6j)

## Sources

- [GitHub Advisory Database: GHSA-8crv-49fr-2h6j](https://github.com/advisories/GHSA-8crv-49fr-2h6j)
- [OSV: GHSA-8crv-49fr-2h6j](https://osv.dev/vulnerability/GHSA-8crv-49fr-2h6j)
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5007>
- <https://github.com/spring-projects/spring-security/issues/3964>
- <https://github.com/spring-projects/spring-framework/commit/a30ab30e4e9ae021fdda04e9abfc228476b846b5>
- <https://github.com/spring-projects/spring-security/commit/e4c13e3c0ee7f06f59d3b43ca6734215ad7d8974>
- <https://github.com/advisories/GHSA-8crv-49fr-2h6j>
- <https://pivotal.io/security/cve-2016-5007>
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html>
- <http://www.securityfocus.com/bid/91687>

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-8crv-49fr-2h6j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8crv-49fr-2h6j/>. Everything for agents: <https://agentprime.io/llms.txt>.
