DEBIAN-CVE-2026-32274

Source
https://security-tracker.debian.org/tracker/CVE-2026-32274
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-32274.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-32274
Upstream
Published
2026-03-12T20:16:06.350Z
Modified
2026-03-14T00:00:10.809094Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / black

Package

Name
black
Purl
pkg:deb/debian/black?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.8b1-4
21.*
21.4b2-1~exp1
21.4b2-1
21.4b2-2
21.4b2-3
21.10b0-1
21.12b0-1
22.*
22.1.0-1
22.3.0-1
22.6.0-1
22.6.0-2
22.8.0-1
22.10.0-1
22.10.0-2
22.12.0-1
23.*
23.1.0-1
23.3.0-1~exp1
23.3.0-1
23.7.0-1
23.9.1-1
23.10.0-1
23.10.1-1
23.11.0-1
24.*
24.1.1-1
24.2.0-1
24.4.0-1
24.4.0-2
24.4.2-1
24.4.2-2~0exp0
24.4.2-2
24.8.0-1
24.10.0-1
24.10.0-2
24.10.0-3
25.*
25.1.0-0exp
25.1.0-1
25.1.0-2
25.1.0-3
25.9.0-1
25.11.0-1
25.12.0-1
25.12.0-2
26.*
26.1.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-32274.json"

Debian:12 / black

Package

Name
black
Purl
pkg:deb/debian/black?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

23.*
23.1.0-1
23.3.0-1~exp1
23.3.0-1
23.7.0-1
23.9.1-1
23.10.0-1
23.10.1-1
23.11.0-1
24.*
24.1.1-1
24.2.0-1
24.4.0-1
24.4.0-2
24.4.2-1
24.4.2-2~0exp0
24.4.2-2
24.8.0-1
24.10.0-1
24.10.0-2
24.10.0-3
25.*
25.1.0-0exp
25.1.0-1
25.1.0-2
25.1.0-3
25.9.0-1
25.11.0-1
25.12.0-1
25.12.0-2
26.*
26.1.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-32274.json"

Debian:13 / black

Package

Name
black
Purl
pkg:deb/debian/black?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

25.*
25.1.0-3
25.9.0-1
25.11.0-1
25.12.0-1
25.12.0-2
26.*
26.1.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-32274.json"

Debian:14 / black

Package

Name
black
Purl
pkg:deb/debian/black?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

25.*
25.1.0-3
25.9.0-1
25.11.0-1
25.12.0-1
25.12.0-2
26.*
26.1.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-32274.json"