{"id":"CVE-2026-32274","aliases":["DEBIAN-CVE-2026-32274","EUVD-2026-11698","GHSA-3936-cmfr-pm3m","OESA-2026-4064","PYSEC-2026-2121","ROOT-APP-PYPI-CVE-2026-32274","SUSE-SU-2026:0900-1","SUSE-SU-2026:20928-1","UBUNTU-CVE-2026-32274","openSUSE-SU-2026:10372-1","openSUSE-SU-2026:11856-1","openSUSE-SU-2026:20417-1"],"status":"published","title":"Black: Arbitrary file writes from unsanitized user input in cache file name","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.","severity":{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00691,"percentile":0.53142,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-03-12T18:33:10Z","modified":"2026-10-28T10:15:03Z","fixes":[{"ecosystem":"PyPI","package":"black","fixed_in":["26.3.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"black","fixed_in":["25.1.0-3+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"black","fixed_in":["26.3.1-1"],"sources":["osv"]},{"ecosystem":"openEuler:24.03-LTS-SP3","package":"python-black","fixed_in":["24.2.0-3.oe2403sp3"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"black","fixed_in":["24.3.0+aikido.2","26.1.0+aikido.2","24.10.0+aikido.2","25.11.0+aikido.2","24.4.2+aikido.2","25.9.0+aikido.3","23.1a1+aikido.1","23.9.0+aikido.1","23.1.0+aikido.1","23.10.1+aikido.1","23.12.0+aikido.1","23.7.0+aikido.1","23.12.1+aikido.1","23.9.1+aikido.1","23.3.0+aikido.1","23.10.0+aikido.1","23.11.0+aikido.1","25.12.0+aikido.1","23.12.1+aikido.2","23.10.0+aikido.2","23.3.0+aikido.2","23.1a1+aikido.2","23.9.1+aikido.2","23.12.0+aikido.2","23.1.0+aikido.2","23.11.0+aikido.2","23.7.0+aikido.2","23.10.1+aikido.2","23.9.0+aikido.2","25.12.0+aikido.2"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.6","package":"python-black","fixed_in":["24.3.0-150400.9.11.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"ansible-lint","fixed_in":["26.9.0-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"24.3.0"},{"fixed":"26.3.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.1.0-1","23.10.0-1","23.10.1-1","23.11.0-1","23.3.0-1","23.3.0-1~exp1","23.7.0-1","23.9.1-1","24.1.1-1","24.10.0-1","24.10.0-2","24.10.0-3","24.2.0-1","24.4.0-1","24.4.0-2","24.4.2-1","24.4.2-2","24.4.2-2~0exp0","24.8.0-1","25.1.0-0exp","25.1.0-1","25.1.0-2","25.1.0-3","25.11.0-1","25.12.0-1","25.12.0-2","25.9.0-1","26.1.0-1","26.3.1-1","26.5.1-1","26.5.1-2"]},{"source":"osv","ecosystem":"Debian:13","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.1.0-3+deb13u1"}]}],"versions":["25.1.0-3"]},{"source":"osv","ecosystem":"Debian:14","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.3.1-1"}]}],"versions":["25.1.0-3","25.11.0-1","25.12.0-1","25.12.0-2","25.9.0-1","26.1.0-1"]},{"source":"osv","ecosystem":"PyPI","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"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"]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.2.0-3.oe2403sp3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"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"]},{"source":"osv","ecosystem":"Root:PyPI","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.3.0+aikido.2"},{"fixed":"26.1.0+aikido.2"},{"fixed":"24.10.0+aikido.2"},{"fixed":"25.11.0+aikido.2"},{"fixed":"24.4.2+aikido.2"},{"fixed":"25.9.0+aikido.3"},{"fixed":"23.1a1+aikido.1"},{"fixed":"23.9.0+aikido.1"},{"fixed":"23.1.0+aikido.1"},{"fixed":"23.10.1+aikido.1"},{"fixed":"23.12.0+aikido.1"},{"fixed":"23.7.0+aikido.1"},{"fixed":"23.12.1+aikido.1"},{"fixed":"23.9.1+aikido.1"},{"fixed":"23.3.0+aikido.1"},{"fixed":"23.10.0+aikido.1"},{"fixed":"23.11.0+aikido.1"},{"fixed":"25.12.0+aikido.1"},{"fixed":"23.12.1+aikido.2"},{"fixed":"23.10.0+aikido.2"},{"fixed":"23.3.0+aikido.2"},{"fixed":"23.1a1+aikido.2"},{"fixed":"23.9.1+aikido.2"},{"fixed":"23.12.0+aikido.2"},{"fixed":"23.1.0+aikido.2"},{"fixed":"23.11.0+aikido.2"},{"fixed":"23.7.0+aikido.2"},{"fixed":"23.10.1+aikido.2"},{"fixed":"23.9.0+aikido.2"},{"fixed":"25.12.0+aikido.2"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.3.0-150400.9.11.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.1.0-160000.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.1.0-160000.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["19.3b0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20.8b1-4","21.4b2-3","21.10b0-1","21.12b0-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.7.0-1","23.10.1-1","23.11.0-1","24.2.0-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.0-2","25.1.0-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["26.3.1-1","26.5.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["25.1.0-3","25.9.0-1","25.11.0-1","25.12.0-1","26.1.0-1","26.1.0-1build1","26.3.1-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.3.1-1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"ansible-lint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.9.0-1.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"python-black","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"25.1.0-160000.3.1"}]}],"bundled":2}],"products":[{"vendor":"psf","product":"black"},{"vendor":"python","product":"black"},{"vendor":"red hat","product":"openshift lightspeed"},{"vendor":"red hat","product":"red hat ansible automation platform 2"},{"vendor":"red hat","product":"red hat ansible automation platform 2.5"},{"vendor":"red hat","product":"red hat ansible automation platform 2.6"},{"vendor":"red hat","product":"red hat ansible automation platform ansible core 2"},{"vendor":"red hat","product":"red hat openshift ai (rhoai)"},{"vendor":"red hat","product":"red hat openshift ai 2.25"},{"vendor":"red hat","product":"red hat openshift virtualization 4"}],"references":[{"url":"https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web","report"]},{"url":"https://github.com/psf/black/pull/4176","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/psf/black/pull/5038","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web","report"]},{"url":"https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["x_refsource_MISC","vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13545","tags":["x_refsource_MISC","vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13553","tags":["x_refsource_MISC","vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-32274","tags":["x_refsource_MISC","vdb-entry","x_refsource_REDHAT","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2447111","tags":["x_refsource_MISC","issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://github.com/psf/black/releases/tag/26.3.1","tags":["x_refsource_MISC","Release Notes","web","advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/black/PYSEC-2026-2121.yaml","tags":["x_refsource_MISC","advisory","web"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32274.json","tags":["x_refsource_MISC","x_sadp-csaf-vex","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32274","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3936-cmfr-pm3m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32274.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-32274","tags":["advisory"]},{"url":"https://github.com/psf/black","tags":["package"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-4064","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20260900-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1259608","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-32274","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620928-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1259546","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-31900","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-32274","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-32274","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-32274","title":"Black: Arbitrary file writes from unsanitized user input in cache file name","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.","status":"published","published":"2026-03-12T19:47:07.464Z","modified":"2026-08-03T20:36:42.572Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-22","CWE-22"],"updated_at":"2026-11-02T14:19:57.47301Z"}],"euvd":[{"id":"EUVD-2026-11698","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.","status":"published","published":"2026-03-12T19:47:07Z","modified":"2026-08-03T20:36:42Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"updated_at":"2026-11-02T18:02:23.68186Z"}],"ghsa":[{"id":"GHSA-3936-cmfr-pm3m","title":"Black: Arbitrary file writes from unsanitized user input in cache file name","description":"### Impact\n\nBlack 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. \n\n### Patches\n\nFixed in Black 26.3.1.\n\n### Workarounds\n\nDo not allow untrusted user input into the value of the `--python-cell-magics` option.","status":"published","published":"2026-03-12T18:33:10Z","modified":"2026-08-03T20:35:17Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:40:55.903445Z"}],"nvd":[{"id":"CVE-2026-32274","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.","status":"published","published":"2026-03-12T20:16:06.35Z","modified":"2026-08-03T21:16:38.527Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:09.358914Z"}],"osv":[{"id":"CVE-2026-32274","title":"Black: Arbitrary file writes from unsanitized user input in cache file name","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.","status":"published","published":"2026-03-12T19:47:07.464Z","modified":"2026-10-28T02:30:41.597341815Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:01.218144Z"},{"id":"DEBIAN-CVE-2026-32274","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.","status":"published","published":"2026-03-12T20:16:06.35Z","modified":"2026-10-01T03:03:10.326877692Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:54.232518Z"},{"id":"GHSA-3936-cmfr-pm3m","title":"Black: Arbitrary file writes from unsanitized user input in cache file name","description":"### Impact\n\nBlack 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. \n\n### Patches\n\nFixed in Black 26.3.1.\n\n### Workarounds\n\nDo not allow untrusted user input into the value of the `--python-cell-magics` option.","status":"published","published":"2026-03-12T18:33:10Z","modified":"2026-09-10T03:50:36.703011526Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"OESA-2026-4064","title":"python-black security update","description":"The uncompromising code formatter\r\n\r\nSecurity Fix(es):\n\nBlack 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.(CVE-2026-32274)","status":"published","published":"2026-09-25T01:27:57Z","modified":"2026-09-25T01:45:12.204150961Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:47.643553Z"},{"id":"PYSEC-2026-2121","description":"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.","status":"published","published":"2026-03-12T20:16:06.35Z","modified":"2026-07-13T07:15:15.715288911Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:55.537808Z"},{"id":"ROOT-APP-PYPI-CVE-2026-32274","title":"CVE-2026-32274 in black - Patched by Root","description":"Root has patched CVE-2026-32274 in the black package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-10-28T09:56:40Z","modified":"2026-10-28T10:15:03.965934858Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:28.259095Z"},{"id":"UBUNTU-CVE-2026-32274","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.","status":"published","published":"2026-03-12T20:16:00Z","modified":"2026-10-17T12:58:09.378050332Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:56:16.036833Z"},{"id":"openSUSE-SU-2026:10372-1","title":"python311-black-26.3.1-1.1 on GA media","description":"These are all security issues fixed in the python311-black-26.3.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-03-14T00:00:00Z","modified":"2026-03-15T11:45:28.327849Z","updated_at":"2026-11-02T16:58:38.415593Z"},{"id":"openSUSE-SU-2026:11856-1","title":"ansible-lint-26.9.0-1.1 on GA media","description":"These are all security issues fixed in the ansible-lint-26.9.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-09-23T00:00:00Z","modified":"2026-09-24T18:23:14.684585092Z","updated_at":"2026-11-02T16:58:40.245664Z"},{"id":"openSUSE-SU-2026:20417-1","title":"Security update for python-black","description":"This update for python-black fixes the following issues:\n\n- CVE-2026-31900: a malicious pyproject.toml edit can lead to arbitrary code execution (bsc#1259546).\n- CVE-2026-32274: arbitrary file writes from unsanitized user input in cache file name (bsc#1259608).\n","status":"published","published":"2026-03-24T19:40:55Z","modified":"2026-03-29T17:26:30.038096Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"SUSE-SU-2026:0900-1","title":"Security update for python-black","description":"This update for python-black fixes the following issue:\n\n- CVE-2026-32274: arbitrary file writes from unsanitized user input in cache file name (bsc#1259608).\n","status":"published","published":"2026-03-13T18:33:38Z","modified":"2026-03-23T04:52:28.639874Z","updated_at":"2026-11-02T15:54:01.262144Z"},{"id":"SUSE-SU-2026:20928-1","title":"Security update for python-black","description":"This update for python-black fixes the following issues:\n\n- CVE-2026-31900: a malicious pyproject.toml edit can lead to arbitrary code execution (bsc#1259546).\n- CVE-2026-32274: arbitrary file writes from unsanitized user input in cache file name (bsc#1259608).\n","status":"published","published":"2026-03-24T19:40:56Z","modified":"2026-04-02T17:24:34.507309Z","updated_at":"2026-11-02T15:54:01.953589Z"}]}}
