KeygraphLabs · CVE MCP

CVE-2016-5018 · apache

CVE-2016-5018

In Apache Tomcat 9.0.0.M1 to 9.0.0.M9, 8.5.0 to 8.5.4, 8.0.0.RC1 to 8.0.36, 7.0.0 to 7.0.70 and 6.0.0 to 6.0.45 a malicious web application was able to bypass a configured SecurityManager via a Tomcat utility method that was accessible to web applications.

Published 2017-08-10, last changed 2026-10-08.

CVSS
9.1
critical, from NVD
EPSS
49.3%
percentile 98.9%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-47892

How to fix

Upgrade to a fixed version: org.apache.tomcat:tomcat-jasper 7.0.72, 8.0.37, 8.5.5, 9.0.0.M10 (Maven); org.apache.tomcat:jasper 6.0.47 (Maven); org.apache.tomcat.embed:tomcat-embed-jasper 6.0.47, 7.0.72, 8.0.37, 8.5.5, 9.0.0.M10 (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 648122fef8, 890a2f681e, a6b1ebc246. Functions changed by the fix: run, introspecthelper, internalIntrospecthelper. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-08-10Published
2022-05-13Package advisory GHSA-4v3g-g84w-hv7r
2026-10-08Record last changed
2026-11-30EPSS when our history starts: 49.0%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-4v3g-g84w-hv7rorg.apache.tomcat:tomcat-jasper (Maven)9.0.0.M10
GHSA-4v3g-g84w-hv7rorg.apache.tomcat:tomcat-jasper (Maven)8.5.5
GHSA-4v3g-g84w-hv7rorg.apache.tomcat:tomcat-jasper (Maven)8.0.37
GHSA-4v3g-g84w-hv7rorg.apache.tomcat:tomcat-jasper (Maven)7.0.72
GHSA-4v3g-g84w-hv7rorg.apache.tomcat:jasper (Maven)6.0.47

Also known as: GHSA-4v3g-g84w-hv7r

Related

CVEPublishedCVSSSummary
CVE-2024-523182024-11-186.1Apache Tomcat: Incorrect JSP tag recycling leads to XSS
CVE-2014-01192014-05-314.3same package: org.apache.tomcat:tomcat-jasper (Maven)

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-5018, or call /api/v1/vulnerabilities/CVE-2016-5018. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org