Improper input validation in Psf Black
CVE-2026-31900
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 malic…
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.001 (25.3th percentile) — read the EPSS interpretation.
Affected products
- Psf Black — versions < 26.3.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/psf/black/security/advisories/GHSA-v53h-f6m7-xcgm (x_refsource_CONFIRM)
- https://github.com/psf/black/commit/0a2560b981364dde4c8cf8ce9d164c40669a8611 (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-31900?
- CVE-2026-31900 is a vulnerability in Psf Black, classified under Improper Input Validation. Published 2026-03-11.
- Is CVE-2026-31900 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.