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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203