All vulnerabilities

Go

CVE-2026-141356

apko and melange expose repository credentials in build output

Severity
High 8.2
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
0.66.1, 1.5.6
Weakness
Sensitive information in log files (CWE-532)Insufficiently protected credentials (CWE-522)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

apko versions before 1.5.6 and melange versions before 0.66.1 can expose HTTP Basic Authentication credentials embedded in APK repository URLs. Affected builds can write usernames and passwords in cleartext to logs and error messages, including at the default log level. apko can also expose these credentials in package and index cache directory names and exported trace spans. Anyone with access to this output may obtain the credentials. The earlier fix for CVE-2024-36127 redacted repository URLs during YAML serialization, leaving these other exposure paths open.

From the CVE Program.

Affected software

SoftwareAffected versions
chainguard.dev/apko, golang/chainguard.dev/melangeGo · osv:Go:chainguard.dev/apko, golang/chainguard.dev/melange
  • Every version before 1.5.6
  • Every version before 0.66.1

About chainguard.dev/apko, golang/chainguard.dev/melange

This is the only vulnerability in chainguard.dev/apko, golang/chainguard.dev/melange in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141356