CVE-2026-25145
Last modified
CVE-2026-25145 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Chainguard | Melange | >= 0.14.0, < 0.40.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25145?
How severe is CVE-2026-25145?
How do I fix CVE-2026-25145?
Are you affected by CVE-2026-25145?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
