melange creates SBOM files in APKs with world-writable permissions
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| chainguard-dev | melange | 0.23.0 to before 0.29.5 | 0.29.5 | Patch available | CNA |
| — | chainguard.dev/melange (Go) | 0.23.0 to before 0.29.5 | 0.29.5 | Patch available | GHSA-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.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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
- 2026-10-02 Threatist record created from CVE-2025-54059
- 2026-10-03 Alias added: GHSA-5662-cv6m-63wh
References
Other 8
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-5662-cv6m-63wh
- https://github.com/chainguard-dev/melange/pull/1836
- https://github.com/chainguard-dev/melange/pull/2086
- https://github.com/chainguard-dev/melange/commit/1b272db2a0bb3441553284cc56d87236b4b64c04
- https://github.com/chainguard-dev/melange/commit/e29494b4a40a91619ec1c87a09003c6d5164cea1
- https://github.com/chainguard-dev/melange/releases/tag/v0.23.0
- https://github.com/chainguard-dev/melange/releases/tag/v0.29.5
- https://github.com/chainguard-dev/melange
More chainguard-dev vulnerabilities
- 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
Sources
- CVE-2025-54059 · CVE Program
- CVE-2025-54059 · NVD
- FIRST EPSS
- GHSA-5662-cv6m-63wh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences