Medium severity6.5NVD Advisory· Published Apr 21, 2026· Updated Apr 27, 2026
CVE-2026-41300
CVE-2026-41300
Description
OpenClaw before 2026.3.31 contains a trust-decline vulnerability that preserves attacker-discovered endpoints in remote onboarding flows. Attackers can route gateway credentials to malicious endpoints by having their discovered URL survive the trust decline process into manual prompts requiring operator acceptance.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.3.31 | 2026.3.31 |
Affected products
1Patches
12a7541663483CLI: reset remote URL after trust decline (#57828)
2 files changed · +4 −1
src/commands/onboard-remote.test.ts+1 −1 modified@@ -138,7 +138,7 @@ describe("promptRemoteGatewayConfig", () => { const manualUrl = "wss://manual.example.com:18789"; const text: WizardPrompter["text"] = vi.fn(async (params) => { if (params.message === "Gateway WebSocket URL") { - expect(params.initialValue).toBe("wss://evil.example:443"); + expect(params.initialValue).toBe("ws://127.0.0.1:18789"); return manualUrl; } return "";
src/commands/onboard-remote.ts+3 −0 modified@@ -132,6 +132,9 @@ export async function promptRemoteGatewayConfig( ].join("\n"), "Direct remote", ); + } else { + // Clear the discovered endpoint so the manual prompt falls back to a safe default. + suggestedUrl = DEFAULT_GATEWAY_URL; } } else { suggestedUrl = DEFAULT_GATEWAY_URL;
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/openclaw/openclaw/commit/2a75416634837c21ed05b8c3ed906eb7a7807060nvdPatchWEB
- github.com/advisories/GHSA-9f4w-67g7-mqwvghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-9f4w-67g7-mqwvnvdVendor AdvisoryWEB
- www.vulncheck.com/advisories/openclaw-attacker-discovered-endpoint-preservation-in-remote-onboardingnvdThird Party Advisory
- github.com/openclaw/openclaw/releases/tag/v2026.3.31ghsaWEB
News mentions
0No linked articles in our index yet.