International
The Morning Dev

Only the news worth knowing

‹
 

Security · High impactFan score 45 · Tier B3 sources

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

GitHub Advisory Database ·

The Brief · written from 3 sources

  • Three advisories published 2026-11-19 cover jane-php/open-api-3, a PHP code generator for OpenAPI 3 specs.
  • Generated Client and Endpoint PHPDoc blocks embed query parameter names, header parameter names and parameter descriptions verbatim, so a value containing */ can break out of the comment.
  • Sources describe the result as remote code execution during instantiation of the generated code, tracked as CVE-2026-63411, CVE-2026-63412 and CVE-2026-63413.

Why it matters

If an OpenAPI spec contains crafted parameter names or descriptions, the code generated by jane-php/open-api-3 can execute attacker-controlled PHP when the generated client is instantiated, so projects that generate code from untrusted or third-party specs are at risk.

Who’s affected

  • Teams using jane-php/open-api-3 to generate PHP clients or endpoints
  • Projects generating code from third-party or untrusted OpenAPI 3 specs

What to do

  1. Check whether jane-php/open-api-3 is in your dependencies and review the GitHub advisories GHSA-q8v2-3j4h-xg2p, GHSA-x9xr-53qx-9qcf and GHSA-xwcw-j52r-34x4 for the fixed version.

Affects jane-php/open-api-3. 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{ "…

Timeline

  1. GitHub Advisory Database published advisories GHSA-q8v2-3j4h-xg2p, GHSA-x9xr-53qx-9qcf and GHSA-xwcw-j52r-34x4 for jane-php/open-api-3

  2. GitHub Advisory Database

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

  3. GitHub Advisory Database

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

  4. GitHub Advisory Database

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

Full coverage · 3 sources

How do you feel about this?

0 Comments

    Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3) (CVE-2026-63412) – The Morning Dev