Jane(jane-php/open-api-3)に遠隔からプログラムを実行される脆弱性
Summary
Jane(jane-php/open-api-3)は、OpenAPIのパラメーター説明をPHPDocに埋め込む際に終端の処理が不十分で、攻撃者が用意したPHPコードを生成されるSDKに混入させられる脆弱性(CVE-2026-63411)です。悪用されるとクライアントの生成と利用をきっかけに、アプリケーションの権限で任意のPHPコードが実行されるおそれがあり、CVSS v4は9.3です。7.12.0で修正されているため、7.12.0以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Jane(jane-php/open-api-3)は、OpenAPIのパラメーター説明をPHPDocに埋め込む際に終端の処理が不十分で、攻撃者が用意したPHPコードを生成されるSDKに混入させられる脆弱性(CVE-2026-63411)です。悪用されるとクライアントの生成と利用をきっかけに、アプリケーションの権限で任意のPHPコードが実行されるおそれがあり、CVSS v4は9.3です。7.12.0で修正されているため、7.12.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| janephpjanephp | — | Not listed |
| Packagistjane-php/open-api-3 |
< 7.12.0→ 7.12.0 |
7.12.0 |
Original description The description as published by the source.
Jane is a set of PHP libraries that generates models and API clients from JSON Schema and OpenAPI specifications. Prior to 7.12.0, the Jane open-api-3 generator emits an OpenAPI parameter description verbatim in generated Client/Endpoint method docblocks. A parameter description containing a PHPDoc closing delimiter can terminate the comment early and place attacker-controlled PHP in class-body position, including an __construct method that runs when the generated Client is instantiated. Exploitation requires generating a client from an attacker-influenced OpenAPI document and then using the generated SDK, and can execute arbitrary PHP with the consuming application's privileges. This issue is fixed in version 7.12.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com