KeygraphLabs · CVE MCP

CVE-2016-5388 · redhat

CVE-2016-5388

Apache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.

Published 2016-07-19, last changed 2026-10-15. Weakness: CWE-284.

CVSS
8.1
high, from NVD
EPSS
50.9%
percentile 99.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.apache.tomcat:tomcat-catalina 7.0.72, 8.5.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 apache/tomcat by 1b91e91194, 880250877b, fb3569fbb9. Functions changed by the fix: init, setCGIEnvironment. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2016-07-19Published
2022-05-13Package advisory GHSA-v646-rx6w-r3qq
2026-10-15Record last changed
2026-11-30EPSS when our history starts: 50.9%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-v646-rx6w-r3qqorg.apache.tomcat:tomcat-catalina (Maven)7.0.72
GHSA-v646-rx6w-r3qqorg.apache.tomcat:tomcat-catalina (Maven)8.5.5

Also known as: GHSA-v646-rx6w-r3qq

Related

CVEPublishedCVSSSummary
CVE-2026-685252026-08-259.1Apache Tomcat: Redirect after FORM auth may bypass method specific constraints
CVE-2026-659052026-08-259.8Apache Tomcat: Limited replay attack possible with DIGEST authentication
CVE-2026-651822026-08-259.1Apache Tomcat: Bypass longest prefix security constraint
CVE-2026-590832026-07-149.1Apache Tomcat: Incorrect URL decoding in RewriteValve may allow security control bypass
CVE-2026-559572026-06-297.3Apache Tomcat: Authentication bypass with JNDIRealm and GSSAPI authenticated bind
CVE-2026-559562026-06-296.5Apache Tomcat: Security constraints for default servlet ignored method
CVE-2026-534042026-06-297.3Apache Tomcat: Bad ornext processing in RewriteValve
CVE-2026-435152026-05-129.1Apache 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-2016-5388, or call /api/v1/vulnerabilities/CVE-2016-5388. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org