CVE-2024-52787 json
libre-chat Path Traversal vulnerability
published 2024-11-25 23 mo ago modified 2026-07-07 4 mo ago also GHSA-3864-rp2m-2qfj , PYSEC-2026-1537 , EUVD-2024-3339
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/vemonet/libre-chat@dbb8e34 commit
- github.com/vemonet/libre-chat#9 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | libre-chat | <=0.0.6 |
no fix listed |
Affected products
- librechat librechat
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/vemonet/libre-chat/pull/9
web
-
github.com
/vemonet/libre-chat/commit/dbb8e3400e5258112179783d74c9cc54310cb72b
web
-
github.com
/vemonet/libre-chat/issues/10
web
-
gist.github.com
/jxfzzzt/276a6e8cfbc54d2c2711bb51d8d3dff3
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-52787
advisory
-
github.com
/vemonet/libre-chat
package
-
pypi.org
/project/libre-chat
package
-
github.com
/advisories/GHSA-3864-rp2m-2qfj
advisory
Sources
- CVE List CVE-2024-52787
- GitHub Advisory GHSA-3864-rp2m-2qfj
- NVD CVE-2024-52787
- OSV PYSEC-2026-1537
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.