cve.bz

CVE-2026-91771 wandb wandb: Path traversal

8.7 highEPSS 1.2%

High (8.7) in wandb wandb. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
Weights & Biases wandb before 0.29.0 fails to validate the file name from server responses in the File.download function, allowing path traversal attacks. Attackers controlling the backend can supply file names with directory traversal sequences to write files outside the intended download directory, potentially enabling code execution through modification of shell startup files or Python import paths.

Severity

CVSS 4.0

8.7 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-91771 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-91771?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-91771?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-91771 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
wandbbefore 0.29.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT-severity path traversal flaw was found in the Weights & Biases (wandb) client. The File.download function does not validate file names returned by the backend server, so an attacker who controls the backend (for example, a malicious or compromised W&B server) can supply file names containing directory traversal sequences. When a user initiates a download from such a backend, the file is written outside the intended download directory, which can lead to arbitrary code execution, for example through modification of shell startup files or Python import paths. Red Hat products are affected through the wandb Python dependency: Red Hat AI Inference Server (rhaiis/vllm-cpu-rhel9 and rhaiis/vllm-tpu-rhel9 containers) and the Exploit Intelligence vulnerability-analysis-rhel9 container bundle affected wandb versions. The resolution for these affected products is delegated to the respective product streams, which assessed that a fix will not be pursued; the residual risk is limited to users who download files through a wandb client connected to a backend controlled by an attacker. Red Hat's severity (CVSS 8.8, CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is consistent with the upstream CVSS v3.1 score, while the upstream CVSS v4.0 score is 8.7.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. The upstream project addressed this issue in wandb 0.29.0; updating the bundled wandb dependency to a fixed upstream version would address the issue in the affected Red Hat products.

ProductPackageStateAdvisory
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Will not fix
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-91771.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON