← Back to search

CVE-2026-105796

8.8 HIGHpublic exploit available

Published 2026-10-06 · Updated 2026-10-09

AI risk analysis

Summary
Kiota's Java and PHP documentation-comment sanitizers can be exploited to inject attacker-controlled OpenAPI text, leading to potential code execution.
Exploitability
Exploitation requires generating source code from a malicious description and compiling/loading it, making it moderately hard to exploit.
Blast radius
If exploited, the injected code can execute in the context of the consuming application or build environment, potentially leading to significant damage.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Kiota version 1.35.0 or later.
rcecode-executionapisanitization-flaw

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.