Skip to main content

Erugo CVE-2026-142303

| EUVDEUVD-2026-141703 MEDIUM
Path Traversal (CWE-22)
2026-12-02 VulnCheck GHSA-2cq5-x5pm-xpgp
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Erugo upload endpoint
  2. Delivery
    Craft filePaths with '.'+NUL+'.' segments
  3. Exploit
    Bypass sanitizePath into '..' traversal
  4. Execution
    Recursive mkdir escapes share root
  5. Impact
    Create 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Erugo 0.2.15 ≤0.3.2

Affected Packages

euvd erugo no fix

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Rare
niche self-hosted open-source file-share app, minimal enterprise footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy