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

GHSA-2858-xg23-26fp: OpenClaw: Node camera URL payload host-binding bypass allowed gateway fetch pivots

mediumCVSS 3.1 5.5

OpenClaw 2026.2.13 through 2026.3.1 downloaded the `url` in `camera.snap` and `camera.clip` node payloads from the gateway host without checking it against the paired node's host. A malicious or compromised paired node could make the gateway fetch internal URLs. Upgrade `openclaw` to 2026.3.2.

Published Mar 3, 2026 · Analysis Oct 31, 2026

What an attacker can do

When a paired node returns a camera payload with a url field, OpenClaw downloaded that URL straight onto the gateway or agent host. Three places did this: writeUrlToFile in src/cli/nodes-camera.ts, the camera command in src/cli/nodes-cli/register.camera.ts, and the camera_snap and camera_clip actions in src/agents/tools/nodes-tool.ts. Nothing tied the URL's host to the node that sent it, so this is server-side request forgery (CWE-918).

A malicious or compromised node can point the URL at any destination the gateway host can reach, such as internal services or metadata endpoints. That gives the node a way to probe the internal network and trigger fetches from the gateway's position.

The advisory scopes the severity as medium hardening, because OpenClaw's documented trust model puts paired nodes inside the operator trust boundary. It matters for deployments where nodes are not fully trusted, for example nodes on personal devices or shared hardware. The CVSS vector needs low privileges (a paired node) and user interaction, with low impact on each of confidentiality, integrity and availability.

Who is affected

The openclaw npm package from 2026.2.13 up to and including 2026.3.1. Versions before 2026.2.13 are outside the range. The risk is highest where paired nodes are not fully trusted. Check the version:

npm ls openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
>= 2026.2.13, <= 2026.3.1
Fixed in
2026.3.2
Check
npm ls openclaw

How to fix it

Upgrade to 2026.3.2:

npm install -g [email protected]

The fix (commit 3bf19d6f40a0aaa55818b96eede3d05130c02533) makes URL payload downloads fail closed. It requires resolved node host metadata and enforces that the payload URL's hostname matches the resolved node host. It uses an SSRF-guarded fetch with redirect host and protocol checks, and applies the same rules to the CLI and the agent tool camera paths. The sources name no workaround. Pair only nodes you trust until you upgrade.

How to tell if you were hit

Review gateway-host outbound requests made around camera.snap or camera.clip calls and look for destinations that are not the paired node's own host, especially private ranges and cloud metadata addresses. Check your paired node list for devices you do not recognize. Camera files written by writeUrlToFile that contain content from an internal service are a sign. The sources give no fixed log string for this flaw.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw accepted camera.snap / camera.clip node payload url fields and downloaded them on the gateway/agent host without binding downloads to the resolved node host.

In OpenClaw's documented trust model, paired nodes are in the same operator trust boundary, so this is scoped as medium-severity hardening. A malicious or compromised paired node could still steer gateway-host fetches during camera URL retrieval.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: >= 2026.2.13 <= 2026.3.1
  • Latest vulnerable published version at time of update: 2026.3.1
  • Patched versions: >= 2026.3.2 (released)

Technical Details

Vulnerable flows accepted URL payloads and downloaded directly from the provided URL:

  • src/cli/nodes-camera.ts (writeUrlToFile) fetched URL payloads without node-host binding.
  • src/cli/nodes-cli/register.camera.ts passed camera.snap / camera.clip payload URLs into that downloader.
  • src/agents/tools/nodes-tool.ts did the same for camera_snap / camera_clip tool actions.

Impact

A malicious/compromised paired node could cause gateway-host URL fetches to off-node destinations reachable from the host network. This could be used for internal network probing/fetch pivots in deployments where paired nodes are not fully trusted.

Remediation

The fix introduces fail-closed node-host binding and guarded fetch for camera URL payload downloads:

  • Require resolved node host metadata for URL payload downloads.
  • Enforce hostname match between payload URL and resolved node host.
  • Use SSRF-guarded fetch with redirect host/protocol checks.
  • Apply the same enforcement across CLI and agent tool camera paths.

Fix Commit(s)

  • 3bf19d6f40a0aaa55818b96eede3d05130c02533

Credited to tdjackey.

Questions

Which OpenClaw versions are affected by GHSA-2858-xg23-26fp?

2026.2.13 through 2026.3.1. Version 2026.3.2 and later are patched.

Can an outsider exploit this?

Not directly. The attacker needs to control a paired node, either a malicious one or a compromised one. The advisory treats paired nodes as inside the operator trust boundary, hence the medium rating.

What does the fix check?

The payload URL's hostname must match the resolved node host, and the download goes through an SSRF-guarded fetch that also checks redirects. A missing node host now blocks the download.

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