Skip to main content

Jane PHP EUVDEUVD-2026-129312

| CVE-2026-63415 HIGH
Path Traversal (CWE-22)
2026-11-18 GitHub_M GHSA-c3cj-3p6p-j822
7.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious OpenAPI document with unrestricted $ref
  2. Delivery
    Victim ingests spec and runs Jane generation in CI
  3. Exploit
    doResolve calls file_get_contents on attacker ref
  4. Execution
    SSRF to internal/metadata service or LFI via '../' traversal
  5. Impact
    Disclosed 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

janephp < 7.12.0

Affected Packages

composer jane-php/open-api-3 fix: 7.12.0
euvd janephp fix: 7.12.0

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

Vendor (GitHub_M) PRIMARY 7.0 HIGH
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
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 23:19 EUVD
CVE Published
Nov 18, 2026 - 21:42 cve.org
HIGH 7.0

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.3%
Top 71% exploitable
Prevalence
Low
niche PHP build-time code-generation library, not production-runtime deployed
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy