CVE-2026-142303: Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
Erugo Erugo>=0.2.15<=0.3.2

Event History

Dec 2, 2026
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be authenticated and able to submit file paths to the affected upload handling. The vulnerable behavior can create directories in locations writable by the web server outside the intended share root.

2

What is the practical impact of exploitation?

The issue enables creation of empty directory trees outside the share root through path traversal. The provided information does not indicate that it permits writing file contents outside the share root or reading existing files.

3

What input pattern is required?

The attacker supplies filePaths containing segments consisting of a dot, a NUL byte, and a dot. After sanitization, these segments become '..', which can cause recursive directory creation to traverse outside the share root.

4

Which releases are affected?

Erugo versions 0.2.15 through 0.3.2 are identified as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203