CVE-2026-141356

8.2High

Published Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.2CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-522, CWE-532

What an attacker gets

Attackers with access to build logs, cache directories, or trace spans can steal cleartext HTTP Basic Auth credentials. This occurs because the build tools leak repository credentials into multiple output paths.

Root cause

The build tools fail to redact credentials from cache directory names, error messages, and trace spans.

Affected versions

apko before 1.5.6 and melange before 0.66.1

CVSS v4.0 · 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

Fix & remediation

Upgrade apko to 1.5.6 or later and melange to 0.66.1 or later. Immediately rotate any credentials used in repository URLs that were processed by older versions.

remediation — bash
$ go install github.com/chainguard-dev/apko@v1.5.6 github.com/chainguard-dev/melange@v0.66.1

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-141356

More fully triaged vulnerabilities you may want to check next.