CVE-2026-63412

9.3Critical

Published 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.3CVSS

Critical

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-94, CWE-95, CWE-116

What an attacker gets

Attackers can execute arbitrary PHP code with application privileges by providing a malicious OpenAPI document. This requires the application to generate an SDK from that document and then instantiate the resulting client.

Root cause

The open-api-3 generator fails to sanitize query parameter names, allowing them to break out of PHPDoc comments and inject code into the generated class body.

Affected versions

janephp/jane-php prior to 7.12.0

CVSS v4.0 · 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

Fix & remediation

Upgrade janephp/jane-php to version 7.12.0 or later. Ensure all SDKs are regenerated from trusted OpenAPI specifications after updating.

remediation — bash
$ composer update jane-php/jane-php

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-63412