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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-434",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24897.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.2.15"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "256bc63831a0b5e9a94cb024a0724e0cd5fa5e38"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.2.15",
"range": [
{
"fixed": "256bc63831a0b5e9a94cb024a0724e0cd5fa5e38"
}
],
"source": "REFERENCES_TAG"
}
]
}