CVE-2026-59859

HIGHPre-NVD 8.78.7
EchelonGraph scoreLOW confidence

This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: secondary
8.7
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: CVSS: 8.7Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.4, Kiota's PHP generator embedded OpenAPI description, default fields, property names, and other schema-derived strings into PHP double-quoted literals through SanitizeDoubleQuote() in Writers/StringExtensions.cs without escaping $, allowing attacker-controlled ${...}, $var, or {$obj->prop} interpolation constructs to inject arbitrary PHP code into generated model and request-builder classes. This issue is fixed in version 1.32.4.

CVSS v3
8.7
EG Score
8.7(low)
EPSS
KEV
Not listed

Published

July 16, 2026

Last Modified

July 17, 2026

Advisory Details (4)

Auto-updated Jul 16, 2026
Patch available. Sources: github, github_pr, github_commit, github_release.
github_release Patch Available

v1.32.4

Patch available: microsoft/kiota v1.32.4

https://github.com/microsoft/kiota/releases/tag/v1.32.4
github_commit

commit 5e2a211ac426 (microsoft/kiota)

Fix landed in microsoft/kiota commit 5e2a211ac426 — awaiting tagged release

https://github.com/microsoft/kiota/commit/5e2a211ac4261988fbdc72c3b268596ea8837b87
github_pr

fix(php): Escape $ in double-quoted string literals to prevent code injection

Fix merged in microsoft/kiota PR #7863 on 2026-06-25 — awaiting tagged release

https://github.com/microsoft/kiota/pull/7863
github Patch Available

CVE Advisory: Code Generation Literal Injection in Kiota PHP Generator · Advisory · microsoft/kiota · GitHub

https://github.com/microsoft/kiota/security/advisories/GHSA-jqwh-526h-c92j

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 3× in last 7d / 3× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-17 02:31 UTCEG score recompute
  2. 2026-07-16 14:45 UTCEG score recompute
  3. 2026-07-16 14:44 UTCMITRE cvelistV5first tracked

Frequently asked(4)

What is CVE-2026-59859?
CVE-2026-59859 is a high vulnerability published on July 16, 2026. Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.4, Kiota's PHP generator embedded OpenAPI description, default fields, property names, and other schema-derived strings into PHP double-quoted literals through SanitizeDoubleQuote() in Writers/StringExtensions.cs without escaping…
When was CVE-2026-59859 disclosed?
CVE-2026-59859 was first published in the National Vulnerability Database on July 16, 2026, with the most recent update on July 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-59859?
CVE-2026-59859 has a CVSS v3 base score of 8.7 (NVD). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-59859?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-59859, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-59859

Explore →

Is Your Infrastructure Affected by CVE-2026-59859?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.