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

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-03T21:18:56.000Z
- Modified: 2026-03-04T15:09:20.973Z
- Weaknesses: CWE-918

## Description

### 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`

(As written by GitHub Advisory Database.)

## Affected

- openclaw (npm): from 2026.2.13 before 2026.3.2

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-2858-xg23-26fp> (web)
- <https://github.com/openclaw/openclaw/commit/3bf19d6f40a0aaa55818b96eede3d05130c02533> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- GitHub Advisory Database: [GHSA-2858-xg23-26fp](https://github.com/advisories/GHSA-2858-xg23-26fp), CC-BY-4.0, modified 2026-03-04

---

Page: https://cve.day/GHSA-2858-xg23-26fp · Whole record: https://cve.day/GHSA-2858-xg23-26fp.json · Rebuilt by cve.day 2026-11-25T22:56:43.581Z
