← Vulnerability feed

Vulnerability record · CVE-2008-2938 · published 13 August 2008

CVE-2008-2938: Apache Tomcat directory traversal allows arbitrary file read

Apache · Tomcat

Apache Tomcat versions 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 contain a directory traversal flaw that lets remote attackers read arbitrary files when allowLinking and UTF-8 are enabled. It is distinct from CVE-2008-2370, and the vendor advisory lists 6.0.16 as the last affected version despite reports that earlier-than-6.0.18 releases were affected.

4.3 CVSS 2.0 Medium EPSS 100% · top 0.1% CWE-22 · Path traversal
4.3CVSS 2.0 base score
100%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
86References
16 Jun 2026Last modified by NVD

Description

Directory traversal vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16, when allowLinking and UTF-8 are enabled, allows remote attackers to read arbitrary files via encoded directory traversal sequences in the URI, a different vulnerability than CVE-2008-2370. NOTE: versions earlier than 6.0.18 were reported affected, but the vendor advisory lists 6.0.16 as the last affected version.

AV:N/AC:M/Au:N/C:P/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityThe flaw allows unauthenticated remote file disclosure and has an extremely high EPSS score, though it requires specific configuration (allowLinking and UTF-8) and is not in KEV.

What it is

Apache Tomcat versions 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 contain a directory traversal flaw that lets remote attackers read arbitrary files when allowLinking and UTF-8 are enabled. It is distinct from CVE-2008-2370, and the vendor advisory lists 6.0.16 as the last affected version despite reports that earlier-than-6.0.18 releases were affected.

Impact

An attacker can read files outside the intended web application directory, exposing configuration, credential, or source files on the server. The CVSS 2.0 vector shows partial confidentiality impact only, with no integrity or availability effect.

Attack surface

Reachable remotely over the network via crafted encoded directory traversal sequences in the URI. No authentication is required per the CVSS vector (Au:N), but the flaw only applies when allowLinking and UTF-8 are enabled, and the access complexity is rated Medium.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented, but EPSS is very high (0.99708 probability, 0.99951 percentile), indicating substantial predicted exploitation activity. Reference tags are advisory and vendor notices only, with no public exploit tag supplied.

What to do

  • Upgrade to a Tomcat release after the affected ranges (vendor advisory lists 6.0.16 as last affected; move to a fixed version).
  • Disable allowLinking unless it is strictly required.
  • Avoid relying on UTF-8 URI handling where the traversal sequences can be decoded, or apply the vendor's recommended configuration changes.
  • Apply distribution vendor patches (Red Hat, openSUSE, Mandriva, Apple, Avaya advisories are referenced).
  • Restrict network access to Tomcat HTTP connectors to trusted clients where feasible.

Detection

  • Inspect web server and Tomcat access logs for encoded traversal sequences (e.g., %2e%2e, %c0%ae, or similar UTF-8 encoded dot patterns) in request URIs.
  • Alert on requests containing path traversal patterns targeting files outside the web application root.
  • Monitor for unusual file read activity or access to sensitive files by the Tomcat process account.
  • Correlate URI patterns with responses returning file contents not normally served by the application.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html Third Party Advisory
http://marc.info/?l=bugtraq&m=123376588623823&w=2 Third Party Advisory
http://secunia.com/advisories/31639 Broken Link
http://secunia.com/advisories/31865 Broken Link
http://secunia.com/advisories/31891 Broken Link
http://secunia.com/advisories/31982 Broken Link
http://secunia.com/advisories/32120 Broken Link
http://secunia.com/advisories/32222 Broken Link
http://secunia.com/advisories/32266 Broken Link
http://secunia.com/advisories/33797 Broken Link
http://secunia.com/advisories/37297 Broken Link
http://securityreason.com/securityalert/4148 Third Party Advisory
http://support.apple.com/kb/HT3216 Third Party Advisory
http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm Third Party Advisory
http://tomcat.apache.org/security-4.html Vendor Advisory
http://tomcat.apache.org/security-5.html Vendor Advisory
http://tomcat.apache.org/security-6.html Vendor Advisory
http://www.kb.cert.org/vuls/id/343355 Third Party AdvisoryUS Government Resource
http://www.mandriva.com/security/advisories?name=MDVSA-2008:188 Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0648.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0862.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0864.html Third Party Advisory
http://www.securenetwork.it/ricerca/advisory/download/SN-2009-02.txt Third Party Advisory
http://www.securityfocus.com/archive/1/495318/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/507729/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/30633 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/31681 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id?1020665 Third Party AdvisoryVDB Entry
http://www.vupen.com/english/advisories/2008/2343 Third Party Advisory
http://www.vupen.com/english/advisories/2008/2780 Third Party Advisory
http://www.vupen.com/english/advisories/2008/2823 Third Party Advisory
http://www.vupen.com/english/advisories/2009/0320 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/44411 Third Party AdvisoryVDB Entry
https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.or
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10587 Tool Signature
https://www.exploit-db.com/exploits/6229 Third Party AdvisoryVDB Entry

Track CVE-2008-2938 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed8.1CVE-2017-12617Apache Tomcat Default Servlet JSP upload leads to remote code executionApache Tomcat with HTTP PUT enabled (for example, the Default servlet readonly parameter set to false) allows an attacker to upload a JSP file throug…KEVEPSS 100%analysed8.1CVE-2017-12615Apache Tomcat on Windows unrestricted JSP upload via HTTP PUTApache Tomcat 7.0.0 through 7.0.79 on Windows with HTTP PUT enabled (for example, Default servlet readonly set to false) allows an attacker to upload…KEVEPSS 100%analysed7.5CVE-2026-34486Apache Tomcat EncryptInterceptor bypass exposes sensitive dataApache Tomcat contains a missing encryption of sensitive data flaw: the fix for CVE-2026-29146 can be bypassed, allowing the EncryptInterceptor to be…KEVEPSS 6.6%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed9.8CVE-2026-65637Apache tomcat improper input validation vulnerabilityImproper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This issue affects Apache Tomcat: from 11.0.20 thr…EPSS 0.74%

Source: NIST National Vulnerability Database (record CVE-2008-2938), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.