{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-32274","published":"2026-03-12T20:16:06.350000Z","last_modified":"2026-08-03T21:16:38.527000Z","status":"Modified","cvss":{"version":"4.0","score":8.7,"severity":"HIGH","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","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:python:black:*:*:*:*:*:python:*:*","part":"a","vendor":"python","product":"black","version_end_excluding":"26.3.1"}],"cpes_truncated":false,"vendors":["python"],"products":["python/black"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3936-cmfr-pm3m","ecosystem":"PyPI","name":"black","purl":"pkg:pypi/black","ranges":[{"introduced":"24.3.0","fixed":"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"],"versions_truncated":false},{"advisory":"PYSEC-2026-2121","ecosystem":"PyPI","name":"black","purl":"pkg:pypi/black","ranges":[{"introduced":"0","fixed":"26.3.1"}],"versions":["18.3a0","18.3a1","18.3a2","18.3a3","18.3a4","18.4a0","18.4a1","18.4a2","18.4a3","18.4a4","18.5b0","18.5b1","18.6b0","18.6b1","18.6b2","18.6b3","18.6b4","18.9b0","19.10b0","19.3b0","20.8b0","20.8b1","21.10b0","21.11b0","21.11b1","21.12b0","21.4b0","21.4b1","21.4b2","21.5b0","21.5b1","21.5b2","21.6b0","21.7b0","21.8b0","21.9b0","22.1.0","22.10.0","22.12.0","22.3.0","22.6.0","22.8.0","23.1.0","23.10.0","23.10.1","23.11.0","23.12.0","23.12.1","23.1a1","23.3.0","23.7.0","23.9.0","23.9.1","24.1.0","24.1.1","24.10.0","24.1a1","24.2.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"],"versions_truncated":false}],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-32274/","html_en":"/en/cve/CVE-2026-32274/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-32274","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-32274"},"untrusted":{"vendor_name":"Python","product_name":"Black","desc_en":"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.","affected":[{"untrusted_vendor":"psf","untrusted_product":"black","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Ansible Automation Platform 2.5","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Ansible Automation Platform 2.6","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift AI 2.25","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"OpenShift Lightspeed","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Ansible Automation Platform 2","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Ansible Automation Platform Ansible Core 2","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift AI (RHOAI)","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Virtualization 4","versions":[]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:13545","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:13553","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32274","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2447111","tags":[]},{"url":"https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d","tags":["Patch"]},{"url":"https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9","tags":[]},{"url":"https://github.com/psf/black/pull/4176","tags":[]},{"url":"https://github.com/psf/black/pull/5038","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/psf/black/releases/tag/26.3.1","tags":["Release Notes"]},{"url":"https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m","tags":["Vendor Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2026-2121.yaml","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32274.json","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11856-1","url":"https://www.suse.com/support/update/","published":"2026-09-23T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"ansible-lint-26.9.0-1.1 on GA media"}},{"source":"suse","id":"SUSE-SU-2026:20928-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620928-1/","published":"2026-03-24T19:40:56+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for python-black"}},{"source":"suse","id":"openSUSE-SU-2026:20417-1","url":"https://www.suse.com/support/update/","published":"2026-03-24T19:40:55+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for python-black"}}]}