PoC Monitor
← All CVEs
CVE-2026-105796published 6 Oct 2026 14:21 UTCData: JSON · API

Kiota

Kiota: Code injection through doc-comment delimiter reformation in Kiota Java and PHP generators

Kiota is an OpenAPI based HTTP Client code generator. From 0.5.0 until 1.35.0, Kiota's Java and PHP documentation-comment sanitizers delete block-comment terminators rather than neutralizing them, allowing overlapping characters to reform a terminator and place attacker-controlled OpenAPI text outside a generated documentation comment. The Java sanitizer also removes non-ASCII characters after deleting terminators, which can create a new terminator during normalization. Exploitation requires a developer or build pipeline to generate source from the malicious description and then compile and load the Java output or load the PHP output, after which injected code executes in the consuming application or build environment context. The version range is based on the Java defect and does not assert that PHP generation existed in every affected release. This issue is fixed in version 1.35.0.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

microsoft kiota
  • >= 0.5.0, < 1.35.0

Fixed in 1.35.0

microsoft Microsoft.OpenApi.Kiota
  • >= 0.5.0, < 1.35.0

Fixed in 1.35.0

microsoft Microsoft.OpenApi.Kiota.Builder
  • >= 0.5.0, < 1.35.0

Fixed in 1.35.0

Mitigation

Upgrade kiota to 1.35.0 or later.

Upgrade Microsoft.OpenApi.Kiota to 1.35.0 or later.

Upgrade Microsoft.OpenApi.Kiota.Builder to 1.35.0 or later.

References

1 more

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 Oct 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.