/

CVE-2026-63189

Severity:

CRITICAL RISK

(9.8)

Path Traversal (CWE-22) in Dialoqbase View API Route

CVE-2026-63189

Received

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22, CWE-200, CWE-287, CWE-522

Impact:

Arbitrary File Read and Potential Administrator Takeover

Severity:

CRITICAL RISK

(9.8)

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

Dialoqbase's unauthenticated view endpoint can read files outside its intended uploads directory when given a traversal path. If an attacker can access sensitive environment files, they may obtain the JWT signing key and forge administrator tokens, potentially taking over application resources and integrations.

Affected context

The issue affects the API view route that serves files from the uploads area. It becomes risky when the route uses a caller-controlled wildcard path without normalizing it and verifying that the resolved file remains within the intended directory. Sensitive files readable by the server, such as environment files containing signing keys, may increase the impact.

Exploit preconditions

  • Attack surface: The unauthenticated GET /api/v1/view/* route
  • Required access: No authentication is required to reach the route
  • Trigger point: The server resolves the caller-controlled wildcard path to a file
  • Why exploitation is possible: The path is not normalized and checked for containment within the uploads directory, so file reads may extend beyond the intended location

Why this happens

The underlying issue is improper limitation of a pathname to a restricted directory, mapped to CWE-22: Improper Limitation of a Pathname to a Restricted Directory. The route treats a user-controlled path as a filesystem location without reliably canonicalizing it and enforcing that the final resolved path stays inside the permitted uploads directory. This can expose sensitive files, relating to CWE-200, and may disclose secrets that support further compromise.

Potential impact

  • An attacker may read files accessible to the application process outside the uploads directory.
  • Exposed environment files could disclose database secrets or the JWT signing key.
  • A disclosed signing key could allow forged administrator tokens and potential takeover of bots, conversations, and integrations.
  • Stored third-party credentials could be exposed or misused.

General mitigation guidance

Defensive patterns focus on constraining file access to an explicit, trusted directory:

  • Resolve and normalize requested paths, then verify the canonical result remains within the allowed directory.
  • Prefer allowlisted file identifiers or server-generated names over accepting arbitrary paths.
  • Keep sensitive configuration and secret files outside directories served by file-view routes.
  • Require appropriate authorization for file access and apply least-privilege filesystem permissions.
  • Protect signing keys and other secrets, and use a process for rotating them if exposure is suspected.

How teams detect issues like this

Review file-serving code for user-controlled paths passed to filesystem APIs without canonicalization and directory-containment checks. Static analysis can flag path joins or file reads involving request parameters; code review should verify traversal handling, authorization, and the final resolved path. Policy checks can require allowlisted file references and tests that confirm requests cannot access files outside the designated directory.

Sources

SourceLink
github.comgithub.com/n4ze3m/dialoqbase/commit/c9d128c58997d91d9786b54a0fd626206ce0f4f9
github.comgithub.com/n4ze3m/dialoqbase/pull/317
github.comgithub.com/n4ze3m/dialoqbase/releases/tag/v1.11.5
github.comgithub.com/n4ze3m/dialoqbase/security/advisories/GHSA-2448-c4f7-4crm

Frequently asked

questions

The affected route is an HTTP endpoint, and the description states that it is unauthenticated. A caller who can reach the application may be able to attempt file reads through it.

No authentication is required to access the described route. The files exposed depend on what the application process can read.

Normalize the requested path and verify that its final resolved location remains within the intended directory. An allowlist of server-controlled file identifiers is another safer pattern.

Avoid using untrusted input as a filesystem path, enforce directory containment and access controls, and keep secrets outside directories exposed by file-serving features.

Find out what's already
exploitable in your codebase.