Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-63412: Jane PHP libraries can run attacker code when client generated
CVE-2026-63412 · published 14 days ago
Summary
The Jane PHP libraries that build API client code from OpenAPI specifications could insert malicious code into the generated files if an attacker controls the API description. When the compromised client is used, the attacker’s code runs with the same rights as the application. Upgrade the Jane packages 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 query 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 query parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A query 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.
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/janephp/janephp/security/advisories/GHSA-q8v2-3j4h-xg2p Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63412... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63412 Vendor Advisory
- https://github.com/janephp/janephp Product
- https://github.com/advisories/GHSA-q8v2-3j4h-xg2p
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
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-63412 · NVD
CVE-2026-63412 · MITRE
CVE-2026-63412 · OSV
GHSA-q8v2-3j4h-xg2p · GHSA
GHSA-q8v2-3j4h-xg2p · OSV
Track software like this
Free during beta