PT-2026-25073

CVE-2026-32274

·

Publicado

2026-01-01

·

Atualizado

2026-10-28

Descrição por

CVSS 4.0
8.7
Alta
MétricasAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Black versions prior to 26.3.1
Description Black, a Python code formatter, prior to version 26.3.1, improperly sanitizes user-supplied input when constructing the filename for a cache file. Specifically, the value provided to the --python-cell-magics option is directly incorporated into the filename without validation. This allows an attacker who can control the value of the --python-cell-magics argument to write cache files to arbitrary locations on the file system. The vulnerable component is the process of creating the cache filename. The vulnerable parameter is --python-cell-magics.
Recommendations Versions prior to 26.3.1 should be updated to version 26.3.1 or later. Do not allow untrusted user input to be used as the value for the --python-cell-magics option.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-3936-CMFR-PM3M
CLEANSTART-2026-XE98234
ECHO-C5B6-7968-60AF
OESA-2026-4064
OPENSUSE-SU-2026:10372-1
OPENSUSE-SU-2026:11856-1
OPENSUSE-SU-2026:20417-1
PYSEC-2026-2121
SUSE-SU-2026:0900-1
SUSE-SU-2026:20928-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾