CVE-2026-63413
Received Received - Intake

Jane PHP Code Injection via OpenAPI Header Parameter

Vulnerability report for CVE-2026-63413, 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 header parameter name verbatim as an array key in generated Client/Endpoint method docblocks. A header 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Jane PHP library before version 7.12.0 has a vulnerability where the Jane open-api-3 generator creates OpenAPI header parameter names as array keys in generated Client/Endpoint method docblocks without sanitization. If a header parameter name contains a PHPDoc closing delimiter, it can prematurely end the comment and inject attacker-controlled PHP code into the class body, including an __construct method that executes when the generated Client is instantiated.

Detection Guidance

To detect this vulnerability, check if your system uses Jane open-api-3 generator versions prior to 7.12.0. Inspect generated Client/Endpoint method docblocks for header parameter names that may contain PHPDoc closing delimiters. Review generated code for unexpected __construct methods or class-body PHP code execution.

Impact Analysis

This vulnerability allows an attacker to execute arbitrary PHP code with the privileges of the consuming application. Exploitation requires generating a client from a malicious OpenAPI document and then using the generated SDK. The attacker could gain control over the application or perform unauthorized actions.

Compliance Impact

This vulnerability allows arbitrary PHP code execution with the privileges of the consuming application. This could lead to unauthorized data access, modification, or exfiltration, which may violate GDPR's data protection requirements or HIPAA's safeguards for protected health information.

Mitigation Strategies

Immediately upgrade Jane open-api-3 generator to version 7.12.0 or later. Regenerate all clients from OpenAPI documents using the updated version. Audit existing generated code for signs of exploitation, such as unexpected methods or code in class-body position.

Chat Assistant

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