SCA: security update for chainguard.dev/melange (GHSA-2w4f-9fgg-q2v9)

medium Tenable Self-Hosted Container Security Plugin ID 437509

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-25145)

See Also

https://github.com/advisories/GHSA-2w4f-9fgg-q2v9

Plugin Details

Severity: Medium

ID: 437509

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 2/4/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2026-25145

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/4/2026

Vulnerability Publication Date: 2/4/2026

Reference Information

CVE: CVE-2026-25145

cwe: CWE-22