{"id":"CVE-2024-7340","summary":"W&B Weave server remote arbitrary file leak and privilege escalation","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":["GHSA-r49h-6qxq-624f","PYSEC-2026-2035"],"modified":"2026-08-12T03:51:29.325394747Z","published":"2024-07-31T15:00:04.218Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7340.json","cna_assigner":"JFROG","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7340.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7340"},{"type":"ADVISORY","url":"https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248/"},{"type":"FIX","url":"https://github.com/wandb/weave/pull/1657"},{"type":"PACKAGE","url":"https://pypi.org/project/pip"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wandb/weave","events":[{"introduced":"0"},{"last_affected":"e1a4fcf995eaedc3b465632bbcc44ec8a15fc70b"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.50.7"}]}}],"versions":["v0.50.7","v0.50.6","v0.50.5","v0.50.4","v0.50.3","v0.50.0","v0.49.0","v0.48.0","v0.46.0","v0.44.0","v0.42.0","v0.41.0","v0.39.0","v0.38.0","v0.37.0","v0.36.0","v0.35.0","v0.34.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.0","v0.25.0","v0.24.1","v0.24.0","v0.23.0","v0.22.0","v0.21.0","v0.20.0","demo"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7340.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"}]}