SCA: security update for pytonapi (GHSA-3fcr-jvgp-7f58)

high Tenable Cloud Security Plugin ID 445396

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-54635)

Solution

Update the pytonapi library and its related packages to version 2.2.1 or later.

See Also

https://github.com/advisories/GHSA-3fcr-jvgp-7f58

Plugin Details

Severity: High

ID: 445396

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 7/28/2026

Updated: 7/29/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2026-54635

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/28/2026

Vulnerability Publication Date: 7/28/2026

Reference Information

CVE: CVE-2026-54635

cwe: CWE-287