Skip to content
Medium 5.3

Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath

CVE-2026-142303 First seen on SecPulse

Summary

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 sanitizati...

Affected packages

PackageAffected → Fixed
ErugoOSSErugo
0.2.15 – 0.3.2→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details