PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-63412 janephp CVE debrief

CVE-2026-63412 is a critical vulnerability in the Jane PHP library, which can lead to remote code execution (RCE) via query parameter name injection. The vulnerability exists in versions prior to 7.12.0 and is caused by the library's failure to properly sanitize query parameter names. An attacker can exploit this vulnerability by generating a malicious OpenAPI document and using it to create a vulnerable client. The vulnerability has been fixed in version 7.12.0.

Vendor
janephp
Product
Unknown
CVSS
CRITICAL 9.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-19
Original CVE updated
2026-11-19
Advisory published
2026-11-19
Advisory updated
2026-11-19

Who should care

Developers using the Jane PHP library, particularly those generating clients from OpenAPI documents, should assess their exposure and upgrade to version 7.12.0 or later. Additionally, users of the generated clients should be aware of the potential for RCE and take steps to mitigate it.

Why it matters

CVE-2026-63412 is a critical vulnerability in the Jane PHP library that can lead to remote code execution via query parameter name injection. Developers should assess their exposure, upgrade to version 7.12.0 or later, and take steps to mitigate the vulnerability.

  • Remote code execution with the consuming application's privileges
  • Potential for arbitrary PHP execution
  • Need for verification of affected versions and remediation
  • Importance of secure OpenAPI document generation and validation

Technical summary

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. This vulnerability allows for remote code execution (RCE) via query parameter name injection in versions prior to 7.12.0. Developers should assess their exposure and upgrade to version 7.12.0 or later to mitigate the vulnerability.

Defensive priority

High

Recommended defensive actions

  • Upgrade to version 7.12.0 or later
  • Review and sanitize query parameter names in OpenAPI documents
  • Use a secure OpenAPI document generation process
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability is caused by the Jane open-api-3 generator emitting 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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-63412 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-63412

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-63412 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-63412

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/63xxx/CVE-2026-63412.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/janephp/janephp/security/advisories/GHSA-q8v2-3j4h-xg2p

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/janephp/janephp/pull/960

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/janephp/janephp/commit/0ea379deab5689475d62653b408de62ad3611c7a

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/janephp/janephp/releases/tag/v7.12.0

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.