CVE-2026-63412
Received Received - Intake

Jane PHP Library Code Injection via OpenAPI Docblock

Vulnerability report for CVE-2026-63412, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: GitHub, Inc.

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, the Jane open-api-3 generator emits an OpenAPI query parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A query parameter name containing a PHPDoc closing delimiter can terminate the comment early and place attacker-controlled PHP in class-body position, including an __construct method that runs when the generated Client is instantiated. Exploitation requires generating a client from an attacker-influenced OpenAPI document and then using the generated SDK, and can execute arbitrary PHP with the consuming application's privileges. This issue is fixed in version 7.12.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
jane open-api-3_generator to 7.12.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-116 The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Jane PHP library before version 7.12.0. It involves the Jane open-api-3 generator creating OpenAPI query parameter names directly in generated code without proper sanitization. If a query parameter name contains a PHPDoc closing delimiter, it can prematurely end a comment block and inject attacker-controlled PHP code into class-body positions, including constructors. This allows arbitrary PHP execution when the generated client is used.

Detection Guidance

Detecting this vulnerability requires checking if the Jane open-api-3 generator version is below 7.12.0. Inspect the installed version of the library in your project or system. For PHP projects, use commands like 'composer show jane/open-api-3' or check the version in composer.lock. If the version is less than 7.12.0, the system is vulnerable.

Impact Analysis

If you use a Jane-generated client from an untrusted OpenAPI document, an attacker could execute arbitrary PHP code with the privileges of your application. This requires the attacker to influence the OpenAPI document used to generate the client and for you to use the generated SDK. The impact includes potential data breaches, unauthorized system access, or full application compromise.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR (data protection), HIPAA (health information security), or other regulations by enabling unauthorized data access or modification. Exploitation may result in data breaches, violating confidentiality requirements and potentially leading to legal penalties or loss of certification.

Mitigation Strategies

Immediately update the Jane open-api-3 generator to version 7.12.0 or later. If using Composer, run 'composer require jane/open-api-3:^7.12.0'. Review any generated Client/Endpoint classes for unexpected __construct methods or docblock issues. Avoid using OpenAPI documents from untrusted sources.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63412. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...