LiveActive security incident?Get immediate response
CVE Record

CVE-2026-59864: Kiota: Path/URL injection into generated Copilot plugin manifest via x-ai-* extensions

Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.32.5, `kiota plugin add` and `kiota plugin generate` (with `-t APIPlugin`) emitted attacker-controlled static_template.file values from x-ai-adaptive-card and x-ai-capabilities into generated Microsoft 365 Copilot and Teams plugin manifests without path validation, allowing ../, absolute, rooted, UNC, Windows drive, or URI paths in response_semantics.static_template.file to cause path traversal or out-of-package file inclusion when the generated plugin was deployed. This issue is fixed in version 1.32.5.

CriticalCVSS 9.3Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2026-59864 affects Microsoft Kiota before 1.32.5. A malicious or untrusted OpenAPI description could cause generated Microsoft 365 Copilot or Teams plugin manifests to reference files outside the intended plugin package. That can create serious deployment risk if teams generate and publish plugins from attacker-controlled API descriptions.

Executive priority

Prioritize remediation for teams building or deploying Microsoft 365 Copilot and Teams plugins. The business risk is highest where plugin generation is automated or based on external OpenAPI files. Upgrade and regenerate before further deployment.

Technical view

Kiota plugin generation for APIPlugin accepted attacker-controlled static_template.file values from x-ai-adaptive-card and x-ai-capabilities without path validation. The sources identify traversal, absolute, rooted, UNC, Windows drive, and URI paths as unsafe. The issue is fixed in Kiota 1.32.5.

Likely exposure

Exposure is most likely in developer, CI, or platform teams using kiota plugin add or kiota plugin generate -t APIPlugin with Kiota versions before 1.32.5, especially when OpenAPI documents come from third parties or less-trusted sources.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Practical abuse requires influence over the OpenAPI extensions used during plugin generation and a path that leads to deployment of the generated Copilot or Teams plugin.

Researcher notes

Mapped weaknesses are CWE-22 and CWE-829. The affected product is Microsoft Kiota before 1.32.5. The source bundle provides no CPEs and no active exploitation evidence. Analysis should stay focused on generated manifest path handling, not broader Copilot or Teams platform claims.

Mitigation direction

  • Upgrade Kiota to version 1.32.5 or later.
  • Regenerate affected Copilot and Teams plugin manifests after upgrading.
  • Audit OpenAPI x-ai-adaptive-card and x-ai-capabilities extensions for unsafe file paths.
  • Review generated manifests for response_semantics.static_template.file entries outside the plugin package.
  • Avoid generating deployable plugins from untrusted OpenAPI descriptions without review.
  • Follow Microsoft Kiota advisory and release guidance.

Validation and detection

  • Inventory Kiota versions used by developers and CI pipelines.
  • Identify uses of kiota plugin add and plugin generate with APIPlugin output.
  • Inspect generated manifests for traversal, absolute, UNC, drive, rooted, or URI paths.
  • Review deployed plugin packages generated before Kiota 1.32.5.
  • Confirm regenerated manifests no longer preserve unsafe static_template.file paths.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-829: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-59864 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.3 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.3CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Vulnerability scoring details

Base CVSS 4.0 score

9.3Critical
CVSS 4.0 vector shape for CVE-2026-59864Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
microsoftkiota< 1.32.5Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-829 · source CWE mapping

Inclusion of Functionality from Untrusted Control Sphere

Inclusion of Functionality from Untrusted Control Sphere represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.