GHSA-5r8f-96gm-5j6g

Suggest an improvement
Source
https://github.com/advisories/GHSA-5r8f-96gm-5j6g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-5r8f-96gm-5j6g/GHSA-5r8f-96gm-5j6g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5r8f-96gm-5j6g
Aliases
Downstream
Published
2026-04-01T00:00:34Z
Modified
2026-07-08T07:35:42Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw Gateway `operator.write` can reach admin-only session reset via `chat.send` `/reset`
Details

Summary

The chat.send path reused command authorization to trigger /reset session rotation even though direct session reset is an admin-only control-plane operation.

Impact

A write-scoped gateway caller could rotate a target session, archive the prior transcript state, and force a new session id without admin scope.

Affected Component

src/gateway/server-methods/chat.ts, src/auto-reply/reply/session.ts

Fixed Versions

  • Affected: <= 2026.3.24
  • Patched: >= 2026.3.28
  • Latest stable 2026.3.28 contains the fix.

Fix

Fixed by commit be00fcfccb (Gateway: align chat.send reset scope checks).

Database specific
{
    "cwe_ids":  [
        "CWE-284",
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-01T00:00:34Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.3.28

Database specific

last_known_affected_version_range
"<= 2026.3.24"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-5r8f-96gm-5j6g/GHSA-5r8f-96gm-5j6g.json"