CVE-2026-59867
Published:July 16, 2026
Updated:August 04, 2026
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
Microsoft.OpenApi.Kiota (DOT_NET):
Affected version(s) >=0.1.0.0 <1.32.5Fix Suggestion:
Update to version 1.32.5Microsoft.OpenApi.Kiota.Builder (DOT_NET):
Affected version(s) >=0.2.0.0 <1.32.5Fix Suggestion:
Update to version 1.32.5https://github.com/microsoft/kiota.git (GITHUB):
Affected version(s) >=v0.0.1 <v1.32.5Fix Suggestion:
Update to version v1.32.5microsoft.openapi.kiota (NUGET):
Affected version(s) >=0.1.0-preview <1.32.5Fix Suggestion:
Update to version 1.32.5microsoft.openapi.kiota (NUGET):
Affected version(s) >=0.1.0-preview <1.32.5Fix Suggestion:
Update to version 1.32.5microsoft.openapi.kiota.builder (NUGET):
Affected version(s) >=0.2.0-preview <1.32.5Fix Suggestion:
Update to version 1.32.5microsoft.openapi.kiota.builder (NUGET):
Affected version(s) >=0.2.0-preview <1.32.5Fix Suggestion:
Update to version 1.32.5Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
1.92