CVE-2026-32274
Black: Arbitrary file writes from unsanitized user input in cache file name
02 Description
Black: Arbitrary file writes from unsanitized user input in cache file name
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.63% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 49.9% of scored records. A rank, not a probability.
- NVD base score
- 8.7 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Modified. NVD last modified this record on 2026-08-03.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-03-12 19:47Z7 MO AGO
- Last updated
- 2026-08-03 20:36Z2 MO AGO
- Reserved
- 2026-03-11
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.7)
- CNA CVSS 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
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.2
- Document digest
- 400c18ce614145a28e1f24f1ccd879ebddd8ab9fdac864d163ddca6d536dd891
05 Affected products
06 References
- github.comhttps://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m
- github.comhttps://github.com/psf/black/pull/4176
- github.comhttps://github.com/psf/black/pull/5038
- github.comhttps://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d
- github.comhttps://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:10184
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:13545
- access.redhat.comhttps://access.redhat.com/errata/RHSA-2026:13553
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2026-32274
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2447111
- github.comhttps://github.com/psf/black/releases/tag/26.3.1
- github.comhttps://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2026-2121.yaml
- security.access.redhat.comhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32274.json
07 Fixed in
Debian 12
- black No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- black Fixed in 25.1.0-3+deb13u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- black Fixed in 26.3.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- black No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.