GHSA-6mqc-jqh6-x8fc

Suggest an improvement
Source
https://github.com/advisories/GHSA-6mqc-jqh6-x8fc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6mqc-jqh6-x8fc/GHSA-6mqc-jqh6-x8fc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6mqc-jqh6-x8fc
Aliases
  • CVE-2026-35634
Downstream
Published
2026-03-26T18:59:00Z
Modified
2026-04-10T20:35:14.090975Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Gateway Canvas local-direct requests bypass Canvas HTTP and WebSocket authentication
Details

Summary

Before v2026.3.23, Canvas and A2UI loopback requests could bypass Canvas bearer-or-capability authentication because authorizeCanvasRequest(...) treated isLocalDirectRequest(...) as an unconditional allow path.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: < 2026.3.23
  • Fixed: >= 2026.3.23
  • Latest released tag checked: v2026.3.23-2 (630f1479c44f78484dfa21bb407cbe6f171dac87)
  • Latest published npm version checked: 2026.3.23-2

Root Cause

The vulnerable logic lived in src/gateway/server/http-auth.ts. authorizeCanvasRequest(...) returned { ok: true } for local-direct requests before checking bearer authentication or an active node canvas capability, which meant unauthenticated loopback Canvas HTTP and WebSocket requests could succeed.

Fix Commit(s)

  • d5dc6b6573ae489bc7e5651090f4767b93537c9efix(gateway): require auth for canvas routes

Release Status

The fix commit is contained in released tags v2026.3.23 and v2026.3.23-2. The latest shipped tag and npm release both include the fix.

Code-Level Confirmation

  • src/gateway/server/http-auth.ts no longer contains the local-direct early return in authorizeCanvasRequest(...).
  • src/gateway/server.canvas-auth.test.ts adds the regression test denies canvas HTTP/WS on loopback without bearer or capability by default.

Thanks @smaeljaish771 for reporting.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-26T18:59:00Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "MODERATE",
    "nvd_published_at": null
}
References

Affected packages

npm / openclaw

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6mqc-jqh6-x8fc/GHSA-6mqc-jqh6-x8fc.json"