5.5

CVE-2026-25145: chainguard-dev melange Path Traversal

CVSS: 5.5v3.1MediumAnalyzed
AliasesCGA-3qq6-5p9g-r2gmCGA-824c-wxcf-xm9vGHSA-2w4f-9fgg-q2v9
Published 04-02-2026Last modified 05-02-2026

Vulnerability summary

CVE-2026-25145 is a medium (CVSS 5.5) Path Traversal vulnerability in chainguard-dev melange. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.5% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 04-02-2026
    PublishedVulnerability first disclosed.
  2. 05-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

+0.02 pp

From 0.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • cg< 0.2.201-r0
  • wolfictl< 0.39.0-r1
  • melange≥ 0.14.0, < 0.40.5
Chainguard-dev1 product
Chainguard.dev1 product
  • melange≥ 0.14.0, < 0.40.3
Wolfi1 product
  • wolfictl< 0.39.0-r1

4 vendors · 6 products

References

5 links