CVE-2026-59407: World-readable temp file leaks layer content when building a container image
Published Dec 2, 2026
·Updated
When building a container image on a POSIX platform using Buildpacks, layers in excess of approximately 4KB in size are written to a temporary file that can be read by other users.
Affected Software
1 affected component
Cloud Native Buildpacks
Event History
Dec 2, 2026
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
DescriptionSeverity
Frequently Asked Questions
1
Who can read the leaked layer content?
Other users on the same POSIX system can read temporary files created for Buildpacks layers larger than approximately 4 KB during an image build.
2
What access does an attacker need to exploit this?
The attacker needs local access as a user on the POSIX build host. No user interaction is required.
3
When are builds exposed?
Exposure occurs when Cloud Native Buildpacks builds a container image on a POSIX platform and a layer exceeding approximately 4 KB is written to a temporary file.