/

CVE-2026-102089

Severity:

HIGH RISK

(7.2)

Path Traversal (CWE-22) in Kiteworks Email Gateway

CVE-2026-102089

Analyzed

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Write and Potential Remote 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

Kiteworks Email Protection Gateway contains a path traversal weakness in an administrative import function that may allow an authenticated administrator to write files outside the intended directory. Depending on file permissions and server behavior, this could enable arbitrary code execution on the underlying system.

Affected context

The issue occurs in the administrative import functionality of Kiteworks Email Protection Gateway when user-controlled or insufficiently constrained file paths are processed. Risk is present where an authenticated administrator can reach the import function and the server permits writes to sensitive locations.

Exploit preconditions

  • Attack surface: Administrative import functionality
  • Required access: Authenticated administrator privileges
  • Trigger point: Processing an import operation containing a path that escapes the intended destination
  • Why exploitation is possible: Path handling does not adequately constrain the resolved output location, allowing files to be written outside the designated import directory

Why this happens

The vulnerability results from insufficient validation and canonicalization of file paths used by an administrative import operation. When path components are accepted without reliably enforcing an approved destination, an attacker may cause the application to resolve a filename outside its intended directory. This behavior maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

Potential impact

  • An attacker may overwrite or create files in sensitive server locations
  • Application configuration or content may be modified
  • Server integrity and availability could be affected
  • Arbitrary code may execute if a writable location is later processed as executable content
  • The underlying system could be compromised within the privileges of the affected service

General mitigation guidance

Mitigation generally focuses on enforcing a strict boundary around all administrative import destinations.

Defensive patterns include:

  • Canonicalizing paths before authorization and file operations
  • Allowing only approved destination directories and filenames
  • Rejecting traversal indicators and paths that resolve outside the permitted root
  • Using server-side generated filenames instead of trusting client-supplied paths
  • Applying least-privilege permissions to the service account and import directories
  • Separating uploaded content from executable or configuration paths
  • Requiring strong administrative authentication and narrowly scoped authorization

How teams detect issues like this

Organizations can identify this class of issue through:

  • Static analysis rules for unsanitized path concatenation and filesystem writes
  • Code review checks for canonicalization performed after authorization or not at all
  • Tests that verify imports cannot escape their configured destination
  • Monitoring for administrative imports that target unusual directories or sensitive filenames
  • Policy enforcement requiring constrained storage APIs and approved path allowlists
  • Automated application security testing focused on traversal sequences and alternate path representations

Sources

SourceLink
github.comgithub.com/kiteworks/security-advisories/security/advisories/GHSA-p853-p65q-2vc8
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 product's administrative interface when that interface is reachable by an attacker who has valid administrator credentials.

The described attack requires authenticated administrator access to the administrative import function. The practical impact also depends on filesystem permissions and service configuration.

Constrain imports to a dedicated, non-executable directory, canonicalize paths before authorization, and permit only server-controlled filenames or approved destination paths.

Apply centralized path-validation utilities, use least-privilege filesystem permissions, test path-boundary enforcement, and monitor administrative file operations for unexpected destinations.

Find out what's already
exploitable in your codebase.