Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. libre-chat
  4. ›
  5. CVE-2024-52787

CVE-2024-52787: libre-chat Path Traversal vulnerability

November 25, 2024 (updated November 27, 2024)

An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file.

References

  • gist.github.com/jxfzzzt/276a6e8cfbc54d2c2711bb51d8d3dff3
  • github.com/advisories/GHSA-3864-rp2m-2qfj
  • github.com/vemonet/libre-chat
  • github.com/vemonet/libre-chat/commit/dbb8e3400e5258112179783d74c9cc54310cb72b
  • github.com/vemonet/libre-chat/issues/10
  • github.com/vemonet/libre-chat/pull/9
  • nvd.nist.gov/vuln/detail/CVE-2024-52787

Code Behaviors & Features

Detect and mitigate CVE-2024-52787 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.6

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/libre-chat/CVE-2024-52787.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:26 +0000.