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

Source: https://junglewise.ai/threats/cve-2022-27772-temporary-directory-hijacking-to-local-privilege-escalation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-11  
License: CC BY 4.0 with a link back

CVE-2022-27772 · Severity: low · CVSS 3.1 · Published 2022-07-11

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

Technologies: [org.springframework.boot:spring-boot (Maven)](https://junglewise.ai/threats/technologies/org-springframework-boot-spring-boot). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-27772 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-27772 being exploited in the wild.

**How severe is CVE-2022-27772?** Low severity, with a CVSS score of 3.1, published 11 July 2022.

**Which products and versions are affected?** org.springframework.boot:spring-boot (Maven) ECOSYSTEM:introduced=0,fixed=2.2.11.RELEASE.

**Is there a fix for CVE-2022-27772?** Yes. org.springframework.boot:spring-boot (Maven): upgrade to 2.2.11.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-27772?** Check whether you run org.springframework.boot:spring-boot (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.boot:spring-boot (Maven): upgrade to 2.2.11.RELEASE or later

  ```sh
  # set org.springframework.boot:spring-boot to 2.2.11.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.boot:spring-boot (Maven) ECOSYSTEM:introduced=0,fixed=2.2.11.RELEASE

## Identifiers

- CVE-2022-27772
- GHSA-cm59-pr5q-cw85

## Related threats

- [Spring Boot authentication bypass in default web security filter chain](https://junglewise.ai/threats/cve-2026-40976-spring-boot-authentication-bypass-in-default-web-security-filter)
- [VMware Spring Boot insecure temporary directory in ApplicationTemp](https://junglewise.ai/threats/cve-2026-40973-vmware-spring-boot-insecure-temporary-directory-in)
- [Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed](https://junglewise.ai/threats/cve-2025-22235-spring-boot-endpointrequest-to-creates-wrong-matcher-if-actuator)
- [Moderate severity vulnerability that affects org.springframework.boot:spring-boot](https://junglewise.ai/threats/cve-2018-1196-moderate-severity-vulnerability-that-affects-org-springframework)
