Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Erugo upload endpoint
-
DeliveryCraft filePaths with '.'+NUL+'.' segments
-
ExploitBypass sanitizePath into '..' traversal
-
ExecutionRecursive mkdir escapes share root
-
ImpactCreate empty directory trees in writable paths
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated session on Erugo (PR:L) with access to the file-upload functionality that calls UploadsController::sanitizePath. The attacker must supply a filePaths value containing '.', NUL byte, '.' segments that survive as '..' after NUL stripping, triggering recursive mkdir. Exploitation is limited by: (1) the need for valid credentials - this is not unauthenticated; (2) impact confined to creating empty directories in web-server-writable locations (no file-content write, no read, no denial of service per VI:L/VC:N/VA:N); and (3) affected versions 0.2.15 through 0.3.2 specifically. No special non-default configuration is described as required beyond having the upload feature available to the authenticated user. |
| Impact | This is a genuine but low-severity, limited-impact issue rather than a priority emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity flaw that nonetheless requires prior authentication (PR:L), and the only impact metric set is VI:L - low integrity, with VC:N (no confidentiality) and VA:N (no availability). That maps directly to the described behavior: an authenticated attacker can force recursive mkdir to create empty directory trees outside the share root, but cannot write file contents, read data, or crash the service. No EPSS score is provided in the input, there is no CISA KEV listing, and no public exploit code is referenced - the three source links are two GitHub code-location references and a VulnCheck advisory, none of which is verified working exploit code. The vuln.today decision label is 'this_month,' consistent with a real-but-not-urgent issue. The signals are internally consistent: moderate CVSS (5.3), authenticated-only, integrity-only impact, no exploitation evidence. The main caveat is scope - creating empty directories in web-server-writable locations is the confirmed effect; whether this can be chained into something more serious (e.g., interfering with application logic or enabling later file placement) is not established by the available sources and should not be assumed. |
| Exploit ScenarioDerived | An authenticated Erugo user sends an upload request whose filePaths field contains crafted '.', NUL, '.' segments; after sanitizePath collapses the NUL byte, these become '..', and the recursive mkdir walks outside the intended share root. The result is attacker-controlled empty directory trees created in web-server-writable locations. No public exploit code is referenced, and the attack requires valid authentication (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Path traversal in Erugo's UploadsController::sanitizePath (versions 0.2.15 through 0.3.2) lets an authenticated user create empty directory trees outside the configured share root. By submitting a filePaths value built from '.', NUL and '.' segments, the sanitizer collapses the sequence into '..' after NUL stripping, and the subsequent recursive mkdir walks up out of the share directory into any location writable by the web-server user. Impact is integrity-only and limited: no file content is written, read or deleted, and no denial of service results (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, 5.3); exploitation requires valid credentials and access to the upload functionality that calls the vulnerable method. No public exploit was identified at time of analysis, and the VulnCheck-sourced advisory is triaged as a this-month rather than emergency item.
RemediationAI
No vendor-released patch or fixed version is identified in the available data - the references point only to the vulnerable v0.3.2 source and the VulnCheck advisory, so upgrading cannot be prescribed with a version number here and operators should track the ErugoOSS repository and the VulnCheck advisory for a fix release. Until one ships, the most effective control is to run the web-server/PHP service account with a least-privilege filesystem posture: make the document root and every directory outside the configured share root read-only to that account so the recursive mkdir cannot escape, at the cost of confirming that normal upload, temp and cache paths remain writable. Reducing exposure of the upload feature to trusted accounts, or restricting it by role, shrinks the authenticated attacker pool (PR:L) and has the side effect of limiting self-service uploads for ordinary users. Because the traversal depends on NUL bytes in the filePaths parameter, a front-end proxy or WAF rule that rejects request bodies containing %00 or raw NUL bytes in upload metadata will block the known mechanism, though not other encodings of the same sanitisation defect. Finally, monitor for unexpected empty directory creation in web-server-writable locations under the document root or temp directories as a detection layer, noting that this is detective only and will not prevent traversal outside those audited paths.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Erugo is a self-hosted, Laravel/PHP-based file sharing application, and the flaw sits in the upload path-handling layer rather than in a network protocol. UploadsController::sanitizePath (referenced in the v0.3.2 source at lines 767-788 and 288-308) is intended to normalise user-supplied relative paths before the application calls a recursive mkdir to materialise share folders. The sanitisation order is the root cause: NUL bytes are stripped or used as a terminator in a way that leaves neighbouring '.' segments adjacent, so an input such as '.', NUL, '.' becomes '..' after processing - a classic CWE-22 improper limitation of a pathname to a restricted directory. The resulting traversal is passed to a recursive directory-creation routine, so the primitive is directory creation, not arbitrary file write: the attacker controls only the location and names of empty directories, which bounds the impact to low integrity. The CPE cpe:2.3:a:erugooss:erugo confirms the affected package is ErugoOSS Erugo, with the vulnerable range spanning 0.2.15 to 0.3.2 inclusive; the practical blast radius depends on the filesystem permissions of the PHP/nginx or Apache service account, since traversal only succeeds into paths that account can write.
Know when Erugo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable upload endpoint with low complexity but requires authentication (PR:L); impact is limited to creating empty directories, so I:L only with C:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Erugo 0.2.15 through 0.3.2 contains a path traversal vulnerability in UploadsController::sanitizePath that allows authenticated users to create directories outside the share root via NUL byte segments. Attackers can supply filePaths containing '.', NUL, '.' segments that become '..' after sanitization, causing recursive mkdir to create empty directory trees in web-server-writable locations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Erugo file-sharing platform up to version 0.2.14 has a CVSS 10.0 path traversal allowing authenticated users to read any
Missing authorization in Erugo's settings read API lets any authenticated non-admin user - including a guest holding a v
Unauthenticated attackers can brute-force the six-digit e-mail verification code in Erugo before 0.3.0, repeatedly posti
EUVD-2026-141703
GHSA-2cq5-x5pm-xpgp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB