Path Traversal in Chainguard Melange
CVE-2026-25145
melange allows users to build apk packages using declarative pipelines. From version 0.14.0 to before 0.40.3, an attacker who can influence a melange configuration file (e.g., through pull request-driven CI or build-as-a-service scenarios) could read arbitrary files from the host system. The LicensingInfos function in pkg/config/config.go reads license files specified in copyright[].license-path without validating that paths remain within the workspace directory, allowing path traversal via ../ sequences. The contents of the traversed file are embedded into the generated SBOM as license text, enabling exfiltration of sensitive data through build artifacts. This issue has been patched in version 0.40.3.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.002 (9.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 9th percentile — 9.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Chainguard Melange
- Chainguard-Dev Melange — versions >= 0.14.0, < 0.40.3
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-25145?
- CVE-2026-25145 is a medium-severity vulnerability in Chainguard Melange, classified under Path Traversal. CVSS score: 5.5/10. Published 2026-02-04.
- How severe is CVE-2026-25145?
- Medium severity. CVSS v3 base score is 5.5 out of 10.