cvedb.io
CVE-2026-25145
MEDIUM · CVSS 5.5
EPSS exploitation probability: 0%
Published 2026-02-04T20:16:06.373 · Last modified 2026-06-17T10:24:11.197

Summary

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.

Affected products

chainguard — melange

Does this affect you?

Add your gear to cvedb and we'll alert you only when chainguard ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.