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

CVE-2026-63411: Jane PHP libraries let attacker run code when client built

CVE-2026-63411 · published 14 days ago
Summary

The Jane PHP libraries that create API clients from OpenAPI files can insert malicious code if the description field of a parameter contains special characters. An attacker who supplies a crafted OpenAPI document could cause the generated client to execute any PHP code when it is used, running with the same rights as your application. Update the Jane packages (janephp/janephp, jane-php/open-api-3) 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
– janephp janephp < 7.12.0
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 parameter description -> 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 parameter description verbatim in generated Client/Endpoint method docblocks. A parameter description 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 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-94Code Injection
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
CWE-116Improper Encoding or Escaping of Output
Timeline
Published18 Nov 2026
Updated2 Dec 2026
First seen18 Nov 2026
Track software like this
Free during beta