Paper/Archive/CVE-2026-63412

CVE-2026-63412

janephp janephp — Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
janephp< 7.12.0–CNA

Scores by source

GitHub_M (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/janephp/janephp/security/advisories/GHSA-q8v2-3j4h-xg2prefgithub.com/janephp/janephp/pull/960refgithub.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7arefgithub.com/janephp/janephp/releases/tag/v7.12.0

Related coverage