CVE-2026-63413
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVSS
- 9.3
- EPSS
- 0.47% (p42)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-25
- Product
- janephp janephp
- Aliases
- GHSA-x9xr-53qx-9qcf
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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 header parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A header 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.
Fixed in
7.12.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | jane-php/open-api-3 | < 7.12.0 | 7.12.0 |
| Packagist | jane-php/open-api-3 | >=0, <7.12.0 | 7.12.0 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/janephp/janephp/security/advisories/GHSA-x9xr-53qx-9qcf x_refsource_CONFIRM
- https://github.com/janephp/janephp/pull/960 x_refsource_MISC
- https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a x_refsource_MISC
- https://github.com/janephp/janephp/releases/tag/v7.12.0 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63413.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63413 advisory
- https://github.com/advisories/GHSA-x9xr-53qx-9qcf other
- https://github.com/janephp/janephp package