PT-2026-6272 · Melange · Melange

·

CVE-2026-25145

·

Published

2026-02-04

·

Updated

2026-07-30

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions melange versions 0.14.0 through 0.40.2
Description melange allows users to build apk packages using declarative pipelines. An attacker who can influence a melange configuration file 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.
Recommendations Update to version 0.40.3 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-25145
GHSA-2W4F-9FGG-Q2V9
GO-2026-4409
OPENSUSE-SU-2026:21483-1
SUSE-SU-2026:0403-1

Affected Products

Melange