Weave server API vulnerable to arbitrary file leak
The Weave server API allows remote users to fetch files from a specific directory, but due to a lack of input validation, it is possible to traverse and leak arbitrary files remotely. In various common scenarios, this allows a low-privileged user to assume the role of the server admin.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | weave | < 0.50.8 | 0.50.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7340
- https://github.com/wandb/weave/pull/1657
- https://github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f
- https://github.com/wandb/weave
- https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248
- https://pypi.org/project/weave
- https://github.com/advisories/GHSA-r49h-6qxq-624f
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20, CWE-22- Platform
- Python (PyPI)
- Package
weave- Disclosed
- 31.07.2024
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2035 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-r49h-6qxq-624f - CC BY 4.0
Vulnerability history: weave
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.