NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-j26j-7qc4-3mrf: OpenClaw: MS Teams fileConsent/invoke missing conversation binding allowed cross-conversation pending-upload consumption

mediumCVSS 4.0 5.3

In OpenClaw's Microsoft Teams extension, a pending file upload was authorized by its `uploadId` alone. A `fileConsent/invoke` from a different conversation could complete the upload or cancel it. Versions up to 2026.2.24 are affected. Upgrade the `openclaw` npm package to 2026.2.25.

Published Mar 3, 2026 · Analysis Oct 31, 2026

What an attacker can do

When OpenClaw offers a file in Teams, it stores a pending upload keyed by uploadId, along with the conversationId that created it. The invoke handler, handleFileConsentInvoke in extensions/msteams/src/monitor-handler.ts, looked the upload up by uploadId only. It did not compare the conversation of the incoming invoke with the stored one before calling uploadToConsentUrl(...) and removing the pending entry.

An attacker who holds a valid uploadId while it is still within its time limit can therefore act from another conversation. On the accept path, they trigger completion of the upload outside the conversation it was meant for. On the decline path, they cancel a victim's pending upload. The attacker needs a low-privilege foothold as a Teams participant that can send the invoke, plus a leaked or guessed id. The CVSS 4.0 vector marks confidentiality as none and integrity as low. In practice this is a cross-conversation authorization flaw with limited reach, not a path to code execution.

Who is affected

Affected: the openclaw npm package at 2026.2.24 and earlier, for deployments that run the Microsoft Teams extension and use the file-consent flow. Installs without the Teams channel are not exposed through this path.

Check the version:

npm ls openclaw

For a global install, use npm ls -g openclaw.

openclaw

Ecosystem
npm
Affected
<= 2026.2.24
Fixed in
2026.2.25
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.2.25 or later:

npm install [email protected]

The fix (commit 347f7b95) makes handleFileConsentInvoke look up the pending upload first, then normalize both conversation ids with normalizeMSTeamsConversationId. On a mismatch it logs the event and returns without uploading or consuming the pending entry. A mismatched accept gets the expired-upload message. The advisory gives no workaround.

How to tell if you were hit

Review Teams extension logs for file-consent invokes whose conversation does not match the conversation that offered the file. Patched versions log this mismatch. On unpatched versions, look for uploads that completed in a conversation different from where the file was offered, and for pending uploads that vanished without the intended user answering. Treat uploadId values that appear in shared logs or screenshots as exposed.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

In openclaw MS Teams file-consent flow, pending uploads were authorized by uploadId alone. fileConsent/invoke did not verify the invoke conversation against the conversation that created the pending upload.

Impact

An attacker who obtained a valid uploadId within TTL could trigger cross-conversation upload completion (accept path) or cancel a victim pending upload (decline path).

Technical Details

  • Pending uploads stored conversationId, but invoke handling consumed by uploadId only.
  • The invoke path did not enforce conversation binding before uploadToConsentUrl(...) and pending-upload removal.
  • Fix binds accept/decline handling to normalized conversation id match before consuming pending upload state.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version (as of February 26, 2026): 2026.2.24
  • Vulnerable range: <= 2026.2.24
  • Patched in release: 2026.2.25

Remediation

Upgrade to openclaw 2026.2.25 (or later) once published.

Fix Commit(s)

  • 347f7b9550064f5f5b33c6e07f64e85b9657b6f1

Release Process Note

patched_versions is pre-set to the release (2026.2.25). Advisory published with npm release 2026.2.25.

OpenClaw thanks @tdjackey for reporting.

Credited to tdjackey.

Questions

What does an attacker need to exploit GHSA-j26j-7qc4-3mrf?

A valid uploadId for a pending upload that has not expired, and the ability to send a fileConsent/invoke from another Teams conversation. The vector lists low privileges and no user interaction.

What can they do with it?

Complete the pending upload from the wrong conversation, or cancel a victim's pending upload. The advisory names no further impact.

Which version fixes it?

2026.2.25. Versions up to and including 2026.2.24 are vulnerable.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries