8.7

CVE-2026-32274: psf black Path Traversal

CVSS: 8.7v4.0HighModified
AliasesGHSA-3936-cmfr-pm3mPYSEC-2026-2121UBUNTU-CVE-2026-32274
Published 12-03-2026Last modified 03-08-2026

Vulnerability summary

CVE-2026-32274 is a high (CVSS 8.7) Path Traversal vulnerability in psf black. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.74%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 12-03-2026
    PublishedVulnerability first disclosed.
  2. 03-08-2026
    Last modifiedVulnerability information updated.

Description

Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.74%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

+0.12 pp

From 0.62% on 19-09-2026

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

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

Chainguard4 products
  • kserve-storage-controller< 0.16.0-r22
  • label-studio< 1.23.0-r0
  • nemo< 2.7.0-r2
  • open-webui< 0.8.10-r1
Opensuse2 products
  • ansible-lint&distro=openSUSE Tumbleweed< 26.9.0-1.1
  • python-black&distro=openSUSE Leap 15.6< 24.3.0-150400.9.11.1
Wolfi2 products
  • kserve-storage-controller< 0.16.0-r22
  • open-webui< 0.8.10-r1
Debian1 product
  • blackAll versions (No fix recorded) | < 25.1.0-3+deb13u1 | < 26.3.1-1
Psf1 product
  • black≥ 24.3.0, < 26.3.1
PyPI1 product
  • black≥ 24.3.0, < 26.3.1 | < 26.3.1
Python1 product
Ubuntu1 product
  • blackAll versions (No fix recorded)

8 vendors · 13 products

References

22 links
Show all 22 references