---
id: "CVE-2026-32846"
page: "https://infrastack.ai/live/CVE-2026-32846"
kind: "vulnerability"
aliases: ["CVE-2026-32846", "GHSA-hggm-x7r9-mm7v"]
title: "OpenClaw is vulnerable to Path Traversal through path validation bypass"
severity: "high"
cvss: 8.7
epss: 0.007
exploited: false
status: "open"
category: "ai-tooling"
products: [{"name": "openclaw", "fixed": ["2026.3.28"], "affected": "<= 2026.3.23", "ecosystem": "npm"}, {"name": "openclaw", "fixed": [], "affected": "<= 2026.3.23", "ecosystem": "vendor"}]
ecosystems: ["npm", "vendor"]
tags: ["ai-agents", "ai-tooling", "cwe-22", "npm", "openclaw"]
not_affected_if: ["no-untrusted-media-input", "version-2026.3.28-or-later"]
published_at: "2026-03-26T17:16:37+00:00"
first_seen_at: "2026-11-05T20:48:33+00:00"
updated_at: "2026-11-05T21:10:30+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-hggm-x7r9-mm7v", "first_seen_at": "2026-11-05T20:48:33+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32846", "first_seen_at": "2026-11-05T21:10:30+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.007, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-32846"}]
---

# OpenClaw is vulnerable to Path Traversal through path validation bypass

Link for people: https://infrastack.ai/live/CVE-2026-32846 (this .md is for agents)

OpenClaw's media parsing checks file paths incompletely, so a crafted media reference can point outside the app sandbox. An attacker can read files such as system files, environment files and SSH keys.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:openclaw affected <= 2026.3.23 fixed 2026.3.28
- vendor:openclaw affected <= 2026.3.23 fixed no fixed version listed

## How to check

- Check the installed version with `npm ls openclaw`; affected versions are `2026.3.23` and earlier.
- Look for the `openclaw` package in `package.json` and lockfiles of any service that exposes OpenClaw media handling.

## Fix

- `openclaw` (npm): move to `2026.3.28`

## Timeline

- 2026-11-05T20:48:33+00:00 ghsa https://github.com/advisories/GHSA-hggm-x7r9-mm7v
- 2026-11-05T21:10:30+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-32846

## Documents

- [advisory] Maintainer's advisory: github.com https://github.com/openclaw/openclaw/security/advisories/GHSA-f6pf-4gjx-c94r
- [advisory] Patch: github.com https://github.com/openclaw/openclaw/pull/54642
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openclaw-media-parsing-path-traversal-to-arbitrary-file-read
- [fix] Patch: github.com https://github.com/openclaw/openclaw/pull/54642
- [fix] Patch: github.com https://github.com/openclaw/openclaw/commit/4797bbc5b96e2cca5532e43b58915c051746fe37

## From the sources

OpenClaw through 2026.3.23 (fixed in commit 4797bbc) contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. Attackers can exploit incomplete validation and the allowBareFilename bypass to reference files outside the intended application sandbox, resulting in disclosure of sensitive information including system files, environment files, and SSH keys.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
