CVE-2026-142303
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/ErugoOSS/Erugo/blob/v0.3.2/app/Http/Controllers/UploadsController.php#L288-L308
- https://github.com/ErugoOSS/Erugo/blob/v0.3.2/app/Http/Controllers/UploadsController.php#L767-L788
- https://www.vulncheck.com/advisories/erugo-0.2.15-through-0.3.2-path-traversal-via-nul-bytes-in-sanitizepath
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.