# CVE-2026-73851: Kiota: Path traversal in generated plugin manifest static\_template.file reference (percent-encoding bypass)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.27% (percentile 84, 2026-11-28)
- **CWE:** CWE-22, CWE-829
- **Aliases:** GHSA-p5rm-jg5c-8c77
- **Published:** 2026-07-24T16:14:56.000Z
- **Modified:** 2026-10-24T15:10:00.190Z

## Who should check

- Projects that depend on NuGet package Microsoft.OpenApi.Kiota (\>= 1.30.0, \< 1.34.0)
- Anyone running microsoft kiota \>= 1.30.0, \< 1.34.0; \< 1.29.1

## Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.34.0, an attacker who controls or tampers with the OpenAPI description consumed by Kiota can supply a file reference that resolves outside the manifest package (e.g. ../../../../etc/passwd, an absolute path, or a file:// / http(s):// URI). When the generated manifest is deployed and consumed by an AI host, this can lead to inclusion or disclosure of files outside the intended package boundary. This vulnerability is fixed in 1.29.1 and 1.34.0.

## Affected and fixed versions

- NuGet `Microsoft.OpenApi.Kiota`: affected \>= 1.30.0, \< 1.34.0; fixed 1.34.0, 1.29.1 (osv)
- microsoft kiota: \>= 1.30.0, \< 1.34.0; \< 1.29.1 (cvelist)

## Mitigation

- Upgrade Microsoft.OpenApi.Kiota to one of 1.34.0, 1.29.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-73851. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-73851.md
Affected: Microsoft.OpenApi.Kiota >= 1.30.0, < 1.34.0
Fixed in: 1.34.0, 1.29.1

Steps:
1. Search this machine and project for Microsoft.OpenApi.Kiota (NuGet), microsoft kiota: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-73851 being exploited?

There is no confirmed exploitation: CVE-2026-73851 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-73851?

Medium: CVSS 6.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-73851?

Microsoft.OpenApi.Kiota \>= 1.30.0, \< 1.34.0.

### Is there a fix for CVE-2026-73851?

Yes. Fixed in 1.34.0, 1.29.1. Upgrade Microsoft.OpenApi.Kiota to one of 1.34.0, 1.29.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-73851?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/microsoft/kiota/security/advisories/GHSA-p5rm-jg5c-8c77>
- patch: <https://github.com/microsoft/kiota/pull/7910>
- patch: <https://github.com/microsoft/kiota/pull/7913>
- patch: <https://github.com/microsoft/kiota/commit/430008e9d700b3fe80f206c672415cfbd8e830e7>
- patch: <https://github.com/microsoft/kiota/commit/de3d18d9fe31ced4ac749728d3a2f94811f59268>
- other: <https://github.com/microsoft/kiota/issues/7912>
- other: <https://github.com/microsoft/kiota/releases/tag/v1.29.1>
- other: <https://github.com/microsoft/kiota/releases/tag/v1.34.0>
- other: <https://github.com/microsoft/kiota>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-73851>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-p5rm-jg5c-8c77> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-73851> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-73851>
