AbsaOSS / AbsaOSS/living-doc-generator-mdoc
[SEC:HIGH][FP=308fa326] black: Black: Arbitrary file writes from unsanitized user input in cache file name
- Lenguaje dominante
- Python
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## General Information
- **Severity:** high
- **Title:** black: Black: Arbitrary file writes from unsanitized user input in cache file name
- **Category:** vulnerabilities
- **Rule:** CVE-2026-32274
- **Alert hash:** 308fa3266022f83a1856dfbc176f63e8
- **First seen:** 2026-04-23
## 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.
## Location
- **Repository:** AbsaOSS/living-doc-generator-mdoc
- **File:** [requirements.txt](https://github.com/AbsaOSS/living-doc-generator-mdoc/blob/master/requirements.txt)
## Dependency Details
- **Package name:** black
- **Installed version:** 26.1.0
- **Fixed version:** 26.3.1
- **Reachable:** False
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.