CVE-2026-105801
Publiée le 2026-10-06 · Dernière modification le 2026-10-09
Les utilisateurs de l'outil `openapi-python-client` sont exposés à un risque s'ils génèrent un client à partir d'un document OpenAPI malveillant. Un attaquant peut intégrer du code Python arbitraire dans le client résultant, lequel s'exécute sur votre système dès que vous importez ce client dans un projet. Cela nécessite que vous téléchargiez et utilisiez un fichier de définition compromis, mais une fois cela fait, l'attaquant peut prendre le contrôle total de votre environnement local.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
openapi-python-client generates Python clients from OpenAPI documents. Prior to 0.29.1, the generator does not safely neutralize malicious OpenAPI document content before rendering string, docstring, and f-string contexts in generated Python. The generated Python client can contain attacker-controlled Python that executes when a user imports the client, affecting the importing environment's integrity and potentially its confidentiality and availability. This issue is fixed in version 0.29.1.