All vulnerabilities

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.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
jane-php/open-api-3Packagist · osv:Packagist:jane-php/open-api-3
  • Every version before 7.12.0

About jane-php/open-api-3

Monthly downloads (Packagist)
77,019Packagist, 24 Nov 2026
Total downloads (Packagist)
1,769,227Packagist, 24 Nov 2026

References