Intel

AIKIDO-2026-10135

@notionhq/client is vulnerable to Directory Traversal

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 9, 2026
February 9, 2026

70

CVE Score

High

Directory Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this package fail to properly validate path parameters (such as block_id, page_id, or database_id), allowing path traversal sequences like .. and URL-encoded variants (%2e%2e, mixed-case, or fully encoded paths) to be processed, which could alter the resolved API endpoint. An attacker could exploit this vulnerability by crafting malicious requests with encoded traversal payloads in path parameters to access unintended routes, bypass authorization checks, or interact with internal endpoints that should not be exposed.

How do I fix this?

Upgrade the @notionhq/client library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.1.0 - 5.8.0

Fixed in 5.9.0

Background info

@notionhq/client is vulnerable to Directory Traversal in versions 3.1.0 - 5.8.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea