Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-63413: Jane PHP library can execute attacker code
CVE-2026-63413 · published 14 days ago
Summary
The Jane PHP tools that turn API specifications into code can insert harmful code if a malicious API description is used. An attacker could cause the generated client to run unwanted PHP when it is created, potentially taking over the application. Update to version 7.12.0 or later to stop this behavior.
What to do
- Update jane-php open-api-3 to version 7.12.0.
- Update jane-php jane-php/open-api-3 to version 7.12.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | jane-php | open-api-3 |
< 7.12.0 Fix: upgrade to 7.12.0
|
| Packagist | jane-php | jane-php/open-api-3 |
< 7.12.0 Fix: upgrade to 7.12.0
|
Original advisory text
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
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.
References
- https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c... Patch
- https://github.com/janephp/janephp/pull/960 Patch
- https://github.com/janephp/janephp/releases/tag/v7.12.0 URL
- https://github.com/janephp/janephp/security/advisories/GHSA-x9xr-53qx-9qcf Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63413... Vendor Advisory
- https://github.com/advisories/GHSA-x9xr-53qx-9qcf
- https://nvd.nist.gov/vuln/detail/CVE-2026-63413 Vendor Advisory
- https://github.com/janephp/janephp Product
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-94Code Injection
Timeline
Published18 Nov 2026
Updated2 Dec 2026
First seen18 Nov 2026
Sources
CVE-2026-63413 · NVD
CVE-2026-63413 · OSV
GHSA-x9xr-53qx-9qcf · GHSA
GHSA-x9xr-53qx-9qcf · OSV
Track software like this
Free during beta