{"id":"PYSEC-2026-2035","summary":"Weave server API vulnerable to arbitrary file leak","details":"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.","aliases":["CVE-2024-7340","GHSA-r49h-6qxq-624f"],"modified":"2026-07-07T17:46:23.961608143Z","published":"2026-07-07T14:34:38.008803Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7340"},{"type":"WEB","url":"https://github.com/wandb/weave/pull/1657"},{"type":"WEB","url":"https://github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f"},{"type":"PACKAGE","url":"https://github.com/wandb/weave"},{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248"},{"type":"PACKAGE","url":"https://pypi.org/project/weave"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r49h-6qxq-624f"}],"affected":[{"package":{"name":"weave","ecosystem":"PyPI","purl":"pkg:pypi/weave"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.50.8"}]}],"versions":["0.20.0","0.20.0.dev1","0.20.0.dev2","0.21.0","0.22.0","0.23.0","0.24.0","0.24.1","0.25.0","0.26.0","0.27.0","0.28.0","0.29.0","0.30.0","0.31.0","0.32.0","0.33.0","0.34.0","0.35.0","0.36.0","0.37.0","0.38.0","0.39.0","0.40.0","0.41.0","0.42.0","0.43.0","0.44.0","0.45.0","0.46.0","0.47.0","0.48.0","0.49.0","0.50.0","0.50.1","0.50.2","0.50.3","0.50.4","0.50.5","0.50.6","0.50.7"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/weave/PYSEC-2026-2035.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}