SB20261125106 - Fedora 44 update for python-black, python-lsp-black, python-pytokens
Published: November 25, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Input validation error (CVE-ID: CVE-2026-31900)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary code in the Black GitHub Action and potentially access secrets or use permissions available to the workflow.
The vulnerability exists due to improper version validation in the Black GitHub Action when it reads the formatter version from repository configuration. A remote attacker can submit a pull request with untrusted dependency metadata to cause the action to run code from an untrusted source.
2) Path traversal (CVE-ID: CVE-2026-32274)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a local user to write cache files to arbitrary locations permitted by the Black process's filesystem permissions.
The vulnerability exists due to improper path restriction in Black's cache filename generation when it incorporates the unsanitized value of the --python-cell-magics option. A local user can control that option's value to redirect cache writes outside the intended cache directory.
Remediation
Install update from vendor's website.