KeygraphLabs · CVE MCP

CVE-2018-8014 · apache

CVE-2018-8014

The defaults settings for the CORS filter provided in Apache Tomcat 9.0.0.M1 to 9.0.8, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52, 7.0.41 to 7.0.88 are insecure and enable 'supportsCredentials' for all origins. It is expected that users of the CORS filter will have configured it appropriately for their environment rather than using it in the default configuration. Therefore, it is expected that most users will not be impacted by this issue.

Published 2018-05-16, last changed 2026-10-15. Weakness: CWE-1188.

CVSS
9.8
critical, from NVD
EPSS
20.9%
percentile 97.6%, 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.embed:tomcat-embed-core 7.0.88, 8.0.53, 8.5.32, 9.0.9 (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 d83a76732e, 5877390a96, 60f596a21f. Functions changed by the fix: handleSimpleCORS, parseAndStore. Regression tests: test/org/apache/catalina/filters/TestCorsFilter.java, test/org/apache/catalina/filters/TesterFilterConfigs.java. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2018-05-16Published
2018-10-17Package advisory GHSA-r4x2-3cq5-hqvp
2026-10-15Record last changed
2026-11-30EPSS when our history starts: 20.9%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-r4x2-3cq5-hqvporg.apache.tomcat.embed:tomcat-embed-core (Maven)9.0.9
GHSA-r4x2-3cq5-hqvporg.apache.tomcat.embed:tomcat-embed-core (Maven)8.5.32
GHSA-r4x2-3cq5-hqvporg.apache.tomcat.embed:tomcat-embed-core (Maven)8.0.53
GHSA-r4x2-3cq5-hqvporg.apache.tomcat.embed:tomcat-embed-core (Maven)7.0.88

Also known as: GHSA-r4x2-3cq5-hqvp

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-656372026-08-259.8Apache Tomcat: HTTP/2 no-authority bypass of strict SNI validation - CVE-2026-32990 fix incomplete
CVE-2026-651822026-08-259.1Apache Tomcat: Bypass longest prefix security constraint
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-552762026-06-299.1Apache Tomcat: Logged effective web.xml is incomplete
CVE-2026-534042026-06-297.3Apache 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-2018-8014, or call /api/v1/vulnerabilities/CVE-2018-8014. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org