Incorrect Permission Assignment for Critical Resource Affecting org.springframework.boot:spring-boot-buildpack-platform package, versions [,4.0.10)[4.1.0,4.1.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-22732910
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59407  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade org.springframework.boot:spring-boot-buildpack-platform to version 4.0.10, 4.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the process of building a container image on a POSIX platform using Buildpacks, where layers larger than approximately 4KB are written to a temporary file with world-readable permissions. An attacker can access sensitive layer content by reading the temporary file created during the build process.

Workaround

This vulnerability can be mitigated by configuring the JVM with a temp directory that is only accessible to the current user.

CVSS Base Scores

version 3.1