Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-63413: Jane PHP library can execute attacker code

CVE-2026-63413 · published 14 days ago
Summary

The Jane PHP tools that turn API specifications into code can insert harmful code if a malicious API description is used. An attacker could cause the generated client to run unwanted PHP when it is created, potentially taking over the application. Update to version 7.12.0 or later to stop this behavior.

What to do
  • Update jane-php open-api-3 to version 7.12.0.
  • Update jane-php jane-php/open-api-3 to version 7.12.0.
Affected software
Ecosystem VendorProductAffected versions
composer jane-php open-api-3 < 7.12.0
Fix: upgrade to 7.12.0
Packagist jane-php jane-php/open-api-3 < 7.12.0
Fix: upgrade to 7.12.0
Original advisory text
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
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 header parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A header parameter name 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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-94Code Injection
Timeline
Published18 Nov 2026
Updated2 Dec 2026
First seen18 Nov 2026
Track software like this
Free during beta