CVE-2015-5345 · redhat
CVE-2015-5345
The Mapper component in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.68, 8.x before 8.0.30, and 9.x before 9.0.0.M2 processes redirects before considering security constraints and Filters, which allows remote attackers to determine the existence of a directory via a URL that lacks a trailing / (slash) character.
Published 2016-02-25, last changed 2026-10-14. Weakness: CWE-22.
How to fix
Upgrade to a fixed version: org.apache.tomcat:tomcat 6.0.45, 7.0.68, 8.0.30, 9.0.0.M2 (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 apache/tomcat by 127d8ea86d, 58c09b6217, 66daa4adc1. Functions changed by the fix: internalMapWrapper, authenticate, getRelativePath, serveResource, doDirectoryRedirect. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-02-25 | Published |
| 2022-05-14 | Package advisory GHSA-rh8q-vjgf-gf74 |
| 2026-10-14 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 18.4% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-rh8q-vjgf-gf74 | org.apache.tomcat:tomcat (Maven) | 9.0.0.M2 |
| GHSA-rh8q-vjgf-gf74 | org.apache.tomcat:tomcat (Maven) | 8.0.30 |
| GHSA-rh8q-vjgf-gf74 | org.apache.tomcat:tomcat (Maven) | 7.0.68 |
| GHSA-rh8q-vjgf-gf74 | org.apache.tomcat:tomcat (Maven) | 6.0.45 |
Also known as: GHSA-rh8q-vjgf-gf74
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-68525 | 2026-08-25 | 9.1 | Apache Tomcat: Redirect after FORM auth may bypass method specific constraints |
| CVE-2026-65905 | 2026-08-25 | 9.8 | Apache Tomcat: Limited replay attack possible with DIGEST authentication |
| CVE-2026-65182 | 2026-08-25 | 9.1 | Apache Tomcat: Bypass longest prefix security constraint |
| CVE-2026-55957 | 2026-06-29 | 7.3 | Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind |
| CVE-2026-55956 | 2026-06-29 | 6.5 | Apache Tomcat: Security constraints for default servlet ignored method |
| CVE-2026-55955 | 2026-06-29 | 6.5 | Apache Tomcat: EncryptInterceptor not protected against replay attacks |
| CVE-2026-55276 | 2026-06-29 | 9.1 | Apache Tomcat: Logged effective web.xml is incomplete |
| CVE-2026-53404 | 2026-06-29 | 7.3 | Apache Tomcat: Bad ornext processing in RewriteValve |
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-2015-5345, or call /api/v1/vulnerabilities/CVE-2015-5345. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.