CVE-2026-141356
8.2HighPublished Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ go install github.com/chainguard-dev/apko@v1.5.6 github.com/chainguard-dev/melange@v0.66.1AI-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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1449147.3HighRemote attackers can read or overwrite arbitrary files on the server. No authentication is required to exploit this path traversal vulnerability.
- CVE-2026-1410177.6HighAuthenticated attackers with administrative privileges can perform blind SQL injection to extract sensitive database information. This requires an active WordPress administrator account.
- CVE-2026-1385027.5HighAuthenticated attackers can perform local file inclusion to execute arbitrary PHP code on the server. This requires an account with low-level privileges.
- CVE-2026-1291387.2HighUnauthenticated attackers can execute arbitrary JavaScript in a victim's browser via stored XSS. This requires the Pro Payments module with Stripe Hosted Checkout enabled and a specific SmartCode configuration.
- CVE-2026-1167607.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in the browsers of visitors. This happens by exploiting the XML-RPC pingback mechanism to store payloads in comment fields.
- CVE-2026-1449127.3HighRemote unauthenticated attackers can execute arbitrary SQL queries against the database via the hello parameter in check.php. This allows for data theft or modification without requiring any user interaction.