CVE-2016-9879 · dell
CVE-2016-9879
An issue was discovered in Pivotal Spring Security before 3.2.10, 4.1.x before 4.1.4, and 4.2.x before 4.2.1. Spring Security does not consider URL path parameters when processing security constraints. By adding a URL path parameter with an encoded "/" to a request, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. The unexpected presence of path parameters can cause a constraint to be bypassed. Users of Apache Tomcat (all current versions) are not affected by this vulnerability since Tomcat follows the guidance previously provided by the Servlet Expert group and strips path parameters from the value returned by getContextPath(), getServletPath(), and getPathInfo(). Users of other Servlet containers based on Apache Tomcat may or may not be affected depending on whether or not the handling of path parameters has been modified....
Published 2017-01-06, last changed 2026-06-17. Weakness: CWE-417.
How to fix
Upgrade to a fixed version: org.springframework.security:spring-security-core 3.2.10.RELEASE, 4.1.4.RELEASE, 4.2.1.RELEASE (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2017-01-06 | Published |
| 2020-09-15 | Package advisory GHSA-v35c-49j6-q8hq |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.46% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-v35c-49j6-q8hq | org.springframework.security:spring-security-core (Maven) | 3.2.10.RELEASE |
| GHSA-v35c-49j6-q8hq | org.springframework.security:spring-security-core (Maven) | 4.1.4.RELEASE |
| GHSA-v35c-49j6-q8hq | org.springframework.security:spring-security-core (Maven) | 4.2.1.RELEASE |
Also known as: GHSA-v35c-49j6-q8hq
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-22746 | 2026-04-22 | 3.7 | User Attribute Enumeration when Using DaoAuthenticationProvider |
| CVE-2026-22751 | 2026-04-21 | 4.8 | Spring Security JdbcOneTimeTokenService allows a one-time token to authenticate multiple sessions |
| CVE-2025-22234 | 2026-01-22 | 5.3 | Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation |
| CVE-2025-41248 | 2025-09-16 | 7.5 | CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types |
| CVE-2025-41232 | 2025-05-21 | 9.1 | CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods |
| CVE-2025-22223 | 2025-03-24 | 5.3 | same package: org.springframework.security:spring-security-core (Maven) |
| CVE-2024-38827 | 2024-12-02 | 4.8 | Spring Security Authorization Bypass for Case Sensitive Comparisons |
| CVE-2024-38810 | 2024-08-20 | 7.5 | Missing Authorization When Using @AuthorizeReturnObject |
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-9879, or call /api/v1/vulnerabilities/CVE-2016-9879. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.