CVE-2026-91771
highWeights & Biases wandb before 0.29.0 fails to validate the file name from server responses in the File.download function, allowing path traversal attacks.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/wandb/wandb disclosure@vulncheck.com
- https://github.com/wandb/wandb/blob/v0.27.2/wandb/apis/public/files.py#L319-L347 disclosure@vulncheck.com
- https://github.com/wandb/wandb/commit/e52558f3a6a94ea816af74969a13a35e5904cad6 disclosure@vulncheck.com
- https://github.com/wandb/wandb/issues/12592 disclosure@vulncheck.com
- https://github.com/wandb/wandb/releases/tag/v0.29.0 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/weights-biases-wandb-before-0.29.0-path-traversal-via... disclosure@vulncheck.com
