CVE-2026-63413janephp
PHP Code Injection in Jane OpenAPI Generator
Critical 9.3 No auth needed
- Priority
- 76
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
The Jane open-api-3 generator emits header parameter names unsanitized in generated method docblocks. An attacker can include PHPDoc closing delimiters in the parameter name to terminate the comment early and inject arbitrary PHP code, including a __construct method that executes when the generated Client is instantiated. Exploitation requires generating a client from an attacker-controlled OpenAPI document.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 7.12.0
Update jane-php/open-api-3 to version 7.12.0 or later and regenerate clients from trusted OpenAPI documents.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for janephp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | jane-php/open-api-3 |
< 7.12.0 |
7.12.0 |
composer require "jane-php/open-api-3:^7.12.0" |
Per OSV / GitHub Advisories (GHSA-x9xr-53qx-9qcf). Check the version in your lockfile before upgrading.
Affected products
- janephp · janephp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.