← VULNERABILITIES

CVE-2026-63411

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

Critical · 9.3Fix available
CVSS
9.3
EPSS
0.51% (p45)
Published
2026-11-18
Age
16d old
Modified
2026-11-25
Product
janephp janephp
Aliases
GHSA-xwcw-j52r-34x4, EUVD-2026-129315

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

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 parameter description verbatim in generated Client/Endpoint method docblocks. A parameter description 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.

Fixed in

7.12.0

Affected packages

EcosystemPackageRangeFixed
Packagistjane-php/open-api-3< 7.12.07.12.0
Packagistjane-php/open-api-3>=0, <7.12.07.12.0

Sources

References

JSON