GitHub Advisoryadvisory · npm

GHSA-7rcp-mxpq-72pj OpenClaw Chutes manual OAuth state validation bypass can cause credential substitution

MEDIUM Published 2026-02-18 Modified 2026-03-06 Official page ↗
Aliases
CVE-2026-28477
Ecosystem
npm
Packages
openclaw
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
Weaknesses
CWE-352
Reviewed
2026-02-18

Affected packages

• npm openclaw: < 2026.2.14 → fixed in 2026.2.14

Description

Summary The manual Chutes OAuth login flow could accept attacker-controlled callback input in a way that bypassed OAuth CSRF state validation, potentially resulting in credential substitution. Impact If an attacker can convince a user to paste attacker-provided OAuth callback data during the manual login prompt, OpenClaw may exchange an attacker-obtained authorization code and persist tokens for the wrong Chutes account. The automatic local callback flow is not affected (it validates state in the local HTTP callback handler). Affected Packages / Versions • `openclaw` (npm): `<= 2026.2.13` when using the manual Chutes OAuth login flow. Fix The manual flow now requires the full redirect URL (must include `code` and `state`), validates the returned `state` against the expected value, and rejects code-only pastes. Fix Commit(s) • a99ad11a4107ba8eac58f54a3c1a8a0cf5686f47 Thanks @aether-ai-agent for reporting.

Related

Alias · CVE (1)

  • CVE-2026-28477 OpenClaw versions prior to 2026.2.14 contain an oauth state validation bypass vulnerability in the manual Chutes login flow that allows… vulnerability

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References