cbcvebase.
CVE-2026-24897
published 2026-01-28

CVE-2026-24897: Erugo is a self-hosted file-sharing platform. In versions up to and including 0.2.14, an authenticated low-privileged user can upload arbitrary files to any…

PriorityP274high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
3.01%
85.7th percentile
Erugo is a self-hosted file-sharing platform. In versions up to and including 0.2.14, an authenticated low-privileged user can upload arbitrary files to any specified location due to insufficient validation of user‑supplied paths when creating shares. By specifying a writable path within the public web root, an attacker can upload and execute arbitrary code on the server, resulting in remote code execution (RCE). This vulnerability allows a low-privileged user to fully compromise the affected Erugo instance. Version 0.2.15 fixes the issue.

Affected

2 ranges
VendorProductVersion rangeFixed in
erugoerugo<= 0.2.14
erugoosserugo< 0.2.150.2.15

Detection & IOCsextracted from sources · hover to see the quote

url/api/auth/login
url/files/
url/api/uploads/create-share-from-uploads
path../../../../../public/<shell_name>
otherfiletype: application/x-php
otherContent-Type: application/offset+octet-stream
  • Detect Tus protocol file creation (POST) to /files/ followed by a PATCH to the returned Location header — characteristic of the exploit's two-step upload sequence.
  • Alert on POST requests to /api/uploads/create-share-from-uploads where the JSON body contains a filePaths value with path traversal sequences (e.g., '../') pointing into the public web root.
  • Flag Tus upload requests (POST/PATCH) that include an Upload-Metadata header advertising a filetype of application/x-php, indicating an attempt to upload a PHP webshell.
  • Monitor for GET requests to files in the web root (e.g., /<filename>.php?cmd=<command>) immediately after a share-creation API call, indicating webshell execution.
  • Detect the exploit's share creation payload: a JSON body to /api/uploads/create-share-from-uploads containing the key upload_id set to the literal string 'exploit'.
  • Low-privileged authenticated users (non-admin) issuing API calls to /api/uploads/create-share-from-uploads should be treated as high-risk and audited for path traversal in filePaths values.
  • ·The vulnerability is present in Erugo versions up to and including 0.2.14; version 0.2.15 patches the path traversal. Ensure the instance is upgraded before relying solely on detection.
  • ·Exploitation requires valid credentials for any low-privileged account; detection rules should correlate the authentication step (/api/auth/login) with subsequent upload and share-creation API calls from the same session/token.
  • ·The exploit uses the Tus resumable-upload protocol (Upload-Length / Upload-Offset headers); WAF or proxy rules must be capable of inspecting Tus-specific headers to catch the upload phase.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.