CVE-2025-54059: chainguard-dev melange Incorrect Default Permissions
Vulnerability summary
CVE-2025-54059 is a medium (CVSS 4.4) Incorrect Default Permissions vulnerability in chainguard-dev melange. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 18-07-2025PublishedVulnerability first disclosed.
- 18-07-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · GoEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.02 pp
From 0.13% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- cg< 0_git20250730-r0
Chainguard-dev1 product
- melange≥ 0.23.0, < 0.29.5
Chainguard.dev1 product
- melange≥ 0.23.0, < 0.29.5
3 vendors · 3 products
References
10 links- github.com/chainguard-dev/melange/security/advisories/GHSA-5662-cv6m-63whX Refsource CONFIRMWEBAdvisory
- github.com/chainguard-dev/melange/commit/1b272db2a0bb3441553284cc56d87236b4b64c04X Refsource MISCWEBFIX
- github.com/chainguard-dev/melange/commit/e29494b4a40a91619ec1c87a09003c6d5164cea1X Refsource MISCWEBFIX