{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142303","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-12-02T15:29:16.283Z","datePublished":"2026-12-02T16:48:50.761Z","dateUpdated":"2026-12-02T20:21:25.399Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-12-02T16:48:50.761Z"},"title":"Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22","type":"CWE"}]}],"affected":[{"vendor":"ErugoOSS","product":"Erugo","defaultStatus":"unaffected","versions":[{"version":"0.2.15","versionType":"semver","status":"affected","lessThanOrEqual":"0.3.2"}],"packageURL":"pkg:github/ErugoOSS/Erugo","repo":"https://github.com/ErugoOSS/Erugo"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:erugo:erugo:*:*:*:*:*:*:*:*","versionStartIncluding":"0.2.15","versionEndIncluding":"0.3.2"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/ErugoOSS/Erugo/blob/v0.3.2/app/Http/Controllers/UploadsController.php#L767-L788","tags":["technical-description"]},{"url":"https://github.com/ErugoOSS/Erugo/blob/v0.3.2/app/Http/Controllers/UploadsController.php#L288-L308","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/erugo-0.2.15-through-0.3.2-path-traversal-via-nul-bytes-in-sanitizepath","name":"VulnCheck Advisory: Erugo 0.2.15 through 0.3.2 Path Traversal via NUL Bytes in sanitizePath","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-02T20:21:17.820514Z","id":"CVE-2026-142303","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-02T20:21:25.399Z"}}]}}