apko and melange expose repository credentials in build output
Summary
| CVE | CVE-2026-141356 |
|---|---|
| State | PUBLISHED |
| Assigner | chainguard |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 21:18:00 UTC |
| Updated | 2026-12-03 21:18:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.2 HIGH from 82cea9a6-e9e3-46fe-bdb0-3673de380178
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-522 | CWE-532 | CWE-532 CWE-532 Insertion of sensitive information into log file | CWE-522 CWE-522 Insufficiently Protected Credentials as a second entry to match the advisory.
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 82cea9a6-e9e3-46fe-bdb0-3673de380178 | Secondary | 8.2 | HIGH | 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/E:X/C... |
| 4.0 | CNA | CVSS | 8.2 | HIGH | 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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
NoneConfidentiality
HighIntegrity
NoneAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chainguard | Apko Melange | affected 1.5.6 semver | Not specified |
| CNA | Chainguard | Apko Melange | affected 0.66.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chainguard-dev/apko/security/advisories/GHSA-8w38-mp5q-mp8m | 82cea9a6-e9e3-46fe-bdb0-3673de380178 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: 3rdn4Li (en)
CNA: superboy-zjc (en)
There are currently no legacy QID mappings associated with this CVE.