CVE-2024-7340
HighWeave server API vulnerable to arbitrary file leak
Published Jul 31, 2024 · Updated Aug 12, 2026 · Also known as GHSA-r49h-6qxq-624f, PYSEC-2026-2035
Key Facts
Patch in the next maintenance window- CVE-2024-7340 is a high-severity vulnerability (CVSS 8.7 v4) affecting weave (pypi).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 5.0% probability of exploitation in the next 30 days.
- Fixed versions are available, including weave 0.50.8.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
CVSS v4
8.7
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
EPSS (30-day exploit likelihood)
5.0%
Higher than 92.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2024-7340 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| weavepypi | See advisory | 0.50.8 |
Patched Releases
weave
0.50.8
Timeline
Publicly disclosed
Jul 31, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7340.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-7340
- articlehttps://github.com/wandb/weave/commit/f43d5fb75e0d52933a52ecd9a0ce2f9b082e6c9f
- articlehttps://github.com/wandb/weave/pull/1657
FAQ
Common Questions.
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.
Affected: weave (pypi). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including weave 0.50.8.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2024-7340 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo