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.
https://github.com/wandb/wandb/releases/tag/v0.29.0
https://github.com/wandb/wandb/issues/12592
https://github.com/wandb/wandb/commit/e52558f3a6a94ea816af74969a13a35e5904cad6
https://github.com/wandb/wandb/blob/v0.27.2/wandb/apis/public/files.py#L319-L347
Published: 2026-09-15
Updated: 2026-09-15
Base Score: 10
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Severity: Critical
Base Score: 8.8
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High
Base Score: 8.7
Vector: 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
Severity: High
EPSS: 0.00731