Vulnerabilityin Pivotal Spring Security.
No public exploit found; not on exploited lists.
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.
- Upgrade org.springframework:spring-core (Maven) to 4.3.1 or later.
- Upgrade org.springframework.security:spring-security-core (Maven) to 4.1.1 or later.
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
- 24 May 2016CVE ID reserved by dell.
- 25 May 2017Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
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
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Spring Security vulnerabilities
- www.oracle.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- pivotal.io x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2016-5007: Vulnerability in Pivotal Spring Security. https://patchminder.com/cve/cve-2016-5007/ (accessed 5 December 2026).