{"id":"CVE-2026-105795","summary":"Kiota: Unsafe oauth_card_path references in Kiota-generated API plugin manifests","details":"Kiota is an OpenAPI based HTTP Client code generator. From 1.25.1 until 1.35.0, Kiota copies x-ai-capabilities.response_semantics.oauth_card_path from an attacker-controlled or compromised OpenAPI description into a generated API plugin manifest without validating that the value is a safe package-relative file reference. Parent-directory traversal, rooted paths, or absolute URIs can therefore reach a consuming host that resolves the reference, allowing the host to cross the intended plugin-package boundary or use an unintended authentication card. Kiota does not itself read a local file or execute code merely while generating the manifest, and impact requires downstream resolution of the unsafe reference. This issue is fixed in version 1.35.0.","aliases":["GHSA-6gw6-rv2g-25mg"],"modified":"2026-10-07T02:47:28.524562968Z","published":"2026-10-06T14:19:03.186Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105795.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105795.json"},{"type":"FIX","url":"https://github.com/microsoft/kiota/commit/fc0f219b8a665c4c69be8befcff035ba0eb8e4ce"},{"type":"FIX","url":"https://github.com/microsoft/kiota/pull/8055"},{"type":"WEB","url":"https://github.com/microsoft/kiota/releases/tag/v1.35.0"},{"type":"ADVISORY","url":"https://github.com/microsoft/kiota/security/advisories/GHSA-6gw6-rv2g-25mg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105795"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/microsoft/kiota","events":[{"introduced":"1d771798165084d73f745111fd99df79bbea913c"},{"fixed":"114aa7ee609262d892fd9ceb02b2d9f7ecb84190"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1.25.1"},{"fixed":"1.35.0"}]}}],"versions":["v1.29.0","v1.34.1","v1.34.0","v1.33.0","v1.32.5","v1.32.4","v1.32.3","v1.32.2","v1.32.1","v1.32.0","v1.31.1","v1.31.0","v1.30.0","v1.27.0","v1.27.0-preview.202506050001","v1.27.0-preview.202505290001","v1.27.0-preview.202505220001","v1.26.1","v1.26.0","v1.25.1-preview.202505010001","v1.25.1-preview.202504240001","v1.25.1-preview.202504170001","v1.25.1-preview.202504100001","v1.25.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105795.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}