Read the docs
TI-2025-33904 Aliases CVE-2025-54059GHSA-5662-cv6m-63wh

melange creates SBOM files in APKs with world-writable permissions

Priority LOW 19CWE-276Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

melange allows users to build apk packages using declarative pipelines. Starting in version 0.23.0 and prior to version 0.29.5, SBOM files generated by melange in apks had file system permissions mode 666. This potentially allows an unprivileged user to tamper with apk SBOMs on a running image, potentially confusing security scanners. An attacker could also perform a DoS under special circumstances. Version 0.29.5 fixes the issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00153 4th percentileScored 2026-11-07
Fix Fixed melange (chainguard-dev): 0.29.5chainguard.dev/melange (Go): 0.29.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
chainguard-devmelange0.23.0 to before 0.29.50.29.5Patch availableCNA
—chainguard.dev/melange (Go)0.23.0 to before 0.29.50.29.5Patch availableGHSA-5662-cv6m-63wh
  • melange Vendorchainguard-dev Affected 0.23.0 to before 0.29.5 Fixed in 0.29.5 Patch available CNA
  • chainguard.dev/melange (Go) Vendor— Affected 0.23.0 to before 0.29.5 Fixed in 0.29.5 Patch available GHSA-5662-cv6m-63wh

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:chainguard:melange:*:*:*:*:*:*:*:*——chainguard-dev
  • cpe:2.3:a:chainguard:melange:*:*:*:*:*:*:*:* Versions — — ·chainguard-dev

Remediation

  • Fix · CNA melange (chainguard-dev) Fixed in 0.29.5
  • Fix · GHSA-5662-cv6m-63wh chainguard.dev/melange (Go) Fixed in 0.29.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54059
  2. 2026-10-03 Alias added: GHSA-5662-cv6m-63wh

References

  • TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
  • TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
  • TI-2026-83911 kaniko sends Azure access tokens to lookalike ACR registry hosts CVSS 3.1CRITICAL 9.3
  • TI-2026-30854 apko dirFS has a symlink-following path traversal that allows multiple entry points to escape the build root CVSS 3.1HIGH 7.5
  • TI-2026-20302 apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams CVSS 3.1HIGH 7.5
  • TI-2026-20284 apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside base CVSS 3.1HIGH 7.5
See all 25 →

Sources