Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
### Impact When generating an API plugin manifest from an attacker-controlled or compromised OpenAPI description, Kiota copies `x-ai-capabilities.response_semantics.oauth_card_path` into the manifest without validating that it is a safe package-relative file reference. An attacker can supply parent-directory traversal, rooted paths, or absolute URIs instead of a card file within the plugin package. The unsafe reference is propagated into the generated manifest. Its security effect depends on the downstream host's handling of the reference when the plugin is packaged and deployed. This is not local code execution or a file read performed by Kiota merely during generation. A consuming host that resolves the untrusted reference can cross the intended package boundary or use an unintended authentication card. ### Affected versions The affected NuGet packages are `Microsoft.OpenApi.Kiota` and `Microsoft.OpenApi.Kiota.Builder`, starting with version 1.25.1, which introduced this manifest field. The field remains unvalidated through version 1.34.1, including the separate 1.29.1 security-backport release. Version 1.35.0 fixes the issue. ### Patches Upgrade to Kiota 1.35.0 or later and regenerate affected plugin manifests. Kiota now applies the existing safe-file-reference validator to `oauth_card_path`, drops unsafe references, and emits a warning. Valid relative card paths remain supported. - Fix: https://github.com/microsoft/kiota/pull/8055 - Fixed release: https://github.com/micro
- Products
- Microsoft.OpenApi.Kiota, Microsoft.OpenApi.Kiota.Builder
- Affected versions
- 1.25.1, 1.26.0, 1.26.1, 1.27.0, 1.28.0, 1.29.0, 1.29.1, 1.30.0, 1.31.0, 1.31.1, 1.32.0, 1.32.1, 1.32.2, 1.32.3, 1.32.4, 1.32.5, 1.33.0, 1.34.0, 1.34.1
- Fixed versions
- 1.35.0
- CVEs
- CVE-2026-105795
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 27 Oct 2026, 11:43 UTC · Revision 1
Source evidence
Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests
core-osv · Original sourcePublished 6 Oct 2026, 15:36 UTC
### Impact When generating an API plugin manifest from an attacker-controlled or compromised OpenAPI description, Kiota copies `x-ai-capabilities.response_semantics.oauth_card_path` into the manifest without validating that it is a safe package-relative file reference. An attacker can supply parent-directory traversal, rooted paths, or absolute URIs instead of a card file within the plugin package. The unsafe reference is propagated into the generated manifest. Its security effect depends on the downstream host's handling of the reference when the plugin is packaged and deployed. This is not local code execution or a file read performed by Kiota merely during generation. A consuming host that resolves the untrusted reference can cross the intended package boundary or use an unintended authentication card. ### Affected versions The affected NuGet packages are `Microsoft.OpenApi.Kiota` and `Microsoft.OpenApi.Kiota.Builder`, starting with version 1.25.1, which introduced this manifest field. The field remains unvalidated through version 1.34.1, including the separate 1.29.1 security-backport release. Version 1.35.0 fixes the issue. ### Patches Upgrade to Kiota 1.35.0 or later and regenerate affected plugin manifests. Kiota now applies the existing safe-file-reference validator to `oauth_card_path`, drops unsafe references, and emits a warning. Valid relative card paths remain supported. - Fix: https://github.com/microsoft/kiota/pull/8055 - Fixed release: https://github.com/micro
osv:GHSA-6gw6-rv2g-25mg
Microsoft.OpenApi.Kiota
Fixed versions: 1.35.0
Microsoft.OpenApi.Kiota.Builder
Fixed versions: 1.35.0
Complete source record
{
"id": "2c0380d9c53c2f31ec336cc4b7f51a81124b79be7d6eeea035c73023b5b9a0cf",
"url": "https://osv.dev/vulnerability/GHSA-6gw6-rv2g-25mg",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests",
"summary": "### Impact When generating an API plugin manifest from an attacker-controlled or compromised OpenAPI description, Kiota copies `x-ai-capabilities.response_semantics.oauth_card_path` into the manifest without validating that it is a safe package-relative file reference. An attacker can supply parent-directory traversal, rooted paths, or absolute URIs instead of a card file within the plugin package. The unsafe reference is propagated into the generated manifest. Its security effect depends on the downstream host's handling of the reference when the plugin is packaged and deployed. This is not local code execution or a file read performed by Kiota merely during generation. A consuming host that resolves the untrusted reference can cross the intended package boundary or use an unintended authentication card. ### Affected versions The affected NuGet packages are `Microsoft.OpenApi.Kiota` and `Microsoft.OpenApi.Kiota.Builder`, starting with version 1.25.1, which introduced this manifest field. The field remains unvalidated through version 1.34.1, including the separate 1.29.1 security-backport release. Version 1.35.0 fixes the issue. ### Patches Upgrade to Kiota 1.35.0 or later and regenerate affected plugin manifests. Kiota now applies the existing safe-file-reference validator to `oauth_card_path`, drops unsafe references, and emits a warning. Valid relative card paths remain supported. - Fix: https://github.com/microsoft/kiota/pull/8055 - Fixed release: https://github.com/micro",
"evidence": "osv:GHSA-6gw6-rv2g-25mg",
"products": [
{
"name": {
"value": "Microsoft.OpenApi.Kiota",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.35.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.25.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.26.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.26.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.27.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.28.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.29.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.29.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.30.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.31.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.31.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.2",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.3",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.4",
"evidence": "/affected/0/versions"
},
{
"value": "1.32.5",
"evidence": "/affected/0/versions"
},
{
"value": "1.33.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.34.0",
"evidence": "/affected/0/versions"
},
{
"value": "1.34.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "Microsoft.OpenApi.Kiota.Builder",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.35.0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "low",
"structured": {
"id": "GHSA-6gw6-rv2g-25mg",
"aliases": [
"CVE-2026-105795",
"GHSA-6gw6-rv2g-25mg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.25.1"
},
{
"fixed": "1.35.0"
}
]
}
],
"package": {
"name": "Microsoft.OpenApi.Kiota",
"purl": "pkg:nuget/Microsoft.OpenApi.Kiota",
"ecosystem": "NuGet"
},
"versions": [
"1.25.1",
"1.26.0",
"1.26.1",
"1.27.0",
"1.28.0",
"1.29.0",
"1.29.1",
"1.30.0",
"1.31.0",
"1.31.1",
"1.32.0",
"1.32.1",
"1.32.2",
"1.32.3",
"1.32.4",
"1.32.5",
"1.33.0",
"1.34.0",
"1.34.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-6gw6-rv2g-25mg/GHSA-6gw6-rv2g-25mg.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.25.1"
},
{
"fixed": "1.35.0"
}
]
}
],
"package": {
"name": "Microsoft.OpenApi.Kiota.Builder",
"purl": "pkg:nuget/Microsoft.OpenApi.Kiota.Builder",
"ecosystem": "NuGet"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-6gw6-rv2g-25mg/GHSA-6gw6-rv2g-25mg.json"
}
}
],
"modified": "2026-10-06T15:46:43.092723303Z",
"provider": "osv",
"references": [
"https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg",
"https://nvd.nist.gov/vuln/detail/CVE-2026-105795",
"https://github.com/microsoft/kiota/pull/8055",
"https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce",
"https://github.com/microsoft/kiota",
"https://github.com/microsoft/kiota/releases/tag/v1.35.0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": "2026-10-06T15:17:16Z",
"github_reviewed_at": "2026-10-06T15:36:13Z"
}
},
"related_cves": [
{
"value": "CVE-2026-105795",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 89259,
"published_at": "2026-10-06T15:36:13+00:00"
}