Skip to content
Noroxi
CVE-2008-2938· NVD / CVE Program· CNA redhat

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 a

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.

MediumCVSS 4.3 · v2.0—Weaponized Fix available
Published
Aug 12, 2008
Updated
Jun 16, 2026
EPSS
99.7% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

47

Plan

Add it to your regular patch cycle.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
30 / 30 · 99.7%

Affected systems

VendorProduct
apachetomcat

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache tomcat4.0.0 and later · up to 4.1.37 inclusive
  • apache tomcat5.0.0 and later · up to 5.5.26 inclusive
  • apache tomcat6.0.0 and later · up to 6.0.16 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.apache.tomcat:tomcatfrom 4.1.0 · before 4.1.394.1.39
Mavenorg.apache.tomcat:tomcatfrom 5.5.0 · before 5.5.275.5.27
Mavenorg.apache.tomcat:tomcatfrom 6.0.0 · before 6.0.186.0.18
Red Hat:enterprise_linux:5::clienttomcat5-jsp-2.0-apibefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::clienttomcat5-servlet-2.4-apibefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5before 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-admin-webappsbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-common-libbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-debuginfobefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-jasperbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-jasper-javadocbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-jsp-2.0-api-javadocbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-server-libbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-servlet-2.4-api-javadocbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:enterprise_linux:5::client_workstationtomcat5-webappsbefore 0:5.5.23-0jpp.7.el5_2.10:5.5.23-0jpp.7.el5_2.1
Red Hat:jboss_enterprise_application_platform:4.2.0::el5jbosswebbefore 0:2.0.0-5.CP07.0jpp.ep1.1.el50:2.0.0-5.CP07.0jpp.ep1.1.el5
Red Hat:jboss_enterprise_application_platform:4.3.0::el4jbosswebbefore 0:2.0.0-5.CP07.0jpp.ep1.1.el40:2.0.0-5.CP07.0jpp.ep1.1.el4
Red Hat:network_satellite:5.1::el4tomcat5before 0:5.0.30-0jpp_12rh0:5.0.30-0jpp_12rh
Red Hat:rhel_application_server:2tomcat5before 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9
Red Hat:rhel_application_server:2tomcat5-admin-webappsbefore 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9
Red Hat:rhel_application_server:2tomcat5-common-libbefore 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9
Red Hat:rhel_application_server:2tomcat5-jasperbefore 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9
Red Hat:rhel_application_server:2tomcat5-jasper-javadocbefore 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9
Red Hat:rhel_application_server:2tomcat5-jsp-2.0-apibefore 0:5.5.23-0jpp_4rh.90:5.5.23-0jpp_4rh.9

+11

Other highest-scoring records for the same primary product.

  • CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV
    99Now
  • CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x beforeKEV
    96Now
  • CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV
    92Now
  • CVE-2017-12615When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g.KEV
    92Now
  • CVE-2026-34486Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptorKEV
    62This week
  • CVE-2019-0232When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0
    62This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.apache.tomcat:tomcat4.1.39Package registry (OSV)
Maven:org.apache.tomcat:tomcat5.5.27Package registry (OSV)
Maven:org.apache.tomcat:tomcat6.0.18Package registry (OSV)
red hat:tomcat50:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-admin-webapps0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-common-lib0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-debuginfo0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-jasper0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-jasper-javadoc0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-jsp-2.0-api0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:tomcat5-jsp-2.0-api-javadoc0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-server-lib0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-servlet-2.4-api0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:tomcat5-servlet-2.4-api-javadoc0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:tomcat5-webapps0:5.5.23-0jpp.7.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×2
  • Exploit-DB entry ×2
  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2008-08-11
Exploit-DB entryremote2010-07-28
Metasploit moduleauxiliary/admin/http/tomcat_utf8_traversalTomcat UTF-8 Directory Traversal Vulnerabilityauxiliary2009-01-09
Metasploit moduleauxiliary/admin/http/trendmicro_dlp_traversalTrendMicro Data Loss Prevention 5.5 Directory Traversalauxiliary2009-01-09
Proof-of-concept repository on GitHubstars:12016-10-13

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-2 d
  2. Published
  3. Metasploit+149 d
  4. TodaySep 30, 2026+6623 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    none
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    None
    Availability impact
    None

    CVSS vector

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

    nvd-primary

    Root cause

    A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

    A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

    Vulnerable

    ts
    const file = path.join(ROOT, req.query.name);res.sendFile(file);

    Fixed

    ts
    const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records