CVE-2026-24897
Published: 28 January 2026
Description
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…
more
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.
Mitigating Controls (NIST 800-53 r5)AI
Directly addresses insufficient validation of user-supplied paths by requiring input validation to block path traversal and arbitrary file uploads.
Enforces access control policies to prevent low-privileged users from writing files to unauthorized locations such as the public web root.
Restricts user-supplied path inputs to safe formats, lengths, and characters to mitigate path traversal attempts.
Security SummaryAI
CVE-2026-24897 affects Erugo, a self-hosted file-sharing platform, in versions up to and including 0.2.14. The vulnerability stems from insufficient validation of user-supplied paths during share creation, enabling an authenticated low-privileged user to upload arbitrary files to any specified location on the server. This flaw is classified under CWE-22 (Path Traversal), CWE-94 (Code Injection), and CWE-434 (Unrestricted Upload), with a CVSS v3.1 base score of 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H).
An attacker with low-privileged authenticated access can exploit this by specifying a writable path within the public web root, uploading and executing arbitrary code to achieve remote code execution (RCE). This grants full compromise of the Erugo instance, potentially leading to complete server control.
Erugo version 0.2.15 addresses the issue with a fix detailed in commit 256bc63831a0b5e9a94cb024a0724e0cd5fa5e38. Security practitioners should upgrade to this version immediately, as outlined in the GitHub Security Advisory GHSA-336w-hgpq-6369 and the v0.2.15 release notes.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Path traversal and unrestricted file upload in public-facing web application (Erugo) enables exploitation for RCE (T1190). Low-privileged access escalates to full server control via the vulnerability (T1068).