wandb is vulnerable to Path Traversal
87
High Risk
File.download writes the file returned from the W&B backend to a local path built by joining the download root with the file name from the server response. The response's file name is not checked for relative path segments, so a crafted name lets the write happen outside the intended run or artifact directory. Reachable through artifact.files() and artifact.checkout(), this can overwrite files elsewhere on disk. The fix rejects file and artifact names containing relative paths before the download proceeds.
You are affected if you are using a version that falls within the vulnerable range and download W&B artifacts or run files via artifact.files(), artifact.checkout(), or File.download() where file names may come from artifact or backend metadata you do not fully trust.
wandb is vulnerable to Path Traversal in versions 0.8.15 - 0.28.2.
Upgrade the wandb library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.