CVE-2026-63413

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

What an attacker gets

Attackers can execute arbitrary PHP code with the application's privileges. This requires an attacker to provide a malicious OpenAPI document that your system then uses to generate an SDK.

Root cause

The Jane open-api-3 generator improperly sanitizes header parameter names, allowing them to break out of PHPDoc comments and inject code into the generated class body.

Affected versions

janephp/jane-php versions 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 that any OpenAPI specifications used for code generation are sourced from trusted origins only.

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

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