CVE-2026-63412
Jane PHP remote code execution in OpenAPI 3 generator
Attackers can run arbitrary PHP in applications that use a client generated from a crafted OpenAPI document.
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-63412 divulgada · CVSS 9.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Jane's open-api-3 generator can be made to inject attacker-controlled PHP into the client code it produces from an OpenAPI document, allowing arbitrary PHP to run with the privileges of the consuming application. The attack is reached remotely without logging in or any user action, but it only works after a client is generated from the attacker-influenced document and that generated SDK is used.
Affects the jane-php/open-api-3 generator 7.11.2 and earlier. No vendor rating is given; CVSS scores it 9.3 (critical). Fixed in 7.12.0.
Descripción original del registro (GitHub_M)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
janephp |
Corregida | 7.12.0 | — | — |
7.12.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/janephp/janephp/security/advisories/GHSA-q8v2-3j4h-xg2phttps://github.com/janephp/janephp/pull/960https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7ahttps://github.com/janephp/janephp/releases/tag/v7.12.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
