GHSA-2858-xg23-26fp

Suggest an improvement
Source
https://github.com/advisories/GHSA-2858-xg23-26fp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2858-xg23-26fp/GHSA-2858-xg23-26fp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2858-xg23-26fp
Downstream
Published
2026-03-03T21:18:56Z
Modified
2026-03-04T15:09:20Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
OpenClaw: Node camera URL payload host-binding bypass allowed gateway fetch pivots
Details

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
Database specific
{
    "cwe_ids": [
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-03T21:18:56Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
2026.2.13
Fixed
2026.3.2

Database specific

last_known_affected_version_range
"<= 2026.3.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-2858-xg23-26fp/GHSA-2858-xg23-26fp.json"