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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | 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, 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0, < 9.0.5 | 9.0.5 | GHSA-6rxj-58jh-436r |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, < 8.5.28 | 8.5.28 | GHSA-6rxj-58jh-436r |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.0.0, < 8.0.51 | 8.0.51 | GHSA-6rxj-58jh-436r |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 7.0.0, < 7.0.86 | 7.0.86 | GHSA-6rxj-58jh-436r |
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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | from 7.0.0 through 7.0.84 | application |
| apache | tomcat | from 8.0.0 through 8.0.49 | application |
| apache | tomcat | from 8.5.0 through 8.5.27 | application |
| apache | tomcat | from 9.0.0 through 9.0.4 | application |
| apache | tomcat | 8.0.0 | application |
| apache | tomcat | 9.0.0 | application |
| redhat | jboss enterprise application platform | 6 | application |
| redhat | jboss enterprise application platform | 6.4 | application |
| redhat | jboss enterprise web server | 3.0.0 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 17.10 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| oracle | fusion middleware | 12.2.1.3.0 | application |
| oracle | hospitality guest access | 4.2.0 | application |
| oracle | hospitality guest access | 4.2.1 | application |
| oracle | micros relate crm software | 11.4 | application |
| oracle | secure global desktop | 5.3 | application |
| oracle | secure global desktop | 5.4 | application |
| redhat | jboss middleware | 1 | application |
NVD analysis (status Modified), last modified October 15, 2026, 18:17 UTC.
How severe is CVE-2018-1304?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
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?
- RHSA-2018:1448 vendor-advisory, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20180706-0001/ x_refsource_CONFIRM
- 103170 vdb-entry, x_refsource_BID
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html x_refsource_CONFIRM
- RHSA-2018:1449 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1450 vendor-advisory, x_refsource_REDHAT
- https://lists.apache.org/thread.html/b1d7e2425d6fd2cebed40d318f9365b44546077e10949b01b1f8a0fb%40%3Cannounce.tomcat.apache.org%3E x_refsource_MISC
- DSA-4281 vendor-advisory, x_refsource_DEBIAN
- RHSA-2018:2939 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:0465 vendor-advisory, x_refsource_REDHAT
- USN-3665-1 vendor-advisory, x_refsource_UBUNTU
- 1040427 vdb-entry, x_refsource_SECTRACK
- RHSA-2018:1320 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1451 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180306 [SECURITY] [DLA 1301-1] tomcat7 security update mailing-list, x_refsource_MLIST
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html x_refsource_CONFIRM
- [debian-lts-announce] 20180729 [SECURITY] [DLA 1450-1] tomcat8 security update mailing-list, x_refsource_MLIST
- RHSA-2018:0466 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1447 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180627 [SECURITY] [DLA 1400-1] tomcat7 security update mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [24/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [25/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [22/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [23/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [24/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [17/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857496 [3/4] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190413 svn commit: r1857494 [16/20] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [18/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [17/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190415 svn commit: r1857582 [19/22] - in /tomcat/site/trunk: docs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html x_refsource_MISC
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
- RHSA-2019:2205 vendor-advisory, x_refsource_REDHAT
- [tomcat-dev] 20200203 svn commit: r1873527 [24/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [25/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [27/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [28/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [29/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
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?
- Apr 9, 2026CVE-2026-34486 Apache Software Foundation Apache Tomcat: sensitive data not encrypted exploited
- Mar 10, 2025CVE-2025-24813 Apache Software Foundation Apache Tomcat: path Equivalence: 'file.name' (Internal Dot) exploited
- Oct 3, 2017CVE-2017-12617 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Sep 19, 2017CVE-2017-12615 Apache Software Foundation Apache Tomcat: unrestricted file upload exploited
- Apr 6, 2017CVE-2016-8735 Apache Software Foundation Apache Tomcat: improper access control exploited
- Nov 19, 2026CVE-2026-121649 Apache Software Foundation Apache Tomcat: use of Cache Containing Sensitive Information
- Nov 19, 2026CVE-2026-133325 Apache Software Foundation Apache Tomcat: key Exchange without Entity Authentication
- Nov 19, 2026CVE-2026-118436 Apache Software Foundation Apache Tomcat: denial of service (resources allocated without limits)
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.