/

CVE-2026-102119

Severity:

HIGH RISK

(7.2)

Path Traversal (CWE-22) in Administrative File Feature

CVE-2026-102119

Analyzed

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Modification and Potential Code Execution

Severity:

HIGH RISK

(7.2)

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

An optional, non-default administrative feature contains a path traversal weakness that can let an authenticated administrator move files outside the feature's intended directory. If an attacker can influence file destinations, the misplaced files could potentially be used to execute arbitrary code on the underlying system.

Affected context

The weakness occurs in deployments where the optional administrative file-management feature is enabled and accepts administrator-controlled file locations. The risk depends on insufficient restriction of destination paths, allowing files to be moved beyond the feature's designated directory and potentially into locations that affect application or system behavior.

Exploit preconditions

  • Attack surface: Optional administrative file-management functionality
  • Required access: Authenticated administrator privileges
  • Trigger point: A file-move operation that processes a controllable destination path
  • Why exploitation is possible: Destination validation may not adequately constrain paths to the feature's intended directory, permitting writes or moves to unintended filesystem locations

Why this happens

The underlying bug is a failure to canonicalize and constrain user-influenced file paths before performing filesystem operations. Relative traversal components or equivalent path representations can cause a destination to resolve outside an intended directory. This maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

Potential impact

  • Files may be moved to unauthorized locations
  • Application configuration or executable files could be overwritten
  • The underlying service may execute attacker-controlled code
  • System integrity or availability could be affected
  • Sensitive files may become exposed or misplaced

General mitigation guidance

Mitigation generally focuses on enforcing a strict filesystem trust boundary for administrative file operations.

Common defensive patterns include:

  • Resolve and validate canonical paths before any move or write operation
  • Require destinations to remain within an explicitly configured directory
  • Prefer server-selected identifiers or allowlisted filenames over user-supplied paths
  • Reject traversal sequences, absolute paths, and ambiguous path encodings as defense-in-depth
  • Keep administrative features disabled by default when they are not required
  • Apply least privilege to the service account and filesystem permissions
  • Separate writable data directories from executable code and sensitive configuration locations

How teams detect issues like this

Organizations can look for path traversal risks through:

  • Static analysis rules targeting filesystem APIs that receive user-controlled path values
  • Code review checks for missing canonicalization and directory-boundary validation
  • Tests covering relative traversal, absolute paths, symbolic links, and alternate path representations
  • Runtime monitoring for administrative file operations targeting unexpected directories
  • Policy enforcement that restricts service write permissions to approved data locations
  • Automated security review tools that flag untrusted input passed to file-move or file-write functions

Sources

SourceLink
github.comgithub.com/kiteworks/security-advisories/security/advisories/GHSA-3r3r-hp4c-pxmh
raw.githubusercontent.comraw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/VA/white/2026/va-26-274-01.json

Frequently asked

questions

It may be exploitable through the application's administrative interface when that feature is enabled and reachable, but exploitation requires authenticated administrator access.

No. The described weakness is associated with an optional, non-default administrative feature, so deployments that do not enable or expose that feature may not have the same attack surface.

Enforce canonical path validation and ensure every destination remains within a fixed, approved directory before performing the file operation.

Minimize administrator-controlled filesystem access, use allowlisted destinations, apply least-privilege permissions, and test file-handling code against traversal and symlink-based escapes.

Find out what's already
exploitable in your codebase.