CVE-2016-9878 · dell
CVE-2016-9878
An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.
Published 2016-12-29, last changed 2026-06-17. Weakness: CWE-22.
How to fix
Upgrade to a fixed version: org.springframework:spring-webmvc 3.2.18, 4.2.9, 4.3.5 (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.
Where the flaw is in the code
Fixed in spring-projects/spring-framework by 43bf008fbc, a7dc48534e, e2d6e709c3. Functions changed by the fix: doInclude. Regression tests: spring-webmvc/src/test/java/org/springframework/web/servlet/ResourceServletTests.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2016-12-29 | Published |
| 2018-10-04 | Package advisory GHSA-2m8h-fgr8-2q9w |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 4.91% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-2m8h-fgr8-2q9w | org.springframework:spring-webmvc (Maven) | 3.2.18 |
| GHSA-2m8h-fgr8-2q9w | org.springframework:spring-webmvc (Maven) | 4.2.9 |
| GHSA-2m8h-fgr8-2q9w | org.springframework:spring-webmvc (Maven) | 4.3.5 |
Also known as: GHSA-2m8h-fgr8-2q9w
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-47890 | 2026-08-27 | 9.8 | Spring Framework Server Sent Event stream corruption while rendering fragments |
| CVE-2026-47884 | 2026-08-27 | 9.8 | Spring Framework Improper Path Limitation in XsltView |
| CVE-2026-41853 | 2026-06-09 | 5.3 | Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux |
| CVE-2026-41846 | 2026-06-09 | 6.1 | Spring Framework Cross-site Scripting via JSP Form Tags |
| CVE-2026-41845 | 2026-06-09 | 6.1 | Spring Framework Cross-site Scripting via JavaScriptUtils |
| CVE-2026-41844 | 2026-06-09 | 6.1 | Spring Framework Open Redirect in Spring MVC and WebFlux |
| CVE-2026-41843 | 2026-06-09 | 5.9 | Spring Framework Path Traversal via Versioned Static Resources in Spring MVC and WebFlux |
| CVE-2026-41842 | 2026-06-09 | 7.5 | Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux |
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-9878, or call /api/v1/vulnerabilities/CVE-2016-9878. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.