Patchfirst
CVE-2026-63412 Critical · 9.3 EPSS 0.5%

Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

Fix:upgrade open-api-3 to 7.12.0 or later also fixes CVE-2026-63411, CVE-2026-63413 Details ↓

janephp · janephp

Summary

The Jane open-api-3 generator in the janephp product, prior to version 7.12.0, emits OpenAPI query parameter names unescaped into PHPDoc docblocks of generated Client and Endpoint methods, so a flaw in the generator's output lets a crafted name break out of the comment. An attacker who can supply the OpenAPI document used for client generation, and whose generated SDK is then used by the consuming application, can get that application to execute arbitrary PHP with its own privileges, with no authentication or user interaction required by the attacker.

Official description · NVD

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.

Breakdown
17.1 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 18 Nov 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

janephp janephp

Affected: < 7.12.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: jane-php/open-api-3.

Packagistjane-php/open-api-3GHSA-q8v2-3j4h-xg2p

Upgrade to 7.12.0 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2026-63411, CVE-2026-63413).

Set the version to 7.12.0 or later in your composer.json.

The first fix for CVE-2026-63412.

Affected versions

If you runUpgrade to
All versions before 7.12.07.12.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 5 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close