Improper Input Validation Affecting black package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.46% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-BLACK-15560026
  • published14 Mar 2026
  • disclosed11 Mar 2026

Introduced: 11 Mar 2026

CVE-2026-31900  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 black.

NVD Description

Note: Versions mentioned in the description apply only to the upstream black package and not the black package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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 URL reference to a malicious repository. This could lead to arbitrary code execution in the context of the GitHub Action. Attackers could then gain access to secrets or permissions available in the context of the action. Version 26.3.0 fixes this vulnerability.

CVSS Base Scores

version 3.1