Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-32274

published high CVSS 4.0 · 8.7

Black: Arbitrary file writes from unsanitized user input in cache file name

Published
12 Mar 2026, 19:47:07 UTC
Updated
03 Aug 2026, 20:36:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
psf — black>= 24.3.0, < 26.3.1 Affected Not stated GitHub_M
Red Hat — ansible-automation-platform-25/hub-rhel8Red Hat Ansible Automation Platform 2.5 · 1777393635 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-25/lightspeed-rhel8Red Hat Ansible Automation Platform 2.5 · 1777403872 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/ansible-dev-tools-rhel9Red Hat Ansible Automation Platform 2.6 · 1777390240 and later · Other versions: affected Unaffected Not stated redhat-SADP
SUSE / openSUSE SLE-16 python313-blacknoarch Advisory build 25.1.0-160000.3.1 SUSE-SU-2026:20928-1
SUSE / openSUSE openSUSE-Leap-15.6 python311-blacknoarch Advisory build 24.3.0-150400.9.11.1 SUSE-SU-2026:0900-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-blacknoarch Advisory build 25.1.0-160000.3.1 OPENSUSE-SU-2026:20417-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-lintaarch64 Advisory build 26.9.0-1.1 OPENSUSE-SU-2026:11856-1
Show 36 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — ansible-automation-platform-26/ee-minimal-rhel9Red Hat Ansible Automation Platform 2.6 · 1777387537 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/hub-rhel9Red Hat Ansible Automation Platform 2.6 · 1777299023 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/lightspeed-rhel9Red Hat Ansible Automation Platform 2.6 · 1777387242 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/platform-resource-runner-rhel9Red Hat Ansible Automation Platform 2.6 · 1777390333 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Red Hat OpenShift AI 2.25 · 1776319193 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Red Hat OpenShift AI 2.25 · 1776319179 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Red Hat OpenShift AI 2.25 · 1776319185 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Red Hat OpenShift AI 2.25 · 1776318795 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 2.25 · 1776319453 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 2.25 · 1776336534 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Red Hat OpenShift AI 2.25 · 1776319275 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9OpenShift Lightspeed Affected Not stated redhat-SADP
Red Hat — ansible-automation-platform-26/ee-supported-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform/ee-minimal-rhel8Red Hat Ansible Automation Platform Ansible Core 2 Affected Not stated redhat-SADP
Red Hat — ansible-automation-platform/ee-minimal-rhel9Red Hat Ansible Automation Platform Ansible Core 2 Affected Not stated redhat-SADP
Red Hat — ansible-automation-platform-tech-preview/ee-minimal-rhel8Red Hat Ansible Automation Platform Ansible Core 2 Affected Not stated redhat-SADP
Red Hat — ansible-automation-platform-tech-preview/ee-minimal-rhel9Red Hat Ansible Automation Platform Ansible Core 2 Affected Not stated redhat-SADP
Red Hat — rhoai/odh-kserve-agent-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-kserve-controller-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-kserve-router-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-kserve-storage-initializer-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-mlflow-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-model-registry-rhel8Red Hat OpenShift AI (RHOAI) Affected Not stated redhat-SADP
Red Hat — rhoai/odh-training-operator-rhel8Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP
Red Hat — container-native-virtualization/vm-network-latency-checkup-rhel9Red Hat OpenShift Virtualization 4 Affected Not stated redhat-SADP
SUSE / openSUSE openSUSE-Tumbleweed ansible-lintppc64le Advisory build 26.9.0-1.1 OPENSUSE-SU-2026:11856-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-lints390x Advisory build 26.9.0-1.1 OPENSUSE-SU-2026:11856-1
SUSE / openSUSE openSUSE-Tumbleweed ansible-lintx86_64 Advisory build 26.9.0-1.1 OPENSUSE-SU-2026:11856-1
SUSE / openSUSE openSUSE-Tumbleweed python311-blackaarch64 Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python311-blackppc64le Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python311-blacks390x Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python311-blackx86_64 Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-blackaarch64 Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-blackppc64le Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-blacks390x Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-blackx86_64 Advisory build 26.3.1-1.1 OPENSUSE-SU-2026:10372-1

Description

Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.

en · GitHub_M · cna

en · redhat-SADP · adp

A user input sanitization flaw has been discovered in the Black python code formatter. Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations.

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
psf black >= 24.3.0, < 26.3.1 (affected) GitHub_M · cna
Red Hat Red Hat Ansible Automation Platform 2.5 1777393635 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.5 1777403872 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1777390240 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1777387537 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1777299023 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1777387242 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2.6 1777390333 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776319193 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776319179 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776319185 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776318795 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776319453 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776336534 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 2.25 1776319275 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat OpenShift Lightspeed Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 Default: affected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform Ansible Core 2 Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift Virtualization 4 Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (redhat-SADP · adp)

References

13

Provider assertions

3

GitHub_M · cna

Black: Arbitrary file writes from unsanitized user input in cache file name

redhat-SADP · adp

black: Black: Arbitrary file writes from unsanitized user input in cache file name

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a8b7a166f0445137d0cdcb6bd2aa34024d0562a552a37c6064d5f6313b856291
Ingested
23 Sep 2026, 09:10:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected