CVE-2026-63411: Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-xwcw-j52r-34x4
Summary
The jane-php/open-api-3 library fails to sanitize PHPDoc comment strings during code generation, allowing attackers to break out of comment blocks and inject arbitrary PHP code. Developers using this library to generate SDKs from untrusted OpenAPI documents should upgrade immediately to version 7.12.0 or later.
Who is affected
This vulnerability allows for Remote Code Execution (RCE) when an attacker-influenced OpenAPI specification is processed by the library. The injected code executes upon the instantiation of the generated client, which typically occurs during standard application runtime operations. The vulnerability affects all users generating client SDKs from remote or untrusted OpenAPI definitions.
Exploitability
The vulnerability carries a CRITICAL severity, reflecting the potential for full system compromise. With a CVSS 4.0 vector of AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, the flaw is considered easily exploitable with no authentication or user interaction required. Current EPSS data indicates a low probability of exploitation, and it is not listed in the CISA KEV catalog.
Remediation
- Upgrade jane-php/open-api-3 to version 7.12.0 or higher.
- Regenerate client SDKs from OpenAPI specifications after applying the version update.
- Implement input validation or sanitization on OpenAPI files if they originate from untrusted external sources.
How to check your project
- Inspect the 'composer.lock' file for the 'jane-php/open-api-3' package version.
- Run 'composer show jane-php/open-api-3' to check the currently installed version against the vulnerable range of 0 to 7.11.x.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Packagist | jane-php/open-api-3 |
>= 0, < 7.12.0 | 7.12.0 | composer require "jane-php/open-api-3:>=7.12.0" |
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What is the root cause of this vulnerability?
The library improperly handles PHPDoc generation by failing to sanitize string inputs, specifically allowing a '*/' sequence to terminate a comment block prematurely and inject arbitrary PHP code into the class body.
Is this vulnerability actively exploited in the wild?
There is no evidence of active exploitation at this time, as the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
What specifically triggers the remote code execution?
The injected code is executed whenever the generated client class is instantiated by the application, which occurs during the normal lifecycle of the SDK's usage.
Original advisory description
References
- WEB https://github.com/janephp/janephp/security/advisories/GHSA-xwcw-j52r-34x4
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63411
- WEB https://github.com/janephp/janephp/pull/960
- WEB https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a
- PACKAGE https://github.com/janephp/janephp
- WEB https://github.com/janephp/janephp/releases/tag/v7.12.0
Source records: GHSA-xwcw-j52r-34x4 (OSV.dev) · EPSS by FIRST, 2026-11-22.