SCA: security update for black (GHSA-3936-cmfr-pm3m)

high Tenable Cloud Security Plugin ID 438678

Description

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

- Black is the uncompromising Python code formatter. Prior to 26.3.1, Black writes a cache file, the name of
which is computed from various formatting options. The value of the --python-cell-magics option was placed
in the filename without sanitization, which allowed an attacker who controls the value of this argument to
write cache files to arbitrary file system locations. Fixed in Black 26.3.1. (CVE-2026-32274)

Solution

Update the black library and its related packages to version 26.3.1 or later.

See Also

https://github.com/advisories/GHSA-3936-cmfr-pm3m

Plugin Details

Severity: High

ID: 438678

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/12/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.72

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-32274

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/12/2026

Vulnerability Publication Date: 3/12/2026

Reference Information

CVE: CVE-2026-32274

cwe: CWE-22