CVE-2026-91771
Weights & Biases wandb before 0.29.0 fails to validate the file …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/wandb/wandb
- github.com/wandb/wandb/blob/v0.27.2/wandb/apis/public/files.py#L319-L347
- github.com/wandb/wandb/commit/e52558f3a6a94ea816af74969a13a35e5904cad6
- github.com/wandb/wandb/issues/12592
- github.com/wandb/wandb/releases/tag/v0.29.0
- www.vulncheck.com/advisories/weights-biases-wandb-before-0.29.0-path-traversal-via-file-do
- nvd.nist.gov/vuln/detail/CVE-2026-91771
- cve.org/CVERecord?id=CVE-2026-91771
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.