Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-27216

HIGH 7.0PoCEPSS 92%

Local Temp Directory Hijacking Vulnerability

Also known as GHSA-g3wg-6mcf-8jj6

Mitigation

  • Upgrade org.eclipse.jetty:jetty-webapp to one of 9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3 (or later in the same release line).
  • Upgrade org.mortbay.jetty:jetty-webapp to one of 9.4.33, 10.0.0.beta3, 11.0.0.beta3 (or later in the same release line).

Who should check

  • Projects that depend on Maven package org.eclipse.jetty:jetty-webapp (< 9.4.33.v20201020)
  • Projects that depend on Maven package org.mortbay.jetty:jetty-webapp (< 9.4.33)
  • Anyone running The Eclipse Foundation Eclipse Jetty 1.0 to 9.4.32.v20200930; 10.0.0.alpha1 to 10.0.0.beta2; 11.0.0.alpha1 to 11.0.0.beta2

Vulnerability facts

Affected
org.eclipse.jetty:jetty-webapp < 9.4.33.v20201020; org.mortbay.jetty:jetty-webapp < 9.4.33
Fixed in
9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3, 9.4.33
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
4.35% chance of exploitation in 30 days (percentile 92, 2026-11-26)
CWE
CWE-378, CWE-379
Published
Modified

Description

In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, the system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.eclipse.jetty:jetty-webapp< 9.4.33.v202010209.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3osv
Maven org.mortbay.jetty:jetty-webapp< 9.4.339.4.33, 10.0.0.beta3, 11.0.0.beta3osv
The Eclipse Foundation Eclipse Jetty1.0 to 9.4.32.v20200930; 10.0.0.alpha1 to 10.0.0.beta2; 11.0.0.alpha1 to 11.0.0.beta2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-27216. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-27216.md
Affected: org.eclipse.jetty:jetty-webapp < 9.4.33.v20201020; org.mortbay.jetty:jetty-webapp < 9.4.33
Fixed in: 9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3, 9.4.33

Steps:
1. Search this machine and project for org.eclipse.jetty:jetty-webapp (Maven), org.mortbay.jetty:jetty-webapp (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.

References

Other

FAQ

Is CVE-2020-27216 being exploited?

There is no confirmed exploitation: CVE-2020-27216 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 4.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-27216?

High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2020-27216?

org.eclipse.jetty:jetty-webapp < 9.4.33.v20201020; org.mortbay.jetty:jetty-webapp < 9.4.33.

Is there a fix for CVE-2020-27216?

Yes. Fixed in 9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3, 9.4.33. Upgrade org.eclipse.jetty:jetty-webapp to one of 9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3 (or later in the same release line). Upgrade org.mortbay.jetty:jetty-webapp to one of 9.4.33, 10.0.0.beta3, 11.0.0.beta3 (or later in the same release line).

How do I check if I'm affected by CVE-2020-27216?

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.

Sponsors