Security mailing lists by PureSourceCode

CVE-2026-105801

HIGH 8.4CVSS 4.0

openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation

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.

Published
6 Oct 2026
Last modified
15 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-116CWE-150CWE-94
Also known as
GHSA-5293-mq8x-g3xjPYSEC-2026-4245
Sources
NVDJSONOSV GHSA-5293-mq8x-g3xjJSONOSV PYSEC-2026-4245JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.4 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
OSV PyPA CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI openapi-python-client < 0.29.1 0.29.1

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.