{"id":"GHSA-r49h-6qxq-624f","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","PYSEC-2026-2035"],"modified":"2026-07-07T17:56:29.844269650Z","published":"2024-07-31T15:31:19Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-07-31T20:54:48Z","nvd_published_at":"2024-07-31T15:15:11Z","cwe_ids":["CWE-20","CWE-22"],"severity":"HIGH"},"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"}],"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/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-r49h-6qxq-624f/GHSA-r49h-6qxq-624f.json"}}],"schema_version":"1.9.0","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"}]}