CVE Explorer
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 ../
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"melange","vendor":"chainguard-dev","versions":[{"status":"affected","version":">= 0.14.0, < 0.40.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e43f3d1838e1f2369be96587077f02fcd2a040631c01c2a13a8fa0a076dac2e0 · sha256:a92b36d7a5d564a0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e43f3d1838e1f2369be96587077f02fcd2a040631c01c2a13a8fa0a076dac2e0 · sha256:a92b36d7a5d564a0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e43f3d1838e1f2369be96587077f02fcd2a040631c01c2a13a8fa0a076dac2e0 · sha256:a92b36d7a5d564a0… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/chainguard-dev/melange/commit/2f95c9f4355ed993f2670bf1bb82d88b0f65e9e4","tags":["x_refsource_MISC"],"url":"https://github.com/chainguard-dev/melange/commit/2f95c9f4355ed993f2670bf1bb82d88b0f65e9e4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e43f3d1838e1f2369be96587077f02fcd2a040631c01c2a13a8fa0a076dac2e0 · sha256:a92b36d7a5d564a0… · /containers/cna/references/1
{"name":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-2w4f-9fgg-q2v9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-2w4f-9fgg-q2v9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e43f3d1838e1f2369be96587077f02fcd2a040631c01c2a13a8fa0a076dac2e0 · sha256:a92b36d7a5d564a0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.