/

CVE-2026-110116

Severity:

CRITICAL RISK

(9.1)

Path Traversal (CWE-22) in Risesoft-y9 FileManager

CVE-2026-110116

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Write and Potential Remote Code Execution

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Risesoft-y9 Digital-Infrastructure contains a path traversal vulnerability in the FileManager storeFile endpoint. An unauthenticated attacker may manipulate path-related parameters to write or overwrite files in locations writable by the service, potentially enabling code execution when those files are later processed.

Risesoft-y9 Digital-Infrastructure contains a path traversal vulnerability in the FileManager storeFile endpoint. An unauthenticated attacker may manipulate path-related parameters to write or overwrite files in locations writable by the service, potentially enabling code execution when those files are later processed.

Affected context

The issue affects deployments of Risesoft-y9 Digital-Infrastructure versions 9.6.5 through 9.6.11 where the FileManager storeFile functionality accepts client-controlled path and filename values. Risk is higher when the service account can write to executable, configuration, or otherwise security-sensitive locations and when the endpoint is reachable without authentication.

The issue affects deployments of Risesoft-y9 Digital-Infrastructure versions 9.6.5 through 9.6.11 where the FileManager storeFile functionality accepts client-controlled path and filename values. Risk is higher when the service account can write to executable, configuration, or otherwise security-sensitive locations and when the endpoint is reachable without authentication.

Exploit preconditions

  • Attack surface: The HTTP POST /rest/storeFile endpoint
  • Required access: Network access to the endpoint; authentication may not be required
  • Trigger point: Processing of attacker-controlled fullPath and fileName parameters
  • Why exploitation is possible: Path values are not sufficiently constrained to the intended storage directory, allowing writes outside the expected location when the service has appropriate filesystem permissions
  • Attack surface: The HTTP POST /rest/storeFile endpoint
  • Required access: Network access to the endpoint; authentication may not be required
  • Trigger point: Processing of attacker-controlled fullPath and fileName parameters
  • Why exploitation is possible: Path values are not sufficiently constrained to the intended storage directory, allowing writes outside the expected location when the service has appropriate filesystem permissions

Why this happens

The vulnerability results from insufficient canonicalization and validation of user-controlled filesystem paths. When an application combines attacker-supplied directory and filename values with filesystem operations without enforcing a trusted storage root, traversal sequences or absolute paths may escape the intended directory. This maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

The vulnerability results from insufficient canonicalization and validation of user-controlled filesystem paths. When an application combines attacker-supplied directory and filename values with filesystem operations without enforcing a trusted storage root, traversal sequences or absolute paths may escape the intended directory. This maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

Potential impact

  • An attacker may create or overwrite service-writable files
  • Application configuration or data may be modified
  • Sensitive files could be damaged or replaced where permissions allow
  • Code execution may occur if a written file is later loaded or executed by the service
  • The affected application or host may be compromised
  • The vulnerability could support persistence or follow-on attacks
  • An attacker may create or overwrite service-writable files
  • Application configuration or data may be modified
  • Sensitive files could be damaged or replaced where permissions allow
  • Code execution may occur if a written file is later loaded or executed by the service
  • The affected application or host may be compromised
  • The vulnerability could support persistence or follow-on attacks

General mitigation guidance

Mitigation generally focuses on enforcing a strict storage boundary and reducing trust in client-supplied path components.

Common defensive patterns include:

  • Resolve candidate paths canonically and verify that they remain under an approved storage directory
  • Prefer server-generated filenames and opaque object identifiers over client-controlled paths
  • Reject absolute paths, traversal sequences, unexpected separators, and ambiguous encodings
  • Apply allowlists for permitted file types and storage locations where appropriate
  • Ensure the service account has only the filesystem permissions required for its function
  • Keep writable directories separate from executable code, application configuration, and sensitive data
  • Require authentication and authorization for file-management operations when feasible
  • Use secure-by-default storage APIs that do not accept unrestricted filesystem paths

Mitigation generally focuses on enforcing a strict storage boundary and reducing trust in client-supplied path components.

Common defensive patterns include:

  • Resolve candidate paths canonically and verify that they remain under an approved storage directory
  • Prefer server-generated filenames and opaque object identifiers over client-controlled paths
  • Reject absolute paths, traversal sequences, unexpected separators, and ambiguous encodings
  • Apply allowlists for permitted file types and storage locations where appropriate
  • Ensure the service account has only the filesystem permissions required for its function
  • Keep writable directories separate from executable code, application configuration, and sensitive data
  • Require authentication and authorization for file-management operations when feasible
  • Use secure-by-default storage APIs that do not accept unrestricted filesystem paths

How teams detect issues like this

Detection approaches commonly include:

  • Static analysis for filesystem APIs that concatenate or resolve paths using request parameters
  • Code review checks for missing canonicalization, prefix-boundary validation, or filename allowlists
  • Dynamic testing of file endpoints with traversal variants, encoded separators, absolute paths, and alternate path representations
  • Web application firewall or API policy rules that monitor suspicious path components and unexpected write targets
  • Audit logging for file creation, overwrites, and writes outside approved directories
  • Automated security testing tools that identify path traversal and arbitrary file-write behavior

Detection approaches commonly include:

  • Static analysis for filesystem APIs that concatenate or resolve paths using request parameters
  • Code review checks for missing canonicalization, prefix-boundary validation, or filename allowlists
  • Dynamic testing of file endpoints with traversal variants, encoded separators, absolute paths, and alternate path representations
  • Web application firewall or API policy rules that monitor suspicious path components and unexpected write targets
  • Audit logging for file creation, overwrites, and writes outside approved directories
  • Automated security testing tools that identify path traversal and arbitrary file-write behavior

Sources

SourceLink
github.comgithub.com/risesoft-y9/Digital-Infrastructure/blob/v9.6.11/y9-digitalbase-module/y9-module-filemanager/risenet-y9boot-webapp-filemanager/src/main/java/net/risesoft/y9public/controller/Y9FileController.java#L168-L182
hackmd.iohackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/digital-infrastructure-filemanager-path-traversal-rw
vulncheck.comvulncheck.com/advisories/digital-infrastructure-9.6.5-through-9.6.11-path-traversal-via-filemanager-storefile

Frequently asked

questions

Yes, it may be remotely exploitable when the storeFile endpoint is network-accessible and permits unauthenticated requests. The practical impact depends on filesystem permissions and deployment configuration.

The attacker generally needs network access to the endpoint. Authentication may not be required, but the service must have write permission to a location affected by the supplied path values.

Restrict all writes to a server-controlled storage directory, canonicalize and validate the resulting path, and avoid accepting unrestricted client-supplied filesystem paths.

Use secure file-storage abstractions, generate filenames on the server, enforce least-privilege filesystem permissions, validate inputs at a trust boundary, and monitor file-write activity.

Yes, it may be remotely exploitable when the storeFile endpoint is network-accessible and permits unauthenticated requests. The practical impact depends on filesystem permissions and deployment configuration.

The attacker generally needs network access to the endpoint. Authentication may not be required, but the service must have write permission to a location affected by the supplied path values.

Restrict all writes to a server-controlled storage directory, canonicalize and validate the resulting path, and avoid accepting unrestricted client-supplied filesystem paths.

Use secure file-storage abstractions, generate filenames on the server, enforce least-privilege filesystem permissions, validate inputs at a trust boundary, and monitor file-write activity.

Find out what's already
exploitable in your codebase.