Weights & Biases wandb before 0.29.0 Path Traversal via File Download
cve-program · CVE-2026-91771
PublishedWeights & 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-91771 · CVE overview and exploitation status
cve-program · CVE-2026-91771
- https://github.com/wandb/wandb/issues/12592
- https://github.com/wandb/wandb/commit/e52558f3a6a94ea816af74969a13a35e5904cad6
- https://github.com/wandb/wandb/releases/tag/v0.29.0
- https://github.com/wandb/wandb/blob/v0.27.2/wandb/apis/public/files.py#L319-L347
- https://github.com/wandb/wandb
- https://www.vulncheck.com/advisories/weights-biases-wandb-before-0.29.0-path-traversal-via-file-download
Related changes
Linked by CVE identifierNo related changes are available here.