# CVE-2017-7675: Improper Limitation of a Pathname to a Restricted Directory in Apache Tomcat

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 10.14% (percentile 96, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-68g5-8q7f-m384
- **Published:** 2017-08-11T02:00:00.000Z
- **Modified:** 2026-06-17T01:24:57.423Z

## Who should check

- Projects that depend on Maven package org.apache.tomcat:tomcat (\>= 9.0.0.M1, \< 9.0.0.M22)
- Anyone running Apache Software Foundation Apache Tomcat 9.0.0.M1 to 9.0.0.M21; 8.5.0 to 8.5.15

## Description

The HTTP/2 implementation in Apache Tomcat 9.0.0.M1 to 9.0.0.M21 and 8.5.0 to 8.5.15 bypassed a number of security checks that prevented directory traversal attacks. It was therefore possible to bypass security constraints using a specially crafted URL.

## Affected and fixed versions

- Maven `org.apache.tomcat:tomcat`: affected \>= 9.0.0.M1, \< 9.0.0.M22; fixed 9.0.0.M22, 8.5.16 (osv)
- Apache Software Foundation Apache Tomcat: 9.0.0.M1 to 9.0.0.M21; 8.5.0 to 8.5.15 (cvelist)

## Mitigation

- Upgrade org.apache.tomcat:tomcat to one of 9.0.0.M22, 8.5.16 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-7675. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-7675.md
Affected: org.apache.tomcat:tomcat >= 9.0.0.M1, < 9.0.0.M22
Fixed in: 9.0.0.M22, 8.5.16

Steps:
1. Search this machine and project for org.apache.tomcat:tomcat (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-7675 being exploited?

There is no confirmed exploitation: CVE-2017-7675 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 10.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-7675?

High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2017-7675?

org.apache.tomcat:tomcat \>= 9.0.0.M1, \< 9.0.0.M22.

### Is there a fix for CVE-2017-7675?

Yes. Fixed in 9.0.0.M22, 8.5.16. Upgrade org.apache.tomcat:tomcat to one of 9.0.0.M22, 8.5.16 (or later in the same release line).

### How do I check if I'm affected by CVE-2017-7675?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://www.debian.org/security/2017/dsa-3974>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-7675>
- patch: <https://github.com/apache/tomcat/commit/cf181edc9a8c239cde704cffc3c503425bdcae2b>
- patch: <https://github.com/apache/tomcat/commit/dacb030b85fe0e0b3da87469e23d0f31252fdede>
- other: <http://www.securityfocus.com/bid/100256>
- other: <https://security.netapp.com/advisory/ntap-20180614-0003/>
- other: <https://lists.apache.org/thread.html/d3a5818e8af731bde6a05ef031ed3acc093c6dd7c4bfcc4936eafd6c%40%3Cannounce.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/5f8ab8a02f3610bd56ea2b0d69af25cbde451d79c46276c350e05a15%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/d3a5818e8af731bde6a05ef031ed3acc093c6dd7c4bfcc4936eafd6c@%3Cannounce.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20180614-0003>
- other: <https://svn.apache.org/viewvc?view=revision&revision=1796090>
- other: <https://web.archive.org/web/20170929163331/http://www.securityfocus.com/bid/100256>
- other: <https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/5f8ab8a02f3610bd56ea2b0d69af25cbde451d79c46276c350e05a15@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551@%3Cdev.tomcat.apache.org%3E>
- other: <https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba@%3Cdev.tomcat.apache.org%3E>
- other: <https://github.com/apache/tomcat>
- other: <https://bz.apache.org/bugzilla/show_bug.cgi?id=61120>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-7675>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-68g5-8q7f-m384> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2017-7675> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-7675>
