VYPR
High severityNVD Advisory· Published Jul 16, 2026· Updated Jul 16, 2026

Kiota: Generation-time SSRF + remote/local file inclusion via unrestricted $ref

CVE-2026-59867

Description

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, Kiota resolved OpenAPI $ref values by fetching remote http(s) URLs and reading local absolute or out-of-tree file paths, allowing kiota generate on an attacker-controlled or attacker-influenced description to perform build-time SSRF, remote file inclusion, and local file inclusion by inlining external schemas such as REMOTE_KIOTA_PROP or Leaked into generated clients. This issue is fixed in version 1.32.5 by AllowedExternalOriginsStreamLoader and the --allowed-external-origins option.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
Microsoft.OpenApi.KiotaNuGet
< 1.32.51.32.5
Microsoft.OpenApi.Kiota.BuilderNuGet
< 1.32.51.32.5

Affected products

1

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.