Skip to content
Critical 9.3

Jane(PHPライブラリ)に任意のPHPコードを実行される脆弱性

CVE-2026-63412 First seen on SecPulse

Summary

Janeは、JSON SchemaやOpenAPIの仕様からPHPのモデルとAPIクライアントを生成するライブラリです。7.12.0より前のバージョンでは、OpenAPIドキュメントのクエリパラメーター名に含まれる特定の文字列によって生成コードの構造が壊れ、攻撃者が指定した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は、JSON SchemaやOpenAPIの仕様からPHPのモデルとAPIクライアントを生成するライブラリです。7.12.0より前のバージョンでは、OpenAPIドキュメントのクエリパラメーター名に含まれる特定の文字列によって生成コードの構造が壊れ、攻撃者が指定したPHPコードが実行されるおそれがあります(CVSS v4は9.3)。修正版の7.12.0で対処されているため、7.12.0以降へ更新してください。

Affected packages

PackageAffected → Fixed
janephpjanephp —
Packagistjane-php/open-api-3
< 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 query parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A query parameter name 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details