CVE-2026-105801 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
openapi-generators
openapi-python-client
영향 받는 버전
- 0.29.1 미만
해결 버전
- 0.29.1 이상
참고 자료 4건
- github.com https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186 (새 창)
- github.com https://github.com/openapi-generators/openapi-python-client/pull/1483 (새 창)
- github.com https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1 (새 창)
- github.com https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj (새 창)