CVE-2026-63415
Jane: $ref resolution performs SSRF + LFI (path traversal) at code-generation time (jane-php)
- CVSS
- 7
- EPSS
- 0.51% (p45)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-25
- Product
- janephp janephp
- Aliases
- GHSA-c3cj-3p6p-j822
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
Description
Jane is a set of PHP libraries that generates models and API clients from JSON Schema and OpenAPI specifications. Prior to 7.12.0, Jane's Reference.php::doResolve passes an attacker-controlled OpenAPI $ref target to file_get_contents without restricting its scheme or resolved local path. When a victim generates code from an attacker-influenced document, an HTTP or HTTPS reference can cause requests to attacker-chosen or internal services, while an absolute or parent-relative path can read local JSON or YAML files and inline the retrieved content into generated output. Exploitation occurs during generation or CI processing and can disclose local files and internal-service responses. This issue is fixed in version 7.12.0.
Fixed in
7.12.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | jane-php/open-api-3 | < 7.12.0 | 7.12.0 |
| Packagist | jane-php/open-api-3 | >=0, <7.12.0 | 7.12.0 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/janephp/janephp/security/advisories/GHSA-c3cj-3p6p-j822 x_refsource_CONFIRM
- https://github.com/janephp/janephp/pull/961 x_refsource_MISC
- https://github.com/janephp/janephp/commit/75f2bbf79ca2f2eeb13080a2cebded1263396b49 x_refsource_MISC
- https://github.com/janephp/janephp/releases/tag/v7.12.0 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63415.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63415 advisory
- https://github.com/advisories/GHSA-c3cj-3p6p-j822 other
- https://github.com/janephp/janephp package