Intel

AIKIDO-2026-36354

@line/bot-sdk is vulnerable to URL-Based Access Control Bypass

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 29, 2026
June 29, 2026

45

CVE Score

Medium

URL-Based Access Control Bypass

Are you affected? Scan for Free

TL;DR

The generated API clients build request paths by substituting path parameters into URL templates with raw string replacement and no encoding. When an application passes attacker-controlled values such as a userId into these path parameters, input containing ../ or unencoded slashes can escape the intended route and resolve to a different LINE Messaging API endpoint while still carrying the configured bot channel access token. This route confusion lets requests reach unintended endpoints and expose read-only bot and channel metadata. The fix adds a buildPath helper that percent-encodes path parameters and rejects dot and dot-dot path segments.

How do I fix this?

Upgrade the @line/bot-sdk library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted input as path parameters to the SDK client methods.

Versions

8.0.0 - 11.0.0

Fixed in 11.0.1

Background info

@line/bot-sdk is vulnerable to URL-Based Access Control Bypass in versions 8.0.0 - 11.0.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