NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-41335: OpenClaw Has a Gateway Control Interface Information Disclosure Vulnerability

mediumCVSS 4.0 6.9GHSA-hr8g-2q7x-3f4w

OpenClaw 2026.3.28 and earlier serve a Control UI bootstrap JSON that includes the gateway's version and the assistant agent id. An unauthenticated network client can read both, which helps fingerprint the gateway. The maintainers rate it low. Upgrade to openclaw 2026.3.31, which removes both fields.

Published Apr 3, 2026 · Updated May 6, 2026 · Analysis Oct 30, 2026

What an attacker can do

The gateway's Control UI loads a bootstrap config as JSON. The ControlUiBootstrapConfig contract in src/gateway/control-ui-contract.ts included two fields, serverVersion and assistantAgentId, and src/gateway/control-ui.ts emitted them to anyone who requested the config. No login was needed, according to the CVSS vector.

An attacker with network access to the gateway fetches that JSON and learns the exact OpenClaw build and the id of the assistant agent. The version lets them pick known flaws for that release; the agent id may help target later requests. That is all this flaw gives: the maintainers call it low-severity fingerprinting. It does not expose credentials, files or conversation content, and it does not by itself allow access. It matters mainly for gateways reachable from the internet, where it makes automated scanning for vulnerable builds easier.

Who is affected

The npm package openclaw at 2026.3.28 and earlier, wherever the gateway and its Control UI are reachable by clients you do not trust. Version 2026.3.31 is the first stable release with the fix.

Check your install:

npm ls -g openclaw
openclaw --version

To see what an outside client sees, request the Control UI bootstrap config from the gateway and look for serverVersion and assistantAgentId in the response. The advisory does not give the exact path; the code uses a CONTROL_UI_BOOTSTRAP_CONFIG_PATH constant under the gateway's /openclaw prefix.

openclaw

Ecosystem
npm
Affected
<= 2026.3.28
Fixed in
2026.3.31
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.31 or later.

npm install -g [email protected]

Commit c5c10adc removes assistantAgentId and serverVersion from the bootstrap contract, the gateway output and the UI code. Tests now assert both properties are absent. The advisory gives no workaround. Keeping the gateway off untrusted networks also limits who can read the response.

How to tell if you were hit

Check gateway access logs for requests to the Control UI bootstrap config from addresses outside your team, especially repeated requests from scanners that then probe other routes. On affected versions the response body contains serverVersion and assistantAgentId. After upgrading, confirm those keys no longer appear in the response.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw Gateway Control Interface Information Disclosure Vulnerability

Current Maintainer Triage

  • Status: narrow
  • Normalized severity: low
  • Assessment: Released Control UI bootstrap JSON did expose version and assistant agent id, but that is low-severity fingerprinting or info disclosure only; unreleased c5c10adc trims the payload.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version: 2026.3.31
  • Vulnerable version range: <=2026.3.28
  • Patched versions: >= 2026.3.31
  • First stable tag containing the fix: v2026.3.31

Fix Commit(s)

  • c5c10adc022f42eb75ebb3bf364dd607738683b3 — 2026-03-30T15:08:19+01:00

OpenClaw thanks @topsec-bunney for reporting.

Credited to topsec-bunney.

Questions

What does CVE-2026-41335 leak?

Two fields in the Control UI bootstrap JSON: the server version and the assistant agent id. Nothing else is named in the advisory.

Which OpenClaw version fixes it?

2026.3.31. Versions up to and including 2026.3.28 are listed as vulnerable.

Is it exploited in the wild?

No source I read says so, and the entry has no CISA KEV flag. The EPSS score is about 0.3%.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries