Home

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 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.

PUBLISHED Reserved 2026-01-27 | Published 2026-01-28 | Updated 2026-01-29 | Assigner GitHub_M




CRITICAL: 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-434: Unrestricted Upload of File with Dangerous Type

Product status

< 0.2.15
affected

References

github.com/.../Erugo/security/advisories/GHSA-336w-hgpq-6369 exploit

github.com/.../Erugo/security/advisories/GHSA-336w-hgpq-6369

github.com/...ommit/256bc63831a0b5e9a94cb024a0724e0cd5fa5e38

github.com/ErugoOSS/Erugo/releases/tag/v0.2.15

cve.org (CVE-2026-24897)

nvd.nist.gov (CVE-2026-24897)

Download JSON