GHSA-5847-rm3g-23mw

Suggest an improvement
Source
https://github.com/advisories/GHSA-5847-rm3g-23mw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5847-rm3g-23mw/GHSA-5847-rm3g-23mw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5847-rm3g-23mw
Downstream
Published
2026-03-03T00:38:48Z
Modified
2026-03-04T15:11:10.711333Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw has hook auth rate limiter bypass via IPv4-mapped IPv6 client key variants
Details

Vulnerability

The hook authentication throttle keyed failed attempts by raw socket remoteAddress text.

IPv4 and IPv4-mapped IPv6 forms of the same client (for example 1.2.3.4 and ::ffff:1.2.3.4) were treated as different clients, allowing separate rate-limit buckets.

Impact

An attacker could split failed hook-auth attempts across both address forms and effectively double the brute-force budget from 20 to 40 attempts per 60-second window.

Affected Components

  • src/gateway/server-http.ts
  • src/gateway/auth-rate-limit.ts

Affected Packages / Versions

  • Package: openclaw (npm)
  • Vulnerable versions: <= 2026.2.21-2
  • Patched version (planned next release): 2026.2.22

Remediation

Centralize and reuse canonical client-IP normalization for auth rate-limiting, and use that canonical key for hook auth throttling.

Fix Commit(s)

  • 3284d2eb227e7b6536d543bcf5c3e320bc9d13c5

Release Process Note

patched_versions is pre-set to the planned next release (2026.2.22) so once npm release 2026.2.22 is published, this advisory can be published directly.

OpenClaw thanks @aether-ai-agent for reporting.

Database specific
{
    "github_reviewed_at": "2026-03-03T00:38:48Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-770"
    ],
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5847-rm3g-23mw/GHSA-5847-rm3g-23mw.json"