CVE-2024-10361CWE-22

Arbitrary File Deletion via Path Traversal in danny-avila/librechat

High · published March 20, 2025

CVSS v3.0
8.1
EPSS
1%
Percentile
62.9
In the wild
Unconfirmed
What it is

⚡ An improperly validated input in the /api/files endpoint could let attackers delete any file on the server! Talk about a dangerous game of hide and seek! 😱 Think of it like a restaurant employee who has access to the storage room but doesn’t check what’s on the inventory list. This oversight allows them to take any item they want, even if it’s meant to be off-limits! In the hands of a malicious actor, this vulnerability could lead to the deletion of critical system files, vital user data, or essential application resources. The result? An absolute disaster where your system's integrity and availability could be compromised, leaving you with a gaping hole in your operations! 🔥

Put simply

Think of it like a restaurant employee who has access to the storage room but doesn’t check what’s on the inventory list. This oversight allows them to take any item they want, even if it’s meant to be off-limits! This vulnerability occurs due to improper input validation, allowing attackers to exploit path traversal techniques to delete arbitrary files beyond the intended directory. This means they can bypass security mechanisms designed to protect your files.

What to do

In the hands of a malicious actor, this vulnerability could lead to the deletion of critical system files, vital user data, or essential application resources. The result? An absolute disaster where your system's integrity and availability could be compromised, leaving you with a gaping hole in your operations! 🔥 To protect your system, update to the patched version as soon as possible and implement strict input validation checks to prevent path traversal. Regularly audit your file-handling logic for similar vulnerabilities. 🛡️ You've got this! With a little effort, you can secure your system and keep those pesky attackers at bay! 💪😊

The record
Technical detail
CVSS v3.0
8.1 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01013 · 62.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-03-20T10:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Arbitrary File Deletion via Path Traversal in danny-avila/librechat
    cvelistv5