CVE-2026-63411
Received Received - Intake

Jane OpenAPI-3 Generator PHP Code Injection

Vulnerability report for CVE-2026-63411, 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 parameter description verbatim in generated Client/Endpoint method docblocks. A parameter description 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

The Jane PHP library generates API clients from OpenAPI specs. Prior to version 7.12.0, it includes parameter descriptions directly in generated code without sanitization. If a description contains a PHPDoc closing delimiter, it can prematurely end the comment block and inject attacker-controlled PHP code into class methods, including constructors. This allows arbitrary PHP execution when the generated client is instantiated.

Detection Guidance

Detection requires checking if the Jane open-api-3 generator version is below 7.12.0. Inspect generated client code for PHPDoc comments containing parameter descriptions with potential PHP code injection. Review OpenAPI documents used for generation for malicious parameter descriptions.

Impact Analysis

If you use a vulnerable version of Jane to generate an API client from an attacker-controlled OpenAPI spec, the generated code could execute malicious PHP when your application instantiates the client. This could lead to data breaches, remote code execution, or full system compromise, depending on the privileges of the application.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements. A breach could result in regulatory fines, legal liabilities, and reputational damage due to non-compliance with data protection standards.

Mitigation Strategies

Upgrade the Jane open-api-3 generator to version 7.12.0 or later. Regenerate all clients from OpenAPI documents using the updated version. Review and sanitize any OpenAPI documents before using them for client generation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63411. 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...