CVE-2026-59867
Full vulnerability record from the local CVENow database.
Description
Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 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.29.1 and 1.32.5 by AllowedExternalOriginsStreamLoader and the --allowed-external-origins option.
Severity
HIGH
CVSS score
7.1
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-16 16:19:15.620000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-59867",
"sourceIdentifier": "[email protected]",
"published": "2026-07-16T16:19:15.620",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 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.29.1 and 1.32.5 by AllowedExternalOriginsStreamLoader and the --allowed-external-origins option."
},
{
"lang": "es",
"value": "Kiota es un generador de código de cliente HTTP basado en OpenAPI. Antes de la versión 1.32.5, Kiota resolvía los valores $ref de OpenAPI obteniendo URLs http(s) remotas y leyendo rutas de ficheros locales absolutas o fuera del árbol, permitiendo que ’kiota generate’ en una descripción controlada o influenciada por un atacante realizara SSRF en tiempo de compilación, inclusión remota de ficheros e inclusión local de ficheros al incrustar esquemas externos como REMOTE_KIOTA_PROP o Leaked en los clientes generados. Este problema se ha solucionado en la versión 1.32.5 mediante AllowedExternalOriginsStreamLoader y la opción --allowed-external-origins."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "microsoft",
"product": "kiota",
"versions": [
{
"version": ">= 1.30.0, < 1.31.1",
"status": "affected"
},
{
"version": "< 1.29.1",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 4.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-16T15:35:45.668795Z",
"id": "CVE-2026-59867",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
},
{
"lang": "en",
"value": "CWE-829"
},
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"references": [
{
"url": "https://github.com/microsoft/kiota/commit/cccd798027f0a20db796b3df6c64f9897a39d7b1",
"source": "[email protected]"
},
{
"url": "https://github.com/microsoft/kiota/pull/7888",
"source": "[email protected]"
},
{
"url": "https://github.com/microsoft/kiota/releases/tag/v1.32.5",
"source": "[email protected]"
},
{
"url": "https://github.com/microsoft/kiota/security/advisories/GHSA-rg4h-fpcp-2qm8",
"source": "[email protected]"
}
]
}