CVE Explorer
CVE-2026-59860
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"kiota","vendor":"microsoft","versions":[{"status":"affected","version":"< 1.32.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/microsoft/kiota/commit/ebb632db90aa8e3c20949337d9faa2720d64ca44","tags":["x_refsource_MISC"],"url":"https://github.com/microsoft/kiota/commit/ebb632db90aa8e3c20949337d9faa2720d64ca44"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/references/2
{"name":"https://github.com/microsoft/kiota/pull/7831","tags":["x_refsource_MISC"],"url":"https://github.com/microsoft/kiota/pull/7831"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/references/1
{"name":"https://github.com/microsoft/kiota/releases/tag/v1.32.3","tags":["x_refsource_MISC"],"url":"https://github.com/microsoft/kiota/releases/tag/v1.32.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/references/3
{"name":"https://github.com/microsoft/kiota/security/advisories/GHSA-3hrf-2gc2-mx32","tags":["x_refsource_CONFIRM"],"url":"https://github.com/microsoft/kiota/security/advisories/GHSA-3hrf-2gc2-mx32"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/microsoft/kiota/security/advisories/GHSA-3hrf-2gc2-mx32"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8e487021f2bf5dbed440f3081e5d8565647160dee5a511aafb9c944113045d8b · sha256:93f1c2698fe50223… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.