GHSA-7m8f-hgjq-8gc9
Python Analyse et atténuation des vulnérabilités

Vulnerability Description

In aiosend/webhook/base.py, the WebhookHandler.feed_update() method performs full deserialization of the incoming JSON via Pydantic before verifying the HMAC signature. Anyone can send a request with an arbitrary body — the server will parse it, spend CPU and memory, and only then reject it.

Vulnerable Code


# aiosend/webhook/base.py — feed_update()
update = Update.model_validate(body, context={"client": self})  #  parsing — always
if not self._check_signature(body, headers):                    #  auth — too late
    return False

Additional aggravating factor: CryptoPayObject is declared with ConfigDict(extra="allow") — all arbitrary fields from the body are stored in memory without any limits.

Minimal PoC

Requests with deliberately invalid signatures (zero credentials):

extra_fieldsbody_sizeparse_timestatus
0336 B26 µs403 REJECTED
1,00082 KB257 µs403 REJECTED
5,000410 KB1,183 µs403 REJECTED
10,000820 KB2,552 µs403 REJECTED
10,000 (×512B)5.3 MB7,490 µs403 REJECTED
All requests were rejected — but the server already performed parsing for each one. 10 parallel threads with 5 MB bodies = >75 ms of CPU spent on requests that will never be authorized.

Affected Components

  • aiosend/webhook/base.pyWebhookHandler.feed_update()
  • aiosend/types/base.pyCryptoPayObject (extra="allow")
  • All adapters: AiohttpManager, FastAPIManager, FlaskManager

Exploitation Conditions

  • Attacker: anyone with network access to the webhook endpoint
  • Authentication: not required
  • Body size limit: absent at the library level (Flask and FastAPI have no default limit)

The advisory was translated using Copilot.


SourceNVD

Apparenté Python Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-46703CRITICAL9.6
  • JavaScriptJavaScript
  • @boxlite-ai/boxlite
NonOuiMay 21, 2026
GHSA-7m8f-hgjq-8gc9HIGH7.5
  • PythonPython
  • aiosend
NonOuiMay 22, 2026
GHSA-ggxf-37hm-9wqfMEDIUM6.5
  • PythonPython
  • instagrapi
NonOuiMay 23, 2026
CVE-2026-47157MEDIUM6.5
  • PythonPython
  • aiograpi
NonOuiMay 23, 2026
CVE-2026-46715MEDIUMN/A
  • PythonPython
  • flask-security-too
NonOuiMay 22, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités