# CVE-2018-12536: Eclipse Jetty Server generates error message containing sensitive information

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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; 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:** 4.23% (percentile 92, 2026-11-26)
- **CWE:** CWE-209
- **Aliases:** GHSA-9rgv-h7x4-qw8g
- **Published:** 2018-06-27T17:00:00.000Z
- **Modified:** 2026-06-17T01:37:55.633Z

## Who should check

- Projects that depend on Maven package org.eclipse.jetty:jetty-server (\>= 9.4.0, \< 9.4.11.v20180605)
- Anyone running The Eclipse Foundation Eclipse Jetty \>= unspecified, \<= 9.2.0; \>= 9.3.0, \< unspecified; \>= unspecified, \< 9.3.24; \>= 9.4.0, \< unspecified; \>= unspecified, \< 9.4.11

## Description

In Eclipse Jetty Server, all 9.x versions, on webapps deployed using default Error Handling, when an intentionally bad query arrives that doesn't match a dynamic url-pattern, and is eventually handled by the DefaultServlet's static file serving, the bad characters can trigger a java.nio.file.InvalidPathException which includes the full path to the base resource directory that the DefaultServlet and/or webapp is using. If this InvalidPathException is then handled by the default Error Handler, the InvalidPathException message is included in the error response, revealing the full server path to the requesting system.

## Affected and fixed versions

- Maven `org.eclipse.jetty:jetty-server`: affected \>= 9.4.0, \< 9.4.11.v20180605; fixed 9.4.11.v20180605, 9.3.24.v20180605 (osv)
- The Eclipse Foundation Eclipse Jetty: \>= unspecified, \<= 9.2.0; \>= 9.3.0, \< unspecified; \>= unspecified, \< 9.3.24; \>= 9.4.0, \< unspecified; \>= unspecified, \< 9.4.11 (cvelist)

## Mitigation

- Upgrade org.eclipse.jetty:jetty-server to one of 9.4.11.v20180605, 9.3.24.v20180605 (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-2018-12536. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-12536.md
Affected: org.eclipse.jetty:jetty-server >= 9.4.0, < 9.4.11.v20180605
Fixed in: 9.4.11.v20180605, 9.3.24.v20180605

Steps:
1. Search this machine and project for org.eclipse.jetty:jetty-server (Maven), The Eclipse Foundation Eclipse Jetty: 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-2018-12536 being exploited?

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

### How serious is CVE-2018-12536?

Medium: CVSS 5.3 (v3.1, scored by NVD). Remote, no login needed.

### Which versions are affected by CVE-2018-12536?

org.eclipse.jetty:jetty-server \>= 9.4.0, \< 9.4.11.v20180605.

### Is there a fix for CVE-2018-12536?

Yes. Fixed in 9.4.11.v20180605, 9.3.24.v20180605. Upgrade org.eclipse.jetty:jetty-server to one of 9.4.11.v20180605, 9.3.24.v20180605 (or later in the same release line).

### How do I check if I'm affected by CVE-2018-12536?

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: <https://bugs.eclipse.org/bugs/show_bug.cgi?id=535670>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-12536>
- patch: <https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html>
- other: <http://www.securitytracker.com/id/1041194>
- other: <https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272%40%3Cissues.activemq.apache.org%3E>
- other: <https://www.oracle.com/security-alerts/cpuoct2020.html>
- other: <https://security.netapp.com/advisory/ntap-20181014-0001/>
- other: <https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03953en_us>
- other: <https://lists.debian.org/debian-lts-announce/2021/05/msg00016.html>
- other: <https://github.com/eclipse/jetty.project>
- other: <https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20181014-0001>
- other: <https://web.archive.org/web/20200516001904/http://www.securitytracker.com/id/1041194>

## 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-2018-12536>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9rgv-h7x4-qw8g> (license: <https://creativecommons.org/licenses/by/4.0/>)

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