Home / Apache / Tomcat / CVE-2008-5515
CVE-2008-5515: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2008-5515 is a path traversal (reading or writing files outside the intended folder) vulnerability in 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, 08:38 UTC). Affected: org.apache.tomcat:tomcat from 4.1.0 before 4.1.40, org.apache.tomcat:tomcat from 5.5.0 before 5.5.28 and org.apache.tomcat:tomcat from 6.0.0 before 6.0.20 (GitHub advisory GHSA-9737-qmgc-hfr9). Fixed in 4.1.40, 5.5.28 and 6.0.20 (GitHub advisory GHSA-9737-qmgc-hfr9). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-5515?
Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, 6.0.0 through 6.0.18, and possibly earlier versions normalizes the target pathname before filtering the query string when using the RequestDispatcher method, which allows remote attackers to bypass intended access restrictions and conduct directory traversal attacks via .. (dot dot) sequences and the WEB-INF directory in a Request.
From the CVE record by redhat, last updated August 7, 2024, 10:56 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 4.1.0, < 4.1.40 | 4.1.40 | GHSA-9737-qmgc-hfr9 |
| Maven | org.apache.tomcat:tomcat | >= 5.5.0, < 5.5.28 | 5.5.28 | GHSA-9737-qmgc-hfr9 |
| Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.20 | 6.0.20 | GHSA-9737-qmgc-hfr9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 21, 2024. Summary: Directory Traversal in Apache Tomcat.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 4.1.0 | application |
| apache | tomcat | 4.1.1 | application |
| apache | tomcat | 4.1.2 | application |
| apache | tomcat | 4.1.3 | application |
| apache | tomcat | 4.1.10 | application |
| apache | tomcat | 4.1.11 | application |
| apache | tomcat | 4.1.12 | application |
| apache | tomcat | 4.1.13 | application |
| apache | tomcat | 4.1.14 | application |
| apache | tomcat | 4.1.15 | application |
| apache | tomcat | 4.1.16 | application |
| apache | tomcat | 4.1.17 | application |
| apache | tomcat | 4.1.18 | application |
| apache | tomcat | 4.1.19 | application |
| apache | tomcat | 4.1.20 | application |
| apache | tomcat | 4.1.21 | application |
| apache | tomcat | 4.1.22 | application |
| apache | tomcat | 4.1.23 | application |
| apache | tomcat | 4.1.24 | application |
| apache | tomcat | 4.1.25 | application |
| apache | tomcat | 4.1.26 | application |
| apache | tomcat | 4.1.27 | application |
| apache | tomcat | 4.1.28 | application |
| apache | tomcat | 4.1.29 | application |
| apache | tomcat | 4.1.30 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:00 UTC.
How severe is CVE-2008-5515?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/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-2008-5515 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 18.7% probability of exploitation activity in the next 30 days, percentile 97.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- http://tomcat.apache.org/security-4.html x_refsource_CONFIRM
- HPSBMA02535 vendor-advisory, x_refsource_HP
- 39317 third-party-advisory, x_refsource_SECUNIA
- MDVSA-2009:138 vendor-advisory, x_refsource_MANDRIVA
- ADV-2009-1535 vdb-entry, x_refsource_VUPEN
- FEDORA-2009-11356 vendor-advisory, x_refsource_FEDORA
- DSA-2207 vendor-advisory, x_refsource_DEBIAN
- JVN#63832775 third-party-advisory, x_refsource_JVN
- HPSBUX02860 vendor-advisory, x_refsource_HP
- 37460 third-party-advisory, x_refsource_SECUNIA
- ADV-2010-3056 vdb-entry, x_refsource_VUPEN
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- 35788 third-party-advisory, x_refsource_SECUNIA
- 20090610 [SECURITY] UPDATED CVE-2008-5515 RequestDispatcher directory traversal vulnerability mailing-list, x_refsource_BUGTRAQ
- APPLE-SA-2010-03-29-1 vendor-advisory, x_refsource_APPLE
- 35263 vdb-entry, x_refsource_BID
- ADV-2009-1520 vdb-entry, x_refsource_VUPEN
- 44183 third-party-advisory, x_refsource_SECUNIA
- ADV-2009-1856 vdb-entry, x_refsource_VUPEN
- 20090608 [SECURITY] CVE-2008-5515 RequestDispatcher directory traversal vulnerability mailing-list, x_refsource_BUGTRAQ
- MDVSA-2010:176 vendor-advisory, x_refsource_MANDRIVA
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components mailing-list, x_refsource_BUGTRAQ
- 42368 third-party-advisory, x_refsource_SECUNIA
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- 35393 third-party-advisory, x_refsource_SECUNIA
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- SUSE-SR:2010:008 vendor-advisory, x_refsource_SUSE
- FEDORA-2009-11374 vendor-advisory, x_refsource_FEDORA
- oval:org.mitre.oval:def:6445 vdb-entry, signature, x_refsource_OVAL
- 35685 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2009-11352 vendor-advisory, x_refsource_FEDORA
- http://tomcat.apache.org/security-5.html x_refsource_CONFIRM
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-200902e.html x_refsource_CONFIRM
- SUSE-SR:2009:012 vendor-advisory, x_refsource_SUSE
- HPSBUX02579 vendor-advisory, x_refsource_HP
- MDVSA-2009:136 vendor-advisory, x_refsource_MANDRIVA
- 263529 vendor-advisory, x_refsource_SUNALERT
- oval:org.mitre.oval:def:10422 vdb-entry, signature, x_refsource_OVAL
- oval:org.mitre.oval:def:19452 vdb-entry, signature, x_refsource_OVAL
- ADV-2009-3316 vdb-entry, x_refsource_VUPEN
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- December 12, 2008
- Published
- June 16, 2009, 20:26 UTC
- CVE record updated
- August 7, 2024, 10:56 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:00 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tomcat?
- Apr 15, 2019CVE-2019-0232 Apache Tomcat: OS command injection
- Mar 23, 2017CVE-2016-9775 Debian Linux: n/a
- Mar 23, 2017CVE-2016-9774 Debian Linux: link following (a symlink lets an attacker reach other files)
- Oct 13, 2016CVE-2016-6325 Apache Tomcat: n/a
- Oct 13, 2016CVE-2016-5425 Apache Tomcat: insecure default permissions
- Oct 3, 2016CVE-2016-1240 Apache Tomcat: improper input validation
- Jul 19, 2016CVE-2016-5388 Redhat Enterprise Linux Desktop: improper access control
- Jul 4, 2016CVE-2016-3092 Hp Icewall Identity Manager: improper input validation
Questions about CVE-2008-5515
Is CVE-2008-5515 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 18.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2008-5515?
org.apache.tomcat:tomcat from 4.1.0 before 4.1.40, org.apache.tomcat:tomcat from 5.5.0 before 5.5.28 and org.apache.tomcat:tomcat from 6.0.0 before 6.0.20, per the GitHub advisory GHSA-9737-qmgc-hfr9. The tables above give every range the sources list.
Which version fixes CVE-2008-5515?
4.1.40, 5.5.28 and 6.0.20, per the GitHub advisory GHSA-9737-qmgc-hfr9. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-5515?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5515?
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.