BuzzPHP
LightDarkSystem

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

Critical severity. Published 19 November 2026. Update jane-php/open-api-3 to 7.12.0 or later: composer update jane-php/open-api-3.

Which versions are affected?

PackageAffected versionsFixed in
jane-php/open-api-3 (opens in a new tab)< 7.12.07.12.0

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show jane-php/open-api-3
composer audit

Advisory details

SeverityCritical
Published
Updated
CVECVE-2026-63413 (opens in a new tab)
GHSAGHSA-x9xr-53qx-9qcf (opens in a new tab)
WeaknessCWE-94

What the advisory says

Summary jane-php (open-api-3) builds PHP via nikic/php-parser (AST), so string literals are escaped -- but PHPDoc comment text is emitted RAW. The generated Client/Endpoint method docblocks embed the header parameter name verbatim in a @param array{ ""?: ... } block. A / in the header name closes the / ... / docblock early and lands in class-body position; because the name is a raw string key (not identifier-mangled), the / and following PHP survive. Injecting / public function construct(){ } / adds an attacker-controlled construct to the generated Client class, which runs when the client is instantiated - RCE (CWE-94). Verified 7.11.2/PHP8.1.

Source: GHSA-x9xr-53qx-9qcf (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories