Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.3, Kiota is affected by a code-generation injection vulnerability in the C# XML documentation-comment sink (the description, externalDocs label, and externalDocs link fields emitted as /// … comments). When text from an OpenAPI description is written into single-line XML doc comments without stripping newline and Unicode line-terminator characters, an attacker can break out of the /// comment line and inject additional code into generated C# clients. This issue is fixed in version 1.32.3.
CVE-2026-59860
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).
- 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
- 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, 2026v1.32.3
Patch available: microsoft/kiota v1.32.3
https://github.com/microsoft/kiota/releases/tag/v1.32.3commit ebb632db90aa (microsoft/kiota)
Fix landed in microsoft/kiota commit ebb632db90aa — awaiting tagged release
https://github.com/microsoft/kiota/commit/ebb632db90aa8e3c20949337d9faa2720d64ca44fix(csharp): strip newlines from doc comment text to prevent code injection
Fix merged in microsoft/kiota PR #7831 on 2026-06-24 — awaiting tagged release
https://github.com/microsoft/kiota/pull/7831CVE Advisory: XML Doc-Comment Newline Breakout Code Injection in Kiota · Advisory · microsoft/kiota · GitHub
https://github.com/microsoft/kiota/security/advisories/GHSA-3hrf-2gc2-mx32Weakness 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.
- 2026-07-17 01:59 UTCEG score recompute
- 2026-07-16 14:45 UTCEG score recompute
- 2026-07-16 14:44 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(4)
What is CVE-2026-59860?
When was CVE-2026-59860 disclosed?
What is the CVSS score of CVE-2026-59860?
How do I remediate CVE-2026-59860?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59860
Is Your Infrastructure Affected by CVE-2026-59860?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.