6.3medium
OpenClaw < 2026.4.15 - Arbitrary Local File Read via Webchat Audio Embedding
- Severity
- 6.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-gfg9-5357-hv4c
Description
OpenClaw before 2026.4.15 contains an arbitrary local file read vulnerability in the webchat audio embedding helper that fails to apply local media root containment checks. Attackers can influence agent or tool-produced ReplyPayload.mediaUrl parameters to resolve absolute local paths or file URLs, read audio-like files, and embed them base64-encoded into webchat responses.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenClaw OpenClaw | before 2026.4.15 Not affected: 2026.4.15 | CVE List, NVD |
| openclaw (npm) | before 2026.4.15 | GitHub Advisory Database |
All scores
| VulnCheck | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
OpenClaw before 2026.4.15 contains an arbitrary local file read vulnerability in the webchat audio embedding helper that fails to apply local media root containment checks. Attackers can influence agent or tool-produced ReplyPayload.mediaUrl parameters to resolve absolute local paths or file URLs, read audio-like files, and embed them base64-encoded into webchat responses.
GitHub Advisory Database
Impact
OpenClaw deployments before 2026.4.15 could embed host-local audio files into webchat responses without applying the local media root containment check used by other media-serving paths.
If an attacker could influence an agent or tool-produced ReplyPayload.mediaUrl, the webchat audio embedding helper could resolve an absolute local path or file: URL, read an audio-like file under the size cap, and base64-encode it into the webchat media response. This crossed the model/tool-output boundary into a host file read. Prompt injection or malicious tool output is a delivery mechanism; the security boundary failure is the missing local-root containment check.
The impact is narrow: the file had to be readable by the gateway process, have an audio-like extension, and fit within the webchat audio size cap. The issue exposed contents into the webchat assistant/media transcript path; it was not a general remote filesystem API.
Affected Packages / Versions
- Package:
openclawon npm - Affected versions:
<= 2026.4.14 - Patched version:
2026.4.15
The latest public release, 2026.4.21, also contains the fix.
Patches
The public fix threads the applicable local media roots into the webchat audio embedding path and calls assertLocalMediaAllowed before local audio content is read. Current main also includes an additional trustedLocalMedia gate so untrusted model/tool payloads cannot opt into local audio embedding.
Fix commit:
6e58f1f9f54bca1fea1268ec0ee4c01a2af03dde
Workarounds
Upgrade to openclaw@2026.4.15 or later. The latest public release, 2026.4.21, is fixed. Before upgrading, avoid exposing webchat sessions to untrusted prompt/tool content that can influence reply media URLs.
Credits
OpenClaw thanks @zsxsoft for reporting.
NVD (es)
OpenClaw anterior a 2026.4.15 contiene una vulnerabilidad de lectura arbitraria de archivos locales en el asistente de incrustación de audio del webchat que no aplica las comprobaciones de contención de la raíz de medios locales. Los atacantes pueden influir en los parámetros ReplyPayload.mediaUrl producidos por agentes o herramientas para resolver rutas locales absolutas o URL de archivos, leer archivos similares a audio e incrustarlos codificados en base64 en las respuestas del webchat.
References
| https://github.com/openclaw/openclaw/security/advisories/GHSA-gfg9-5357-hv4c | third-party-advisory, vendor-advisory, web | |
| https://github.com/openclaw/openclaw/commit/6e58f1f9f54bca1fea1268ec0ee4c01a2af03dde | patch, web | |
| https://www.vulncheck.com/advisories/openclaw-arbitrary-local-file-read-via-webchat-audio-embedding | patch, third-party-advisory | |
| https://github.com/openclaw/openclaw | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44996 changed 2026-05-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gfg9-5357-hv4c changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2026-44996 changed 2026-11-11 | Public domain |