CVE-2026-59859
Last modified
CVE-2026-59859 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 1.02% chance of exploitation in the next 30 days.
Description
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| microsoft | kiota | < 1.32.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59859?
How severe is CVE-2026-59859?
How do I fix CVE-2026-59859?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59853SiYuan is an open-source personal knowledge management syste…6.5
- CVE-2026-59854SiYuan is an open-source personal knowledge management syste…4.9
- CVE-2026-59855SiYuan is an open-source personal knowledge management syste…8.6
- CVE-2026-59856Vim is an open source, command line text editor. Prior to 9.…7.8
- CVE-2026-59857Vim is an open source, command line text editor. Prior to 9.…5.5
- CVE-2026-59858Vim is an open source, command line text editor. Prior to 9.…7.8
- CVE-2026-5986A weakness has been identified in Zod jsVideoUrlParser up to…5.5
- CVE-2026-59860Kiota is an OpenAPI based HTTP Client code generator. Prior …8.7
- CVE-2026-59861Kiota is an OpenAPI based HTTP Client code generator. Prior …7.5
- CVE-2026-59862Kiota is an OpenAPI based HTTP Client code generator. Prior …7.5
- CVE-2026-59863Kiota is an OpenAPI based HTTP Client code generator. Prior …7
- CVE-2026-59864Kiota is an OpenAPI based HTTP Client code generator. Prior …9.3
Are you affected by CVE-2026-59859?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
