CVE-2012-5886 · mitre
CVE-2012-5886
The HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 caches information about the authenticated user within the session state, which makes it easier for remote attackers to bypass authentication via vectors related to the session ID.
Published 2012-11-17, last changed 2026-10-09. Weakness: CWE-287.
How to fix
Upgrade to a fixed version: org.apache.tomcat:tomcat-catalina 5.5.36, 6.0.36, 7.0.30 (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
| 2012-11-17 | Published |
| 2022-05-17 | Package advisory GHSA-9xrj-439h-62hg |
| 2026-10-09 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 8.77% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-9xrj-439h-62hg | org.apache.tomcat:tomcat-catalina (Maven) | 5.5.36 |
| GHSA-9xrj-439h-62hg | org.apache.tomcat:tomcat-catalina (Maven) | 6.0.36 |
| GHSA-9xrj-439h-62hg | org.apache.tomcat:tomcat-catalina (Maven) | 7.0.30 |
Also known as: GHSA-9xrj-439h-62hg
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-59083 | 2026-07-14 | 9.1 | Apache Tomcat: Incorrect URL decoding in RewriteValve may allow security control bypass |
| 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-53404 | 2026-06-29 | 7.3 | Apache Tomcat: Bad ornext processing in RewriteValve |
| CVE-2026-43515 | 2026-05-12 | 9.1 | Apache Tomcat: Security constraints not correctly applied |
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-2012-5886, or call /api/v1/vulnerabilities/CVE-2012-5886. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.