GHSA-5h2w-qmfp-ggp6

Suggest an improvement
Source
https://github.com/advisories/GHSA-5h2w-qmfp-ggp6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5h2w-qmfp-ggp6/GHSA-5h2w-qmfp-ggp6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5h2w-qmfp-ggp6
Published
2026-03-31T23:57:34Z
Modified
2026-04-01T00:06:55.905235Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Gateway `operator.write` can reach admin-only persisted `verboseLevel` via `chat.send` `/verbose`
Details

Summary

The chat.send path let authorized write-scoped callers persist /verbose session overrides even though the same stored session mutation is admin-only through sessions.patch.

Impact

A write-scoped gateway caller could persist verbose output for later runs and expose more reasoning or tool output than the operator intended.

Affected Component

src/auto-reply/reply/directive-handling.impl.ts, src/gateway/sessions-patch.ts

Fixed Versions

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

Fix

Fixed by commit c603123528 (fix(gateway): require admin for persisted verbose defaults).

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-31T23:57:34Z",
    "severity": "HIGH",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-284",
        "CWE-863"
    ]
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5h2w-qmfp-ggp6/GHSA-5h2w-qmfp-ggp6.json"
last_known_affected_version_range
"<= 2026.3.24"