apko and melange expose repository credentials in build output
- CVE-2026-141356
- EUVD-2026-143673
Summary
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 write usernames and passwords in cleartext to logs and error messages, including at the default log level. apko can also expose the credentials in package and index cache directory names and in exported trace spans. Anyone with access to this build output may obtain the credentials. The earlier fix for CVE-2024-36127 only redacted repository URLs during YAML serialization, leaving these other exposure paths open. The CVSS score is 8.2. The record does not list this issue in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Recommendation
Chainguard apko, melange
- If you run a version before 1.5.6update to 1.5.6 or later
- If you run a version before 0.66.1update to 1.5.6 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Chainguard apko, melange
Affected versions Fixed in before 1.5.6 1.5.6 before 0.66.1 1.5.6
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.