black (PyPI)

Known vulnerabilities and malicious package reports for black on PyPI, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 4 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-fj7x-q9j7-g6q6: Vulnerability

Black vulnerable to Regular Expression Denial of Service (ReDoS)

Published .

Updated .

Affected ranges: introduced 0, fixed 24.3.0.

Fix versions reported by the advisory: 24.3.0.

Severity: MEDIUM.

CVE-2024-21503

GHSA-3936-cmfr-pm3m: Vulnerability

Black: Arbitrary file writes from unsanitized user input in cache file name

Published .

Updated .

Reported affected releases: 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.

Affected ranges: introduced 24.3.0, fixed 26.3.1.

Fix versions reported by the advisory: 26.3.1.

Severity: HIGH.

CVE-2026-32274

PYSEC-2026-2120: Vulnerability

Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A malicious pull request could edit pyproject.toml to use a direct …

Published .

Updated .

Affected ranges: introduced 0, fixed 26.3.0.

Fix versions reported by the advisory: 26.3.0.

Severity: CRITICAL.

CVE-2026-31900

GHSA-cg8m-r9f2-5wm2: Vulnerability

Black: GitHub Action installs unvalidated required-version from pyproject.toml

Published .

Updated .

Affected ranges: introduced 0, fixed 26.10.1.

Fix versions reported by the advisory: 26.10.1.

Severity: HIGH.

CVE-2026-114134

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.