Advisory record · GHSA-cm59-pr5q-cw85

Temporary Directory Hijacking to Local Privilege Escalation Vulnerability in org.springframework.boot:spring-boot

CVSS 7.8 HighEPSS 0.0060 · 48th percentile

Published by the GitHub Advisory Database at 11 Jul 2022, 20:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.springframework.boot:spring-bootMaven<2.2.11.RELEASE2.2.11.RELEASE
Identifiers
GHSA-cm59-pr5q-cw85 · CVE-2022-27772
Weakness (CWE)
CWE-377 · CWE-379 · CWE-668
Published
11 Jul 2022
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Spring Boot (org.springframework.boot:spring-boot) versions before 2.2.11.RELEASE are vulnerable to temporary directory hijacking in the createTempDir method, which creates the work directory for embedded web servers such as Tomcat and Jetty. A local attacker on an affected system who can write to that shared temporary directory could take over the application and escalate privileges. Upgrade to version 2.2.11.RELEASE or later. As a workaround, set the java.io.tmpdir property to a directory owned exclusively by the user running the application.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.8 High 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0060, the 48th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:19 UTC First seen by agentprime
  2. 31 Oct 2026, 14:19 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.