{"cve":"CVE-2026-54635","nvd":{"published":"2026-07-28T18:17:22.427","modified":"2026-10-23T23:10:00.157","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-287"],"references":["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","https://github.com/nessshon/tonapi/security/advisories/GHSA-3fcr-jvgp-7f58"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-54635","score":0.00512,"percentile":0.43394,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3fcr-jvgp-7f58","url":"https://osv.dev/vulnerability/GHSA-3fcr-jvgp-7f58","summary":"pytonapi has a Webhook Custom Path Authentication Bypass","modified":"2026-08-11T22:15:08.070523089Z","packages":[{"ecosystem":"PyPI","name":"pytonapi","purl":"pkg:pypi/pytonapi","ranges":[">=2.0.0 <2.2.1"],"fixed":["2.2.1"]}]},{"id":"PYSEC-2026-3614","url":"https://osv.dev/vulnerability/PYSEC-2026-3614","summary":"pytonapi has a Webhook Custom Path Authentication Bypass","modified":"2026-08-04T14:30:19.290294184Z","packages":[{"ecosystem":"PyPI","name":"pytonapi","purl":"pkg:pypi/pytonapi","ranges":[">=2.0.0 <2.2.1"],"fixed":["2.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}