CVEBrief

Home / Apache Software Foundation / Apache Tomcat / CVE-2018-1304

CVE-2018-1304: is it exploited, and which versions of Apache Software Foundation Apache Tomcat are affected and fixed?

CVE-2018-1304 is an Information Disclosure vulnerability in Apache Software Foundation Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.5, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.28, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0 before 8.0.51 and 1 more (GitHub advisory GHSA-6rxj-58jh-436r). Fixed in 9.0.5, 8.5.28, 8.0.51 and 7.0.86 (GitHub advisory GHSA-6rxj-58jh-436r). Severity: Medium (5.9, CVSS 3.0, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:34 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 07:38 UTC
Affected
org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.5, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.28, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0 before 8.0.51 and 1 more
GitHub advisory GHSA-6rxj-58jh-436r
Fixed in
9.0.5, 8.5.28, 8.0.51 and 7.0.86
GitHub advisory GHSA-6rxj-58jh-436r
Severity
Medium 5.9
CVSS 3.0 from NVD
Exploit odds (EPSS)
17.1% in 30 days
higher than 97% of CVEs; FIRST, December 2, 2026

What is CVE-2018-1304?

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

From the CVE record by apache, last updated October 15, 2026, 17:31 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache TomcatApache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49, 7.0.0 to

As the CVE record by apache states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 23, 2024. Summary: Apache Tomcat unauthorized access vulnerability.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachetomcatfrom 7.0.0 through 7.0.84application
apachetomcatfrom 8.0.0 through 8.0.49application
apachetomcatfrom 8.5.0 through 8.5.27application
apachetomcatfrom 9.0.0 through 9.0.4application
apachetomcat8.0.0application
apachetomcat9.0.0application
redhatjboss enterprise application platform6application
redhatjboss enterprise application platform6.4application
redhatjboss enterprise web server3.0.0application
debiandebian linux7.0operating system
debiandebian linux8.0operating system
debiandebian linux9.0operating system
canonicalubuntu linux14.04operating system
canonicalubuntu linux16.04operating system
canonicalubuntu linux17.10operating system
canonicalubuntu linux18.04operating system
oraclefusion middleware12.2.1.3.0application
oraclehospitality guest access4.2.0application
oraclehospitality guest access4.2.1application
oraclemicros relate crm software11.4application
oraclesecure global desktop5.3application
oraclesecure global desktop5.4application
redhatjboss middleware1application

NVD analysis (status Modified), last modified October 15, 2026, 18:17 UTC.

How severe is CVE-2018-1304?

ScoreVersionVectorSource
Medium 5.9CVSS 3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD
Medium 4.3CVSS 2.0AV:N/AC:M/Au:N/C:P/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2018-1304 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 15, 2026)
EPSS
17.1% probability of exploitation activity in the next 30 days, percentile 97.2 (FIRST EPSS, scores of December 2, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 7, 2017
Published
February 28, 2018, 20:00 UTC
CVE record updated
October 15, 2026, 17:31 UTC by apache
NVD
Modified, last modified October 15, 2026, 18:17 UTC
Last checked
CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:34 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Tomcat?

Every CVE in Apache Tomcat

Questions about CVE-2018-1304

Is CVE-2018-1304 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 17.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Apache Software Foundation Apache Tomcat are affected by CVE-2018-1304?

org.apache.tomcat.embed:tomcat-embed-core from 9.0.0 before 9.0.5, org.apache.tomcat.embed:tomcat-embed-core from 8.5.0 before 8.5.28, org.apache.tomcat.embed:tomcat-embed-core from 8.0.0 before 8.0.51 and org.apache.tomcat.embed:tomcat-embed-core from 7.0.0 before 7.0.86, per the GitHub advisory GHSA-6rxj-58jh-436r. The tables above give every range the sources list.

Which version fixes CVE-2018-1304?

9.0.5, 8.5.28, 8.0.51 and 7.0.86, per the GitHub advisory GHSA-6rxj-58jh-436r. Check the vendor's advisory before you rely on it.

How severe is CVE-2018-1304?

Medium (5.9, CVSS 3.0, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2018-1304?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.