CVE-2026-54635
published high CVSS 3.1 · 7.5pytonapi has a Webhook Custom Path Authentication Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nessshon | — | tonapi>= 2.0.0, < 2.2.1 | Affected | Not stated | GitHub_M |
Description
pytonapi is a Python SDK for TONAPI that provides REST API, streaming, and webhook access to the TON blockchain. From 2.0.0 to 2.2.0, TonapiWebhookDispatcher fails to validate the Authorization header when a webhook handler is registered with the documented path argument, because setup() stores bearer tokens only under the default suffix paths and never adds the custom path to the token map, so self._tokens.get(path) returns None and the authentication guard is skipped. An unauthenticated remote attacker can POST forged payloads to the custom webhook endpoint and trigger victim-defined handlers. This issue is fixed in version 2.2.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nessshon | tonapi | >= 2.0.0, < 2.2.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
4- https://github.com/nessshon/tonapi/commit/854222b7ee68d3fb7b4d6d899d200f388483bd86
- https://github.com/nessshon/tonapi/releases/tag/v2.2.1
- https://github.com/nessshon/tonapi/security/advisories/GHSA-3fcr-jvgp-7f58
- https://github.com/pypa/advisory-database/tree/main/vulns/pytonapi/PYSEC-2026-3614.yaml
Provider assertions
2GitHub_M · cna
pytonapi has a Webhook Custom Path Authentication Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa3bd14b77c42d9983c7b1ca5fd40e97383113ef7d48fe5d49f5ea608b400639
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record