Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.5, Kiota emitted x-ms-kiota-info clientClassName and clientNamespaceName values without identifier or path sanitization as both generated client class or namespace names and generated output path components when kiota generate ran without -c/--class-name, allowing an attacker-controlled or compromised OpenAPI description to write generated source outside the -o output directory and inject arbitrary text into generated class or namespace declarations. This issue is fixed in version 1.29.1 and 1.32.5 by GenerationConfiguration.SanitizeClientClassName and SanitizeClientNamespaceName.
CVE-2026-59866
This critical-severity CVE scores 9.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 1.4%, top 30% of all CVEs by exploit prediction. 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).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.3
- EG Score
- 9.3(medium)
- EG Risk
- 57(Track)EG Risk 57/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity93% × 45%Exploitation1% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 70%
- KEV
- Not listed
Published
July 16, 2026
Last Modified
August 17, 2026
Advisory Details (4)
Auto-updated Aug 23, 2026Arbitrary file write + code-injection via x-ms-kiota-info clientClassName and clientNamespaceName (Microsoft Kiota) · Advisory · microsoft/kiota · GitHub
https://github.com/microsoft/kiota/security/advisories/GHSA-4vv7-jj25-4gh6v1.32.5
Patch available: microsoft/kiota v1.32.5
https://github.com/microsoft/kiota/releases/tag/v1.32.5fix: sanitizes the client class and namespace names to avoid code injection
Fix merged in microsoft/kiota PR #7884 on 2026-07-01 — awaiting tagged release
https://github.com/microsoft/kiota/pull/7884commit dc812dbbf88e (microsoft/kiota)
Fix landed in microsoft/kiota commit dc812dbbf88e — awaiting tagged release
https://github.com/microsoft/kiota/commit/dc812dbbf88ef7edf53a890d36b2f9d1460e947dVendor Advisories for CVE-2026-59866(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
NuGet(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| Microsoft.OpenApi.Kiota | 0.1.0-preview ... 1.9.1 (74 versions) | 1.32.5 | — |
| Microsoft.OpenApi.Kiota.Builder | 0.2.0-preview ... 1.9.1 (46 versions) | 1.32.5 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 55× 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.
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-30 19:34 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 03:35 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:27 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 22:52 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 18:55 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 15:10 UTCEG score recompute
- 2026-08-24 11:33 UTCEG score recompute
- 2026-08-23 01:28 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 03:13 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 01:31 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 23:55 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 19:56 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
Show 67 moreShow fewer
- 2026-08-17 13:52 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 16:06 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 05:13 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:48 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 22:47 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 14:04 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 16:14 UTCEG score recompute
- 2026-08-11 01:44 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 17:02 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 19:16 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 17:52 UTCEG score recompute
- 2026-08-06 16:24 UTCEG score recompute
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 22:16 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 16:38 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 13:01 UTCEG score recompute
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 13:48 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 05:01 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 07:14 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 21:40 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 12:00 UTCEG score recompute
- 2026-07-30 03:01 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 19:38 UTCEG score recompute
- 2026-07-29 18:34 UTCEG score recompute
- 2026-07-28 18:55 UTCEG score recompute
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 16:44 UTCEG score recompute
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-26 15:06 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 11:25 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 15:24 UTCEG score recompute
- 2026-07-16 15:23 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-22 · CWE-94
- CVE-2001-1586EG 10.0EPSS p94HIGH
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2004-0847EG 9.8EPSS p99CRITICAL
- CVE-2002-2269EG 9.4HIGH
- CVE-2004-0273EG 9.3EPSS p90HIGH
- CVE-2004-1364EG 8.5EPSS p96HIGH
- CVE-2002-2233EG 8.3HIGH
Frequently asked(5)
What is CVE-2026-59866?
When was CVE-2026-59866 disclosed?
Is CVE-2026-59866 actively exploited?
What is the CVSS score of CVE-2026-59866?
How do I remediate CVE-2026-59866?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59866
Is Your Infrastructure Affected by CVE-2026-59866?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.