# OpenClaw: Webchat media embedding enforces local-root containment for tool-result files

Advisory record · `GHSA-mr34-9552-qr95`

- **Identifiers:** `GHSA-mr34-9552-qr95` · `CVE-2026-41389`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html) · [CWE-73](https://cwe.mitre.org/data/definitions/73.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 17 Apr 2026
- **Updated:** 8 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Apr 2026, 22:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `openclaw` (npm): affected `>=2026.4.7, <2026.4.15`; fixed in `2026.4.15`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.3 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 18th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 20 Apr 2026, 18:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-41389)

## Sources

- [GitHub Advisory Database: GHSA-mr34-9552-qr95](https://github.com/advisories/GHSA-mr34-9552-qr95)
- [OSV: GHSA-mr34-9552-qr95](https://osv.dev/vulnerability/GHSA-mr34-9552-qr95)
- <https://github.com/openclaw/openclaw/security/advisories/GHSA-mr34-9552-qr95>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41389>
- <https://github.com/openclaw/openclaw/pull/67293>
- <https://github.com/openclaw/openclaw/pull/67298>
- <https://github.com/openclaw/openclaw/pull/67303>
- <https://github.com/openclaw/openclaw/commit/1470de5d3e0970856d86cd99336bb8ada3fe87da>
- <https://github.com/openclaw/openclaw/commit/52ef42302ead9e183e6c8810e0a04ee4ef8ae9fc>
- <https://github.com/openclaw/openclaw/commit/6e58f1f9f54bca1fea1268ec0ee4c01a2af03dde>
- <https://github.com/openclaw/openclaw>
- <https://www.vulncheck.com/advisories/openclaw-arbitrary-file-read-via-unvalidated-tool-result-media-paths>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-mr34-9552-qr95>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-mr34-9552-qr95/>. Everything for agents: <https://agentprime.io/llms.txt>.
