# GHSA-f6h3-846h-2r8w: OpenClaw's elevated allowFrom accepted broader identity signals than specified within sender-scoped authorization

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-04T18:58:07.000Z
- Modified: 2026-03-04T19:16:14.145Z
- Weaknesses: CWE-639

## Description

### Summary
In certain elevated-mode configurations, `tools.elevated.allowFrom` accepted broader identity signals than intended. The fix tightens matching to sender-scoped identity by default and makes mutable metadata matching explicit.

### Context
OpenClaw is commonly used in 1:1 chats or trusted group chats. In that intended model, this issue is best treated as authorization hardening / defense-in-depth for elevated sender approval.

### Affected Packages / Versions
- Package: `openclaw` (npm)
- Latest published npm version at triage: `2026.2.21-2`
- Affected versions: `<= 2026.2.21-2`
- Planned patched version (pre-set for publish-ready advisory): `2026.2.22`

### Details
Elevated sender authorization now matches sender-scoped identity values only by default (`SenderId`, `From`, `SenderE164`) and no longer considers recipient routing fields such as `ctx.To`.

Mutable sender metadata (`SenderName`, `SenderUsername`, `SenderTag`) now requires explicit allowlist prefixes (`name:`, `username:`, `tag:`). Explicit identity prefixes are also supported (`id:`, `from:`, `e164:`).

### Fix Commit(s)
- `6817c0ec7b4fa830123d4f5c340f075a4bd04ee2`

### Release Process Note
The advisory `patched_versions` is pre-set to the planned next release (`2026.2.22`). Once npm `openclaw@2026.2.22` is published, this advisory can be published without additional content edits.

OpenClaw thanks @jiseoung for reporting.

(As written by GitHub Advisory Database.)

## Affected

- openclaw (npm): before 2026.2.22

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-f6h3-846h-2r8w> (web)
- <https://github.com/openclaw/openclaw/commit/6817c0ec7b4fa830123d4f5c340f075a4bd04ee2> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- GitHub Advisory Database: [GHSA-f6h3-846h-2r8w](https://github.com/advisories/GHSA-f6h3-846h-2r8w), CC-BY-4.0, modified 2026-03-04

---

Page: https://cve.day/GHSA-f6h3-846h-2r8w · Whole record: https://cve.day/GHSA-f6h3-846h-2r8w.json · Rebuilt by cve.day 2026-11-25T22:56:45.211Z
