Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)
CVE-2026-63411
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 parameter description verbatim in a @param array{ " "?: ... } block. A / in the parameter description 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. Impact Generating a client from an attacker-influenced OpenAPI document and using the generated SDK (instantiating the client, which apps do on every call) runs attacker PHP. CWE-94/95/116. PoC reproduce.sh (+ makespec.py, gen.php): scaffolds a composer project with jane-php/open-api-3, generates, instantiates the generated Client, shows the marker. Suggested fix Neutralize / (e.g. /-> /) in all generated PHPDoc text (parameter names, descriptions). Regression-test with a parameter name/description containing /.…
Assessment
- CVSS
- 9.3 (v4.0)
- Severity
- Critical
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 19 November 2026
- Last updated
- 19 November 2026
- Affected
- jane-php/open-api-3
- Weakness
- CWE-116, CWE-94, CWE-95
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4
- https://nvd.nist.gov/vuln/detail/CVE-2026-63411
- https://github.com/janephp/janephp/pull/960
- https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a
- https://github.com/janephp/janephp/releases/tag/v7.12.0
- https://github.com/advisories/GHSA-xwcw-j52r-34x4
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-63411