# GHSA-j26j-7qc4-3mrf: In `openclaw` MS Teams file-consent flow, pending uploads were authorized by `uploadId` alone.

> Attackers can manipulate pending file uploads across different MS Teams conversations by exploiting missing conversation binding checks in the OpenClaw library.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Mar 2026

## What is GHSA-j26j-7qc4-3mrf?

GHSA-j26j-7qc4-3mrf is a missing authorization vulnerability in openclaw, published on 3 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

### 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.

## Which versions are affected by GHSA-j26j-7qc4-3mrf?

2 open source packages ship an affected version, including openclaw.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `openclaw` | npm | All versions | 2026.2.25 |
| `openclaw` | npm | All versions | 2026.2.25 |

## How do I fix GHSA-j26j-7qc4-3mrf?

Upgrade openclaw to 2026.2.25 or later.

## Is GHSA-j26j-7qc4-3mrf being exploited?

There is no known exploitation of GHSA-j26j-7qc4-3mrf in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-j26j-7qc4-3mrf and fix it if it is affected.

What it is: GHSA-j26j-7qc4-3mrf is a missing authorization vulnerability in openclaw, published on 3 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-j26j-7qc4-3mrf in the wild and no public exploit code.

Affected packages and fixed versions:
- openclaw (npm): affected all versions; fixed in 2026.2.25
- openclaw (npm): affected all versions; fixed in 2026.2.25

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-j26j-7qc4-3mrf/ (Markdown: https://insights.sbomify.com/GHSA-j26j-7qc4-3mrf/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-j26j-7qc4-3mrf

---
From sbomify Insights: https://insights.sbomify.com/GHSA-j26j-7qc4-3mrf/
Summaries are generated and may contain mistakes; the official description above is the record.
