Home / Pivotal / Spring Security / CVE-2016-5007
CVE-2016-5007: is it exploited, and which versions of Pivotal Spring Security are affected and fixed?
CVE-2016-5007 is a Security Control Bypass vulnerability in Pivotal Spring Security. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.springframework:spring-core before 4.3.1 and org.springframework.security:spring-security-core before 4.1.1 (GitHub advisory GHSA-8crv-49fr-2h6j). Fixed in 4.3.1 and 4.1.1 (GitHub advisory GHSA-8crv-49fr-2h6j). Severity: High (7.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:41 UTC.
What is 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.
From the CVE record by dell, last updated August 6, 2024, 00:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Pivotal | Spring Security | 3.2.x 4.0.x 4.1.0 | |
| Pivotal | Spring Framework | 3.2.x 4.0.x 4.1.x 4.2.x older unsupported versions are also affected |
As the CVE record by dell states it, last updated August 6, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework:spring-core | < 4.3.1 | 4.3.1 | GHSA-8crv-49fr-2h6j |
| Maven | org.springframework.security:spring-security-core | < 4.1.1 | 4.1.1 | GHSA-8crv-49fr-2h6j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 5, 2024. Summary: Spring Security and Spring Framework may not recognize certain paths that should be protected.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pivotal software | spring framework | 3.2.0 | application |
| pivotal software | spring framework | 4.0.0 | application |
| pivotal software | spring framework | 4.1.0 | application |
| pivotal software | spring framework | 4.2.0 | application |
| vmware | spring framework | 3.2.1 | application |
| vmware | spring framework | 3.2.2 | application |
| vmware | spring framework | 3.2.3 | application |
| vmware | spring framework | 3.2.4 | application |
| vmware | spring framework | 3.2.5 | application |
| vmware | spring framework | 3.2.6 | application |
| vmware | spring framework | 3.2.7 | application |
| vmware | spring framework | 3.2.8 | application |
| vmware | spring framework | 3.2.9 | application |
| vmware | spring framework | 3.2.10 | application |
| vmware | spring framework | 3.2.11 | application |
| vmware | spring framework | 3.2.12 | application |
| vmware | spring framework | 3.2.13 | application |
| vmware | spring framework | 3.2.14 | application |
| vmware | spring framework | 3.2.15 | application |
| vmware | spring framework | 3.2.16 | application |
| vmware | spring framework | 3.2.17 | application |
| vmware | spring framework | 3.2.18 | application |
| vmware | spring framework | 4.0.1 | application |
| vmware | spring framework | 4.0.2 | application |
| vmware | spring framework | 4.0.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:48 UTC.
How severe is CVE-2016-5007?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-5007 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.80% probability of exploitation activity in the next 30 days, percentile 86.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html x_refsource_CONFIRM
- 91687 vdb-entry, x_refsource_BID
- https://pivotal.io/security/cve-2016-5007 x_refsource_CONFIRM
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 24, 2016
- Published
- May 25, 2017, 17:00 UTC
- CVE record updated
- August 6, 2024, 00:46 UTC by dell
- NVD
- Modified, last modified June 17, 2026, 00:48 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:41 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security?
- May 25, 2017CVE-2014-3527 Pivotal Spring Security: authentication bypass (improper authentication)
- May 25, 2017CVE-2014-0097 Pivotal Spring Security: authentication bypass (improper authentication)
Questions about CVE-2016-5007
Is CVE-2016-5007 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 2.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pivotal Spring Security are affected by CVE-2016-5007?
org.springframework:spring-core before 4.3.1 and org.springframework.security:spring-security-core before 4.1.1, per the GitHub advisory GHSA-8crv-49fr-2h6j. The tables above give every range the sources list.
Which version fixes CVE-2016-5007?
4.3.1 and 4.1.1, per the GitHub advisory GHSA-8crv-49fr-2h6j. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-5007?
High (7.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-5007?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.