/

CVE-2026-88394

Severity:

HIGH RISK

(7.5)

Directory Traversal (CWE-22) in WookTeam Export API

CVE-2026-88394

Deferred

Vulnerability type

Category:

Directory Traversal

CWE:

CWE-22

Impact:

Unauthorized File Disclosure

Severity:

HIGH RISK

(7.5)

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

WookTeam v1.6.6 and earlier contain a directory traversal vulnerability in the project task export endpoint. An attacker who can reach the endpoint may cause the server to download files outside the intended storage directory, including any files readable by the web server process.

WookTeam v1.6.6 and earlier contain a directory traversal vulnerability in the project task export endpoint. An attacker who can reach the endpoint may cause the server to download files outside the intended storage directory, including any files readable by the web server process.

Affected context

The issue occurs in WookTeam deployments where the project task export endpoint accepts a file reference through the data parameter and uses that value to construct a download path. Risk is present when the supplied path is not normalized and is not restricted to the intended storage directory, while the web server process has read access to sensitive files.

The issue occurs in WookTeam deployments where the project task export endpoint accepts a file reference through the data parameter and uses that value to construct a download path. Risk is present when the supplied path is not normalized and is not restricted to the intended storage directory, while the web server process has read access to sensitive files.

Exploit preconditions

  • Attack surface: The project task export HTTP endpoint at /api/project/task/export
  • Required access: Ability to reach the endpoint; additional authentication or authorization requirements depend on deployment configuration
  • Trigger point: Processing the file value supplied through the endpoint's data parameter
  • Why exploitation is possible: User-controlled path data is passed into file-path construction without effective normalization or directory-boundary validation
  • Attack surface: The project task export HTTP endpoint at /api/project/task/export
  • Required access: Ability to reach the endpoint; additional authentication or authorization requirements depend on deployment configuration
  • Trigger point: Processing the file value supplied through the endpoint's data parameter
  • Why exploitation is possible: User-controlled path data is passed into file-path construction without effective normalization or directory-boundary validation

Why this happens

The underlying bug is the use of an externally influenced file path in a download operation without enforcing confinement to the intended storage directory. Directly concatenating the supplied value into a filesystem path allows traversal components to escape the permitted directory. This behavior maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

The underlying bug is the use of an externally influenced file path in a download operation without enforcing confinement to the intended storage directory. Directly concatenating the supplied value into a filesystem path allows traversal components to escape the permitted directory. This behavior maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

Potential impact

  • Sensitive application, configuration, or system files may be disclosed
  • Credentials, tokens, or private keys readable by the web server process could be exposed
  • Attackers could gain information useful for further compromise
  • Organizational or user data stored on the server may be accessed without authorization
  • Sensitive application, configuration, or system files may be disclosed
  • Credentials, tokens, or private keys readable by the web server process could be exposed
  • Attackers could gain information useful for further compromise
  • Organizational or user data stored on the server may be accessed without authorization

General mitigation guidance

Mitigation generally focuses on treating file references as untrusted identifiers and enforcing a strict directory trust boundary.

Common defensive patterns include:

  • Resolve candidate paths against a fixed storage root and verify that the canonical result remains within that root
  • Prefer opaque file identifiers or server-side allowlists over client-supplied filesystem paths
  • Reject traversal components, absolute paths, and unexpected path formats as an additional validation layer
  • Use framework file-download mechanisms that support constrained storage disks or equivalent sandboxing
  • Run the web server with least-privilege filesystem permissions and limit access to sensitive directories
  • Apply authorization checks so exported files are available only to permitted users and projects

Mitigation generally focuses on treating file references as untrusted identifiers and enforcing a strict directory trust boundary.

Common defensive patterns include:

  • Resolve candidate paths against a fixed storage root and verify that the canonical result remains within that root
  • Prefer opaque file identifiers or server-side allowlists over client-supplied filesystem paths
  • Reject traversal components, absolute paths, and unexpected path formats as an additional validation layer
  • Use framework file-download mechanisms that support constrained storage disks or equivalent sandboxing
  • Run the web server with least-privilege filesystem permissions and limit access to sensitive directories
  • Apply authorization checks so exported files are available only to permitted users and projects

How teams detect issues like this

Organizations can identify path traversal risks through:

  • Static analysis rules for user-controlled values reaching filesystem APIs, path joins, or download responses
  • Code review checks for string concatenation involving file paths and missing canonicalization or containment checks
  • Tests that verify export and download features cannot access files outside approved directories
  • Web application policies and monitoring for traversal-like path input, abnormal file-download requests, and access to sensitive paths
  • Automated security review tools that flag untrusted input flowing into file access operations

Organizations can identify path traversal risks through:

  • Static analysis rules for user-controlled values reaching filesystem APIs, path joins, or download responses
  • Code review checks for string concatenation involving file paths and missing canonicalization or containment checks
  • Tests that verify export and download features cannot access files outside approved directories
  • Web application policies and monitoring for traversal-like path input, abnormal file-download requests, and access to sensitive paths
  • Automated security review tools that flag untrusted input flowing into file access operations

Sources

SourceLink
github.comgithub.com/fangtang7/CVE/blob/main/WookTeam/fileread.md

Frequently asked

questions

It may be remotely exploitable when the project task export endpoint is network-accessible and an attacker can satisfy any required authentication or authorization checks.

The key requirement is the ability to invoke the export endpoint with attacker-controlled file data. The exact access level depends on how the WookTeam deployment protects that endpoint.

Treat file references as untrusted, resolve them against a fixed storage root, and verify canonical path containment before allowing a download. Server-side file identifiers are preferable to accepting filesystem paths.

Use allowlists or opaque identifiers, enforce authorization for each file operation, apply least-privilege filesystem permissions, and include path-boundary tests and static analysis in the development pipeline.

It may be remotely exploitable when the project task export endpoint is network-accessible and an attacker can satisfy any required authentication or authorization checks.

The key requirement is the ability to invoke the export endpoint with attacker-controlled file data. The exact access level depends on how the WookTeam deployment protects that endpoint.

Treat file references as untrusted, resolve them against a fixed storage root, and verify canonical path containment before allowing a download. Server-side file identifiers are preferable to accepting filesystem paths.

Use allowlists or opaque identifiers, enforce authorization for each file operation, apply least-privilege filesystem permissions, and include path-boundary tests and static analysis in the development pipeline.

Find out what's already
exploitable in your codebase.