Read the docs

apko and melange expose repository credentials in build output

Priority MEDIUM 51CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-522.

Summary

Chainguard 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, and apko can also expose them in cache directory names and exported trace spans. Anyone with access to this output can obtain the credentials, and the earlier fix for CVE-2024-36127 left these other paths open.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the CNA

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.

Why it matters now

Fix Fixed apko, melange (Chainguard): 1.5.6, 0.66.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-devapko, melangebefore 1.5.6; before 0.66.11.5.6, 0.66.1Patch availableCNA
  • apko, melange Vendorchainguard-dev Affected before 1.5.6; before 0.66.1 Fixed in 1.5.6, 0.66.1 Patch available CNA

Remediation

Update apko to version 1.5.6 and melange to version 0.66.1, which are the fixed versions.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

  • Fix · CNA apko, melange (Chainguard) Fixed in 1.5.6, 0.66.1

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-141356

References

  • TI-2026-93186 Heap-based buffer overflow in Oracle Java SE and GraalVM compiler CVSS 3.1HIGH 8.1
  • TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
  • TI-2026-103880 melange initramfs and source get log credentials in cleartext CVSS 4.0HIGH 8.2
  • TI-2026-104291 Unverified package documents let crafted APKs falsify apko SBOMs CVSS 4.0MEDIUM 6.9
  • TI-2026-85692 MinIO Signature V4 verification accepts unsigned x-amz-* headers CVSS 4.0HIGH 8.8
  • TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
See all 31 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences