OpenClaw reused gateway.auth.token (and gateway.remote.token) as a fallback hash secret for owner-ID prompt obfuscation when commands.ownerDisplay=hash and commands.ownerDisplaySecret was unset.
This created secret dual-use between gateway authentication and prompt metadata hashing.
openclaw (npm)2026.2.21-2<= 2026.2.21-22026.2.22src/agents/cli-runner/helpers.tssrc/agents/pi-embedded-runner/run/attempt.tssrc/agents/pi-embedded-runner/compact.tsgateway.auth.token and gateway.remote.token.commands.ownerDisplaySecret when hash mode is enabled and secret is missing.patched_versions is pre-set to the planned next release (2026.2.22). Once npm release 2026.2.22 is published, this advisory only needs to be published.
OpenClaw thanks @aether-ai-agent for reporting.
{
"github_reviewed": true,
"github_reviewed_at": "2026-03-03T23:01:30Z",
"severity": "LOW",
"nvd_published_at": null,
"cwe_ids": [
"CWE-522"
]
}