VYPR
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.

PackageAffected versionsPatched versions
openclawnpm
< 2026.3.312026.3.31

Affected products

1
  • cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
    Range: <2026.3.31

Patches

1
2a7541663483

CLI: reset remote URL after trust decline (#57828)

https://github.com/openclaw/openclawJacob TomlinsonMar 30, 2026via ghsa
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

News mentions

0

No linked articles in our index yet.