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

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

Canonical URL: https://buzzphp.com/security/ghsa-q8v2-3j4h-xg2p · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-11-19 |
| Updated | 2026-11-19 |
| CVE | [CVE-2026-63412](https://nvd.nist.gov/vuln/detail/CVE-2026-63412) |
| GHSA | [GHSA-q8v2-3j4h-xg2p](https://github.com/advisories/GHSA-q8v2-3j4h-xg2p) |
| Weakness | CWE-94, CWE-95, CWE-116 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| jane-php/open-api-3 | < 7.12.0 | 7.12.0 |

## What to do

Update jane-php/open-api-3 to 7.12.0 or later: composer update jane-php/open-api-3.

Check which version you run with `composer show jane-php/open-api-3`, and every affected package with `composer audit`.

## About this advisory

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 query parameter name verbatim in a @param array{ ""?: ... } block. A / in the query 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.



## Links

- [GHSA-q8v2-3j4h-xg2p on GitHub](https://github.com/advisories/GHSA-q8v2-3j4h-xg2p)
- [CVE-2026-63412 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-63412)
- [All Composer security advisories](https://buzzphp.com/security)
