Improper Authentication Affecting pytonapi package, versions [2.0.0,2.2.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTONAPI-18508001
  • published2 Aug 2026
  • disclosed28 Jul 2026
  • creditUnknown

Introduced: 28 Jul 2026

NewCVE-2026-54635  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade pytonapi to version 2.2.1 or higher.

Overview

pytonapi is a Python SDK for TONAPI — REST API, streaming, and webhooks for TON blockchain.

Affected versions of this package are vulnerable to Improper Authentication in the TonapiWebhookDispatcher process when a webhook handler is registered with a custom path argument. An attacker can trigger victim-defined handlers with attacker-controlled data by sending POST requests to the custom webhook endpoint without providing a valid Authorization header, thereby bypassing authentication and potentially causing unauthorized actions to be executed.

CVSS Base Scores

version 4.0
version 3.1