{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32274","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-03-11T15:05:48.400Z","datePublished":"2026-03-12T19:47:07.464Z","dateUpdated":"2026-03-13T16:10:51.448Z"},"containers":{"cna":{"title":"Black: Arbitrary file writes from unsanitized user input in cache file name","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/psf/black/security/advisories/GHSA-3936-cmfr-pm3m"},{"name":"https://github.com/psf/black/pull/5038","tags":["x_refsource_MISC"],"url":"https://github.com/psf/black/pull/5038"},{"name":"https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d","tags":["x_refsource_MISC"],"url":"https://github.com/psf/black/commit/4937fe6cf241139ddbfc16b0bdbb5b422798909d"},{"name":"https://github.com/psf/black/releases/tag/26.3.1","tags":["x_refsource_MISC"],"url":"https://github.com/psf/black/releases/tag/26.3.1"}],"affected":[{"vendor":"psf","product":"black","versions":[{"version":"< 26.3.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-03-12T19:47:07.464Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-3936-cmfr-pm3m","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-13T16:10:43.937677Z","id":"CVE-2026-32274","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-13T16:10:51.448Z"}}]}}