Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious OpenAPI document with unrestricted $ref
-
DeliveryVictim ingests spec and runs Jane generation in CI
-
ExploitdoResolve calls file_get_contents on attacker ref
-
ExecutionSSRF to internal/metadata service or LFI via '../' traversal
-
ImpactDisclosed file/response inlined into generated code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim to run Jane code generation (versions prior to 7.12.0) against an attacker-influenced OpenAPI/JSON Schema document - this is build/CI-time, not runtime, and requires victim action (UI:A), making untrusted or third-party specs in a generation pipeline the critical precondition. The specific trigger is an unrestricted $ref value processed by Reference.php::doResolve via file_get_contents: an 'http(s)://' $ref yields SSRF to attacker-chosen or internal services (including cloud metadata), an absolute path ('/abs/file') yields LFI, and a parent-relative path ('../secret.yaml') yields path-traversal local JSON/YAML read, with retrieved content inlined into generated output. Limiting factors: no special configuration is needed on vulnerable versions (external refs were resolved by default, which is precisely what 7.12.0 disables), but the attacker cannot act without the victim generating code from a document the attacker controls; 'file://' scheme is rejected per the advisory. After upgrade to 7.12.0, external HTTP/HTTPS refs require explicit opt-in via 'allow-external-refs'. |
| Impact | This is a genuine but conditionally-gated software-supply-chain/build-time risk rather than a drop-everything remote server flaw. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A) encodes the key nuance: no authentication is required and complexity is low, but exploitation hinges on victim/active user interaction (UI:A) - a developer or CI pipeline must actually run Jane code generation against an attacker-influenced OpenAPI/JSON Schema document. The dominant impact is confidentiality (VC:H: local JSON/YAML file disclosure via path traversal plus SSRF responses from internal services or cloud metadata), with only limited integrity impact (VI:L, from attacker-controlled content being inlined into generated code / RFI) and no availability impact. The vendor-set CVSS 4.0 base is 7.0 (HIGH). No EPSS score and no CISA KEV status were provided in the input, and there is no indication of active exploitation; the vuln.today decision label is 'this_week' (elevated but not emergency), consistent with a credible-but-not-yet-widely-weaponized issue. The strongest exploitation signal is a reporter-verified proof-of-concept (reproduce.sh against 7.11.2/PHP 8.1) published in the GHSA advisory. Net: prioritize patching to 7.12.0 for anyone running Jane generation on externally-sourced specs (especially in CI), but note the UI:A gating and build-time-only trigger place this below internet-facing unauthenticated RCE in urgency. Missing data to flag: EPSS and KEV status were not supplied, so exploitation-likelihood modeling is incomplete. |
| Exploit ScenarioDerived | An attacker publishes or submits a malicious OpenAPI/JSON Schema document (e.g., via a pull request, a third-party API spec, or a supply-chain dependency) containing a crafted $ref such as 'http://169.254.169.254/...' or '../../secret.yaml'. When a victim developer or CI job runs Jane (<7.12.0) to generate PHP clients/models from that document, Reference.php::doResolve calls file_get_contents on the unrestricted $ref, issuing SSRF requests to internal/cloud-metadata services and reading arbitrary local files, then inlines the retrieved content into generated output. A reporter-verified PoC (reproduce.sh/make_spec.py/gen.php) demonstrates both the remote-$ref SSRF and the '../' local-file read. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Jane PHP (janephp) prior to 7.12.0 fetches unresolved $ref targets with file_get_contents() during code generation without restricting the URI scheme or the resolved local path, so an attacker-influenced OpenAPI or JSON Schema document can make the generator issue HTTP/HTTPS requests to attacker-chosen or internal services (including cloud metadata endpoints) or read arbitrary local JSON/YAML files via absolute or parent-relative paths, inlining whatever comes back into the generated PHP. The flaw is build/CI-time rather than runtime: the victim must run Jane against the malicious specification, which is why the assessed CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N (high confidentiality, low integrity, no availability impact). No CISA KEV entry and no confirmed working exploit are associated with this issue, though a public PoC reference (reproduce.sh, make_spec.py, gen.php) accompanies the GitHub advisory and maintainers verified the fetch and traversal behaviour on 7.11.2 with PHP 8.1; the priority is to schedule the 7.12.0 upgrade this week and to treat third-party specs in generation pipelines as untrusted input.
RemediationAI
Upgrade Jane to 7.12.0 or later - vendor-released patch: 7.12.0 (release notes at https://github.com/janephp/janephp/releases/tag/v7.12.0, fix commit 75f2bbf79ca2f2eeb13080a2cebded1263396b49 via PR https://github.com/janephp/janephp/pull/961). After the upgrade, external HTTP/HTTPS $ref resolution is disabled by default and must be opted into with the 'allow-external-refs' Jane configuration option; leave that option off for any pipeline that processes specifications you do not fully control, since enabling it restores the outbound-request behaviour the fix removed. If an immediate upgrade is not possible, avoid running code generation against third-party or contributor-supplied OpenAPI/JSON Schema documents and pre-screen specs for absolute or '../'-relative $ref values and for external http(s) URLs, accepting that this is a manual, error-prone control and that the vendor's position is that updating is the complete fix. As additional containment for the build environment, restrict egress from CI runners that perform generation and keep generated artifacts out of untrusted hands, because any file that was read or fetched during generation is inlined into the produced code. Full advisory: https://github.com/janephp/janephp/security/advisories/GHSA-c3cj-3p6p-j822.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Jane is a set of PHP libraries that generate models and API clients from JSON Schema and OpenAPI specifications; the flawed sink is jane-php/json-schema-runtime Reference.php::doResolve(), which calls file_get_contents($fragment) on a $ref URI taken directly from the parsed document. Because no scheme allow-list and no canonicalisation or directory confinement are applied, the classic CWE-22 path traversal root cause extends in two directions: an http(s):// $ref becomes server-side request forgery (also classed CWE-918, and CWE-98 remote file inclusion since the fetched body is inlined into generated source), while an absolute path (/abs/file) or parent-relative path (../secret.yaml) becomes local file inclusion of arbitrary JSON/YAML on the build host, with the retrieved content embedded in the generated code and therefore recoverable by whoever can see build artifacts. The advisory also maps the issue to CWE-611, reflecting that the reference is effectively an entity-style indirection resolved without any external-entity policy. The file:// scheme is rejected in the tested version, but HTTP, HTTPS and filesystem paths are not. Version 7.12.0 changes the defaults: external HTTP/HTTPS reference fetching is disabled unless 'allow-external-refs' is explicitly set in Jane configuration, and $ref resolution is validated to block path traversal and local file inclusion. The affected Composer package observed in the evidence is packagist/jane-php/open-api-3 (vulnerable at 7.11.2, fixed at 7.12.0), and the CPE cpe:2.3:a:janephp:janephp with a wildcard version range covers the janephp code base prior to the fix.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
No auth needed (PR:N) but the victim must run generation on an attacker-controlled document (UI:R); C:H for local-file and internal-service disclosure, I:L for content inlined into output, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (with CWE-918 SSRF and CWE-98 impact, per the advisory), in jane-php/json-schema-runtime, file Reference.php, method doResolve().
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Jane PHP code generation library (before version 7.12.0) has a high-severity flaw that can leak sensitive data when developers use it with untrusted API specifications. Because this occurs during the build process, an attacker could trick engineering teams into exposing internal files or cloud credentials, impacting data confidentiality and potentially enabling further system compromise.
No vendor-released patch identified at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-129312
GHSA-c3cj-3p6p-j822
NVD
CVE.org
EPSS
Exploit-DB