CVE-2026-24897

Authenticated Remote Code Execution via Arbitrary File Upload

Published Jan 28, 2026 CVSS 3.1 · 10 Critical EPSS 4.2% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An authenticated, low‑privileged user can upload arbitrary files to any location within the Erugo instance because the application does not properly validate user‑supplied paths when creating shares. The vulnerability is a classic path traversal and arbitrary file upload flaw, corresponding to CWEs 22, 434, and 94. An attacker who exploits it can place executable code in the public web root and trigger its execution, which results in full compromise of the affected Erugo instance, allowing the attacker to execute commands, exfiltrate data, or alter system configuration.

Affected Systems

The affected product is Erugo (provided by ErugoOSS) and all releases up to and including version 0.2.14 are vulnerable. Version 0.2.15 contains a fix and removes the path validation flaw.

Risk and Exploitability

The vulnerability scores a base CVSS of 10.0, indicating critical impact, while the EPSS score is 3%, indicating a higher current exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be local to the web application, requiring only an authenticated low‑privileged user account to create a share with a specified path, and to construct a path that places a file under a writable location within the web root. Exploitation therefore requires legitimate login credentials and the ability to control the share path. If an attacker can obtain or compromise these credentials, the risk escalates sharply to complete server compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Erugo to version 0.2.15 or later to apply the vendor patch that validates share paths and removes the upload vulnerability.
  • If an upgrade cannot be performed immediately, limit the set of directories that can receive uploads and enforce strict directory checks on the server side to prevent placement of files outside approved locations.
  • Configure the web server to deny execution permissions on the public web root and any upload directories, ensuring that even if malicious files are deposited, they cannot be executed.

Generated by OpenCVE AI on June 18, 2026 at 05:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Erugo
Erugo erugo
CPEs cpe:2.3:a:erugo:erugo:*:*:*:*:*:*:*:*
Vendors & Products Erugo
Erugo erugo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Erugooss
Erugooss erugo
Vendors & Products Erugooss
Erugooss erugo
Type Values Removed Values Added
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.
Title Authenticated Remote Code Execution via Arbitrary File Upload
Weaknesses CWE-22
CWE-434
CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 29, 2026, 4:54 PM
Reserved
Jan 27, 2026, 7:35 PM
Status
Analyzed
Published
Jan 28, 2026, 11:15 PM
Modified
Jun 17, 2026, 10:23 AM