KeygraphLabs · CVE MCP

CVE-2016-5007 · dell

CVE-2016-5007

Both Spring Security 3.2.x, 4.0.x, 4.1.0 and the Spring Framework 3.2.x, 4.0.x, 4.1.x, 4.2.x rely on URL pattern mappings for authorization and for mapping requests to controllers respectively. Differences in the strictness of the pattern matching mechanisms, for example with regards to space trimming in path segments, can lead Spring Security to not recognize certain paths as not protected that are in fact mapped to Spring MVC controllers that should be protected. The problem is compounded by the fact that the Spring Framework provides richer features with regards to pattern matching as well as by the fact that pattern matching in each Spring Security and the Spring Framework can easily be customized creating additional differences.

Published 2017-05-25, last changed 2026-06-17. Weakness: CWE-264.

CVSS
7.5
high, from NVD
EPSS
2.80%
percentile 87.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.springframework:spring-core 4.3.1 (Maven); org.springframework.security:spring-security-core 4.1.1 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-05-25Published
2018-10-17Package advisory GHSA-8crv-49fr-2h6j
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 2.80%

Affected packages

AdvisoryPackageFixed in
GHSA-8crv-49fr-2h6jorg.springframework:spring-core (Maven)4.3.1
GHSA-8crv-49fr-2h6jorg.springframework.security:spring-security-core (Maven)4.1.1

Also known as: GHSA-8crv-49fr-2h6j

Related

CVEPublishedCVSSSummary
CVE-2026-418482026-06-097.5Spring Framework Denial of Service via AntPathMatcher
CVE-2025-412492025-09-167.5CVE-2025-41249: Spring Framework Annotation Detection Vulnerability
CVE-2024-222332024-01-227.5CVE-2024-22233: Spring Framework server Web DoS Vulnerability
CVE-2021-220602022-01-104.3same package: org.springframework:spring-core (Maven)
CVE-2021-220962021-10-284.3same package: org.springframework:spring-core (Maven)
CVE-2018-157562018-10-187.5DoS Attack via Range Requests
CVE-2018-110402018-06-257.5same package: org.springframework:spring-core (Maven)
CVE-2018-12582018-05-118.8same package: org.springframework:spring-core (Maven)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-5007, or call /api/v1/vulnerabilities/CVE-2016-5007. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org