CVE-2026-63415
published high CVSS 4.0 · 7.0Jane: $ref resolution performs SSRF + LFI (path traversal) at code-generation time (jane-php)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| janephp | — | janephp< 7.12.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| janephp | janephp | < 7.12.0 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-98 CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program
- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
- CWE-918 CWE-918: Server-Side Request Forgery
References
4Provider assertions
2GitHub_M · cna
Jane: $ref resolution performs SSRF + LFI (path traversal) at code-generation time (jane-php)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b89a32b2cdea4bcd6b620aed02bd188bf524b81a27891145727d38b50faf03e6
- Ingested
- 19 Nov 2026, 15:19:37 UTC
- Source record
- Official CVE record