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 | Vendor | Product | Affected 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.
References
- https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c... Patch
- https://github.com/janephp/janephp/pull/960 Patch
- https://github.com/janephp/janephp/releases/tag/v7.12.0 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63411... Vendor Advisory
- https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63411 Vendor Advisory
- https://github.com/advisories/GHSA-xwcw-j52r-34x4
- https://github.com/janephp/janephp Product
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
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
Sources
CVE-2026-63411 · NVD
CVE-2026-63411 · MITRE
CVE-2026-63411 · OSV
GHSA-xwcw-j52r-34x4 · GHSA
GHSA-xwcw-j52r-34x4 · OSV
Track software like this
Free during beta