@notionhq/client is vulnerable to Directory Traversal
70
CVE Score
High
Directory Traversal
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.
Upgrade the @notionhq/client library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.1.0 - 5.8.0
Fixed in 5.9.0@notionhq/client is vulnerable to Directory Traversal in versions 3.1.0 - 5.8.0.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.