Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-52830: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in leshchenko1979 fast-mcp-telegram

0
Critical
VulnerabilityCVE-2026-52830cvecve-2026-52830cwe-22cwe-287
Published: 07/02/2026 (07/02/2026, 20:39:35 UTC)
Source: CVE Database V5
Vendor/Project: leshchenko1979
Product: fast-mcp-telegram

Description

fast-mcp-telegram versions prior to 0.19.1 contain a path traversal vulnerability in the HTTP Bearer token validation process. The software improperly constructs a session-file path by joining the raw token string without normalizing or rejecting path separators. This allows a remote attacker to bypass reserved token restrictions and authenticate as the default legacy session by using crafted tokens containing path traversal sequences. The vulnerability is fixed in version 0.19.1.

CVSS v3.1

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
leshchenko1979/fast-mcp-telegram
pkg:github/leshchenko1979/fast-mcp-telegram
Affected versions
<0.19.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 21:21:17 UTC

Technical Analysis

The vulnerability in fast-mcp-telegram (CVE-2026-52830) arises from improper limitation of a pathname to a restricted directory (CWE-22). Before version 0.19.1, the software validates HTTP Bearer tokens by directly joining the raw token string into a session-file path without normalizing or rejecting path separators. Although the verifier rejects the exact reserved token 'telegram', it does not prevent tokens containing path traversal sequences such as '../fast-mcp-telegram/telegram'. This enables a remote HTTP client to authenticate as the default legacy session if the corresponding session file exists. The bypass affects multi-user session controls and allows access to prefixed MCP tools for the default account. The issue is resolved in version 0.19.1.

Potential Impact

An unauthenticated remote attacker can exploit this path traversal vulnerability to bypass authentication controls and impersonate the default legacy session. This leads to unauthorized access with high confidentiality and integrity impact, as the attacker can interact with the default account's MCP tools. Availability impact is low. The CVSS v3.1 base score is 9.4 (critical).

Mitigation Recommendations

Upgrade fast-mcp-telegram to version 0.19.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-08T18:11:06.662Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a46d2df27e9c797191734e5

Added to database: 07/02/2026, 21:06:39 UTC

Last enriched: 07/02/2026, 21:21:17 UTC

Last updated: 07/02/2026, 21:47:53 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses