/

CVE-2026-133501

Severity:

CRITICAL RISK

(9.0)

Path Traversal (CWE-22) in Gladys Assistant Backup Handler

CVE-2026-133501

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Potential unauthorized file access and information disclosure

Severity:

CRITICAL RISK

(9.0)

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

A path traversal flaw in Gladys Assistant's Backup Restore Handler may let a remote attacker access files outside the intended backup path. The risk arises when a request reaches the affected handler and file paths are not sufficiently restricted; the description does not specify whether authentication is required.

Affected context

The issue affects the backup download handler in Gladys Assistant versions up to 4.71.0, specifically server/lib/gateway/gateway.downloadBackup.js. It may be present when the handler resolves paths from request or other externally influenced data without ensuring they remain within the intended backup directory. The available description does not identify the exact function or request details.

Exploit preconditions

  • Attack surface: The Backup Restore Handler must be reachable through the application.
  • Required access: The description establishes remote attack potential but does not specify whether authentication or other access is required.
  • Trigger point: A request processed by the backup download handler that causes it to resolve a file path.
  • Why exploitation is possible: Path handling may allow a resolved path to escape the intended directory.

Why this happens

CWE-22 describes improper limitation of a pathname to a restricted directory. In this class of bug, externally influenced path data is used for file access without reliably constraining the final resolved path to the permitted location. The available information does not identify the specific vulnerable code pattern.

Potential impact

  • An attacker could access files outside the intended backup directory.
  • Sensitive data may be disclosed if readable files are exposed through the handler.
  • Exposed files could provide information useful for further compromise.

General mitigation guidance

Mitigation generally focuses on keeping file access within an explicit, trusted directory boundary.

  • Resolve and canonicalize paths, then verify the final path remains beneath the allowed directory.
  • Prefer server-selected file identifiers or other constrained references over user-controlled filesystem paths.
  • Validate inputs with allowlists and reject unexpected path forms.
  • Run the application with only the filesystem permissions required for its function.
  • Apply consistent access controls to backup files and limit exposure of the handler.

How teams detect issues like this

  • Use static analysis to identify file operations that incorporate externally influenced path data.
  • Review backup download code for canonicalization and checks that enforce directory boundaries after path resolution.
  • Add tests and policy checks for attempts to access paths outside approved storage locations.
  • Monitor handler activity for anomalous file access or repeated rejected path requests.
  • Automated code review tools may help identify risky path construction patterns.

Sources

SourceLink
github.comgithub.com/GladysAssistant/Gladys/issues/2495
github.comgithub.com/GladysAssistant/Gladys/releases/tag/v4.72.0
vuldb.comvuldb.com/cve/CVE-2026-133501
vuldb.comvuldb.com/submit/1049319
vuldb.comvuldb.com/vuln/440923
vuldb.comvuldb.com/vuln/440923/cti

Frequently asked

questions

The vulnerability description says the attack can be launched remotely. Actual exposure depends on whether the handler is reachable and on the deployment's access controls.

The available information does not specify authentication requirements. Access to the handler and its applicable authorization controls are relevant.

Constrain file access to a trusted directory by resolving paths and verifying the final location, or avoid accepting filesystem paths from requests.

Use constrained file references, validate inputs, enforce directory boundaries in code, and limit the application's filesystem permissions.

Find out what's already
exploitable in your codebase.