GitHub Advisoryadvisory · npm
GHSA-5hff-46vh-rxmw OpenClaw: Read-scoped identity-bearing HTTP clients could kill sessions via /sessions/:sessionKey/kill
MEDIUM
Official page ↗
- Aliases
- CVE-2026-41298
- Ecosystem
- npm
- Packages
- openclaw
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-269, CWE-862
- Reviewed
- 2026-04-07
Affected packages
• npm openclaw: < 2026.4.2 → fixed in 2026.4.2
Description
Summary
Before OpenClaw 2026.4.2, `POST /sessions/:sessionKey/kill` did not enforce write scopes in identity-bearing HTTP modes. A caller limited to read-only operator scopes could still terminate a running subagent session.
Impact
A read-scoped caller could perform a write-class control-plane mutation and interrupt delegated work. This was an authorization bug on the HTTP scope boundary, not a shared-secret compatibility exception.
Affected Packages / Versions
• Package: `openclaw` (npm)
• Affected versions: `= 2026.4.2`
• Latest published npm version: `2026.4.1`
Fix Commit(s)
• `54a0878517167c6e49900498cf77420dadb74beb` — enforce session-kill HTTP scopes
Release Process Note
The fix is present on `main` and is staged for OpenClaw `2026.4.2`. Publish this advisory after the `2026.4.2` npm release is live.
Thanks @EaEa0001 for reporting.
Related
Alias · CVE (1)
- CVE-2026-41298 OpenClaw before 2026.4.2 fails to enforce write scopes on the POST /sessions/:sessionKey/kill endpoint in identity-bearing HTTP modes. vulnerability
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-5hff-46vh-rxmw web
- https://nvd.nist.gov/vuln/detail/CVE-2026-41298 advisory
- https://github.com/openclaw/openclaw/commit/54a0878517167c6e49900498cf77420dadb74beb web
- https://github.com/openclaw/openclaw package
- https://www.vulncheck.com/advisories/openclaw-authorization-bypass-in-session-termination-endpoint web