SecurityContext

CVE-2024-7340: Weave Server API - Path Traversal

  • Cve: CVE-2024-7340
  • Name: Weave Server API - Path Traversal
  • 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.
  • Impact: Remote attackers can access sensitive files, potentially leading to privilege escalation and full system compromise.
  • Remediation: Implement proper input validation and sanitize file path inputs to prevent directory traversal.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.05015
  • Epss percentile: 0.92458
  • Assignee: [email protected]
  • Published at: 2024-07-31T15:15:11Z
  • Age in days: 846
  • Modified at: 2026-06-17T08:19:53Z
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-7340
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory
CWE-20Improper Input Validation

Nuclei templates

IdUrl
CVE-2024-7340https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-7340.yaml

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-7340.yamlnuclei_templateNuclei Template
https://github.com/wandb/weave/pull/1657nvd
https://research.jfrog.com/vulnerabilities/wandb-weave-server-remote-arbitrary-file-leak-jfsa-2024-001039248/nvd

Products

ProductAffectedPlatform boundSourcesUrl
weights_&_biases:weave<= 0.50.7noadp_cpes/v1/products/weights_&_biases/weave

Projects

RepositoryLink kindsIndexedUrl
wandb/weavecommit, fix, package, pullyes/v1/repositories/wandb/weave

Index

  • Repositories: 11
  • Repositories high signal: 8
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports, exposed hosts

Nuclei template