PyPI (Python)Worst: High3 advisories

black: known vulnerabilities

black has 3 reviewed security advisories in the GitHub Advisory Database — 2 high, 1 moderate. The most recent was published 2026-10-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the black versions running across your servers, containers and images, and ranks what to patch first.

How to fix black

Upgrade black to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade black (pin black>=26.10.1)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Black: GitHub Action installs unvalidated required-version from pyproject.toml High CWE-829 — Affected: before 26.10.1. Fixed in 26.10.1. Published 2026-10-22. GHSA-cg8m-r9f2-5wm2 · CVE-2026-114134
Black: Arbitrary file writes from unsanitized user input in cache file name High 7.5 CWE-22 — Affected: from 24.3.0 up to 26.3.1. Fixed in 26.3.1. Published 2026-03-12. GHSA-3936-cmfr-pm3m · CVE-2026-32274
Black vulnerable to Regular Expression Denial of Service (ReDoS) Moderate 5.3 CWE-1333 CWE-75 — Affected: before 24.3.0. Fixed in 24.3.0. Published 2024-03-19. GHSA-fj7x-q9j7-g6q6 · CVE-2024-21503

Find black across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.