CVE-2025-54059chainguard-dev melange
Medium 4.4
Follow: this CVE · chainguard-dev · chainguard-dev melange We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for melange.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | chainguard.dev/melange |
≥ 0.23.0 < 0.29.5 |
0.29.5 |
go get chainguard.dev/melange@v0.29.5 |
| Go | chainguard.dev/melange |
≥ 0.23.0 < 0.29.5 |
0.29.5 |
go get chainguard.dev/melange@v0.29.5 |
Per OSV / GitHub Advisories (GHSA-5662-cv6m-63wh, GO-2025-3815). Check the version in your lockfile before upgrading.
Affected products
- chainguard-dev · melange
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.