{"id":"CVE-2024-7340","aliases":["EUVD-2024-2408","GHSA-r49h-6qxq-624f","PYSEC-2026-2035"],"status":"published","title":"W\u0026B Weave server remote arbitrary file leak and privilege escalation","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.05015,"percentile":0.92309,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-22"],"published":"2024-07-31T15:00:04Z","modified":"2026-10-28T02:31:03Z","exploits":[{"source":"nuclei","id":"CVE-2024-7340","title":"W\u0026B Weave Server - Remote Arbitrary File Leak","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-7340.yaml"}],"fixes":[{"ecosystem":"PyPI","package":"weave","fixed_in":["0.50.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"weave","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.50.8"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"products":[{"vendor":"weights_\\\u0026_biases","product":"weave"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248/","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/wandb/weave/pull/1657","tags":["patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7340","tags":["advisory"]},{"url":"https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248","tags":["web"]},{"url":"https://github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r49h-6qxq-624f","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7340.json","tags":["advisory"]},{"url":"https://pypi.org/project/pip","tags":["package"]},{"url":"https://github.com/wandb/weave","tags":["package"]},{"url":"https://pypi.org/project/weave","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-7340","title":"W\u0026B Weave server remote arbitrary file leak and privilege escalation","description":"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.","status":"published","published":"2024-07-31T15:00:04.218Z","modified":"2024-11-25T12:44:07.639Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-22","CWE-20"],"updated_at":"2026-11-02T14:34:20.673123Z"}],"euvd":[{"id":"EUVD-2024-2408","description":"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.","status":"published","published":"2024-07-31T15:00:04Z","modified":"2024-11-25T12:44:07Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:04:49.212921Z"}],"ghsa":[{"id":"GHSA-r49h-6qxq-624f","title":"Weave server API vulnerable to arbitrary file leak","description":"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.","status":"published","published":"2024-07-31T15:31:19Z","modified":"2024-08-02T15:58:25Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20","CWE-22"],"updated_at":"2026-11-02T14:37:57.422393Z"}],"nvd":[{"id":"CVE-2024-7340","description":"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.","status":"published","published":"2024-07-31T15:15:11.203Z","modified":"2026-06-17T08:19:53.833Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-22","CWE-20"],"updated_at":"2026-11-02T14:10:15.933769Z"}],"osv":[{"id":"CVE-2024-7340","title":"W\u0026B Weave server remote arbitrary file leak and privilege escalation","description":"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.","status":"published","published":"2024-07-31T15:00:04.218Z","modified":"2026-10-28T02:31:03.560470118Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:45.405014Z"},{"id":"GHSA-r49h-6qxq-624f","title":"Weave server API vulnerable to arbitrary file leak","description":"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.","status":"published","published":"2024-07-31T15:31:19Z","modified":"2026-07-07T17:56:29.84426965Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-20","CWE-22"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"PYSEC-2026-2035","title":"Weave server API vulnerable to arbitrary file leak","description":"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.","status":"published","published":"2026-07-07T14:34:38.008803Z","modified":"2026-07-07T17:46:23.961608143Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"updated_at":"2026-11-02T15:52:55.537808Z"}]}}
