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. Users of IBM WebSphere Application Server 8.5.x are known to be affected. Users of other containers that implement the Servlet specification may be affected.

Published: 2017-01-06 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-9879 is rated Moderate Risk (47.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.32%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2016-9879

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 1.10% 0.32% -0.78%
2 2025-03-29 0.32% 1.10% +0.78%
3 2025-03-17 0.32%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-9879

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2016-9879

GitHub Security Advisory for CVE-2016-9879

GHSA-v35c-49j6-q8hq · Severity: high · Ecosystem: maven — Security Constraint Bypass in Spring Security

OS Trackers for CVE-2016-9879

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2016-9879

Affected software / configurations for CVE-2016-9879

Vendor Product Version Raw CPE
vmware spring_security 3.2.0 cpe:2.3:a:vmware:spring_security:3.2.0:*:*:*:*:*:*:*
vmware spring_security 3.2.1 cpe:2.3:a:vmware:spring_security:3.2.1:*:*:*:*:*:*:*
vmware spring_security 3.2.2 cpe:2.3:a:vmware:spring_security:3.2.2:*:*:*:*:*:*:*
vmware spring_security 3.2.3 cpe:2.3:a:vmware:spring_security:3.2.3:*:*:*:*:*:*:*
vmware spring_security 3.2.4 cpe:2.3:a:vmware:spring_security:3.2.4:*:*:*:*:*:*:*
vmware spring_security 3.2.5 cpe:2.3:a:vmware:spring_security:3.2.5:*:*:*:*:*:*:*
vmware spring_security 3.2.6 cpe:2.3:a:vmware:spring_security:3.2.6:*:*:*:*:*:*:*
vmware spring_security 3.2.7 cpe:2.3:a:vmware:spring_security:3.2.7:*:*:*:*:*:*:*
vmware spring_security 3.2.8 cpe:2.3:a:vmware:spring_security:3.2.8:*:*:*:*:*:*:*
vmware spring_security 3.2.9 cpe:2.3:a:vmware:spring_security:3.2.9:*:*:*:*:*:*:*
vmware spring_security 4.1.0 cpe:2.3:a:vmware:spring_security:4.1.0:*:*:*:*:*:*:*
vmware spring_security 4.1.1 cpe:2.3:a:vmware:spring_security:4.1.1:*:*:*:*:*:*:*
vmware spring_security 4.1.2 cpe:2.3:a:vmware:spring_security:4.1.2:*:*:*:*:*:*:*
vmware spring_security 4.1.3 cpe:2.3:a:vmware:spring_security:4.1.3:*:*:*:*:*:*:*
vmware spring_security 4.2.0 cpe:2.3:a:vmware:spring_security:4.2.0:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.0.0 cpe:2.3:a:ibm:websphere_application_server:8.5.0.0:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.0.1 cpe:2.3:a:ibm:websphere_application_server:8.5.0.1:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.0.2 cpe:2.3:a:ibm:websphere_application_server:8.5.0.2:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.0 cpe:2.3:a:ibm:websphere_application_server:8.5.5.0:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.1 cpe:2.3:a:ibm:websphere_application_server:8.5.5.1:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.2 cpe:2.3:a:ibm:websphere_application_server:8.5.5.2:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.3 cpe:2.3:a:ibm:websphere_application_server:8.5.5.3:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.4 cpe:2.3:a:ibm:websphere_application_server:8.5.5.4:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.5 cpe:2.3:a:ibm:websphere_application_server:8.5.5.5:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.6 cpe:2.3:a:ibm:websphere_application_server:8.5.5.6:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.7 cpe:2.3:a:ibm:websphere_application_server:8.5.5.7:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.8 cpe:2.3:a:ibm:websphere_application_server:8.5.5.8:*:*:*:*:*:*:*
ibm websphere_application_server 8.5.5.9 cpe:2.3:a:ibm:websphere_application_server:8.5.5.9:*:*:*:*:*:*:*

References for CVE-2016-9879

cvelogic Threat Intelligence