Loading advisory.
Loading advisory.
Black: Arbitrary file writes from unsanitized user input in cache file name
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…
Published 2026-03-12 18:33 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| black | PyPI | >= 24.3.0, < 26.3.1 < 26.3.1 versions 24.10.0, 24.3.0, 24.4.0, 24.4.1, 24.4.2, 24.8.0, 25.1.0, 25.11.0, 25.12.0, 25.9.0, 26.1.0, 26.1a1, 26.3.0, 18.3a0, 18.3a1, 18.3a2, 18.3a3, 18.3a4, 18.4a0, 18.4a1 and 50 more | 26.3.1 | pip install --upgrade 'black>=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.
Do not allow untrusted user input into the value of the --python-cell-magics option.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.008 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.008 | 0.007 | v2026.06.15 |