CVE-2026-63415: Jane: $ref resolution performs SSRF + LFI (path traversal) at code-generation time (jane-php)
Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-c3cj-3p6p-j822
Summary
jane-php improperly resolves external $ref targets using file_get_contents at code-generation time without scheme or path restrictions, leading to SSRF and path traversal. Developers using jane-php/open-api-3 should update to protect their build environments.
Who is affected
Applications using jane-php/open-api-3 to process untrusted or attacker-influenced OpenAPI documents are affected. During build or CI time, an attacker can trigger Server-Side Request Forgery (SSRF) to target internal services or cloud metadata, and Local File Inclusion (LFI) via path traversal to read arbitrary local JSON or YAML files, with results inlined into the generated code.
Exploitability
The vulnerability has a CVSS 4.0 base score vector indicating network attack vector and low complexity, requiring user interaction and resulting in high confidentiality and low integrity impact. Its EPSS score is 0.003 (percentile 0.291) and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade jane-php/open-api-3 to version 7.12.0 or later.
- Ensure untrusted OpenAPI documents are not processed in environments with access to sensitive internal services or local files.
How to check your project
- Check composer.json or composer.lock for the presence of the package 'jane-php/open-api-3'.
- Verify if the installed version of 'jane-php/open-api-3' is strictly less than 7.12.0.
Automated analysis of the published advisory data, generated 2026-11-20. 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:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | None |
| User interaction | Active |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | Low |
| Availability (vulnerable system) | None |
| 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 causes this vulnerability in jane-php?
The vulnerability is caused by insecure handling of external $ref targets using file_get_contents($fragment) within Reference.php::doResolve without validating scheme or path constraints.
When does the exploitation occur?
Exploitation occurs at code-generation time (build or CI time) when jane-php processes an attacker-influenced OpenAPI document.
Which package and version fix this issue?
The issue is fixed in the Packagist package jane-php/open-api-3 version 7.12.0.
Original advisory description
References
- WEB https://github.com/janephp/janephp/security/advisories/GHSA-c3cj-3p6p-j822
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63415
- WEB https://github.com/janephp/janephp/pull/961
- WEB https://github.com/janephp/janephp/commit/75f2bbf79ca2f2eeb13080a2cebded1263396b49
- PACKAGE https://github.com/janephp/janephp
- WEB https://github.com/janephp/janephp/releases/tag/v7.12.0
Source records: GHSA-c3cj-3p6p-j822 (OSV.dev) · EPSS by FIRST, 2026-11-22.