Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-52787
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:31 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-52787
Complete source record
{
"id": "5512371d1190e978fb343dbc59dc5b73eb0f1a685849554db642e2680f4284e5",
"url": "https://osv.dev/vulnerability/CVE-2024-52787",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-52787",
"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.",
"evidence": "osv:CVE-2024-52787",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2024-52787",
"aliases": [
"CVE-2024-52787",
"GHSA-3864-rp2m-2qfj",
"PYSEC-2026-1537"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vemonet/libre-chat",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "dbb8e3400e5258112179783d74c9cc54310cb72b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "dbb8e3400e5258112179783d74c9cc54310cb72b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.0.6",
"0.0.5",
"0.0.4",
"0.0.3",
"0.0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52787.json"
}
}
],
"modified": "2026-10-28T02:30:24.386314201Z",
"provider": "osv",
"references": [
"https://gist.github.com/jxfzzzt/276a6e8cfbc54d2c2711bb51d8d3dff3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52787.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-52787",
"https://github.com/vemonet/libre-chat/issues/10",
"https://github.com/vemonet/libre-chat/commit/dbb8e3400e5258112179783d74c9cc54310cb72b",
"https://github.com/vemonet/libre-chat/pull/9"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52787.json"
}
},
"related_cves": [
{
"value": "CVE-2024-52787",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490908,
"published_at": "2024-11-25T00:00:00+00:00"
}