{"id":"CVE-2026-24897","state":"PUBLISHED","title":"Authenticated Remote Code Execution via Arbitrary File Upload","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.\nBy 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.","publishedAt":"2026-01-28T22:24:49.915Z","updatedAt":"2026-01-29T16:54:12.343Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ErugoOSS Erugo"],"affected":[{"vendor":"ErugoOSS","product":"Erugo","versions":[{"version":"< 0.2.15","status":"affected"}]}],"references":["https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-336w-hgpq-6369","https://github.com/ErugoOSS/Erugo/commit/256bc63831a0b5e9a94cb024a0724e0cd5fa5e38","https://github.com/ErugoOSS/Erugo/releases/tag/v0.2.15"],"weaknesses":["CWE-22","CWE-94","CWE-434"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24897.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24897","state":"PUBLISHED","datePublished":"2026-01-28T22:24:49.915Z","dateUpdated":"2026-01-29T16:54:12.343Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-27T19:35:20.529Z"},"containers":{"cna":{"title":"Authenticated Remote Code Execution via Arbitrary File Upload","descriptions":[{"lang":"en","value":"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.\nBy 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":[{"vendor":"ErugoOSS","product":"Erugo","versions":[{"version":"< 0.2.15","status":"affected"}]}],"references":[{"url":"https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-336w-hgpq-6369","name":"https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-336w-hgpq-6369","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ErugoOSS/Erugo/commit/256bc63831a0b5e9a94cb024a0724e0cd5fa5e38","name":"https://github.com/ErugoOSS/Erugo/commit/256bc63831a0b5e9a94cb024a0724e0cd5fa5e38","tags":["x_refsource_MISC"]},{"url":"https://github.com/ErugoOSS/Erugo/releases/tag/v0.2.15","name":"https://github.com/ErugoOSS/Erugo/releases/tag/v0.2.15","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-28T22:24:49.915Z"},"source":{"advisory":"GHSA-336w-hgpq-6369","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ErugoOSS/Erugo/security/advisories/GHSA-336w-hgpq-6369","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-29T16:00:06.947139Z","id":"CVE-2026-24897","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-29T16:54:12.343Z"}}]}}}