GitHub Advisoryadvisory · npm

GHSA-hggm-x7r9-mm7v OpenClaw is vulnerable to Path Traversal through path validation bypass

HIGH Published 2026-03-26 Modified 2026-06-08 Official page ↗
Aliases
CVE-2026-32846
Ecosystem
npm
Packages
openclaw
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2026-03-30

Affected packages

• npm openclaw: < 2026.03.28 → fixed in 2026.03.28

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-32846 OpenClaw before 2026.3.28 contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References