CVE-2026-27485
JSON

4.6medium

OpenClaw affected by Stored XSS in Control UI via unsanitized assistant name/avatar in inline script injection

Severity
4.6medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r6h2-5gqq-v5v6

Description

OpenClaw is a personal AI assistant. In versions 2026.2.17 and below, skills/skill-creator/scripts/package_skill.py (a local helper script used when authors package skills) previously followed symlinks while building .skill archives. If an author runs this script on a crafted local skill directory containing symlinks to files outside the skill root, the resulting archive can include unintended file contents. If exploited, this vulnerability can lead to potential unintentional disclosure of local files from the packaging machine into a generated .skill artifact, but requires local execution of the packaging script on attacker-controlled skill contents. This issue has been fixed in version 2026.2.18.

Affected

Product or packageVersionsReported by
openclaw openclaw< 2026.2.19, up to 2026.2.17CVE List, NVD
openclaw (npm)before 2026.2.19GitHub Advisory Database

All scores

GitHub_M4.6medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
NVD4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-61

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

OpenClaw is a personal AI assistant. In versions 2026.2.17 and below, skills/skill-creator/scripts/package_skill.py (a local helper script used when authors package skills) previously followed symlinks while building .skill archives. If an author runs this script on a crafted local skill directory containing symlinks to files outside the skill root, the resulting archive can include unintended file contents. If exploited, this vulnerability can lead to potential unintentional disclosure of local files from the packaging machine into a generated .skill artifact, but requires local execution of the packaging script on attacker-controlled skill contents. This issue has been fixed in version 2026.2.18.

GitHub Advisory Database

Vulnerability

skills/skill-creator/scripts/package_skill.py (a local helper script used when authors package skills) previously followed symlinks while building .skill archives.

If an author runs this script on a crafted local skill directory containing symlinks to files outside the skill root, the resulting archive can include unintended file contents.

Severity and Exposure

  • Severity: Low
  • Execution context: local/manual workflow only (skill author packaging step)
  • No remote trigger: this is not reachable via normal OpenClaw gateway/chat runtime paths
  • No extraction Zip Slip in this finding: this issue is limited to packaging-time symlink following

Impact

  • Potential unintentional disclosure of local files from the packaging machine into a generated .skill artifact.
  • Requires local execution of the packaging script on attacker-controlled skill contents.

Affected Components

  • skills/skill-creator/scripts/package_skill.py

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version during triage: 2026.2.17
  • Vulnerable version range: <= 2026.2.17
  • Planned patched version (next release): 2026.2.18

Remediation

  • Reject symlinks during skill packaging.
  • Add regression tests for symlink file and symlink directory cases.
  • Update packaging guidance to document the symlink restriction.

Fix Commit(s)

  • c275932aa4230fb7a8212fe1b9d2a18424874b3f
  • ee1d6427b544ccadd73e02b1630ea5c29ba9a9f0

Related PR

Release Process Note

patched_versions is pre-set to the planned next release (2026.2.18). Once npm openclaw@2026.2.18 is published, this advisory is ready to publish without additional edits.

Thanks @aether-ai-agent for reporting.

NVD (es)

OpenClaw es un asistente personal de IA. En las versiones 2026.2.17 e inferiores, skills/skill-creator/scripts/package_skill.py (un script auxiliar local utilizado cuando los autores empaquetan habilidades) seguía previamente los enlaces simbólicos (symlinks) al construir archivos .skill. Si un autor ejecuta este script en un directorio de habilidad local manipulado que contiene enlaces simbólicos a archivos fuera de la raíz de la habilidad, el archivo resultante puede incluir contenido de archivo no deseado. Si se explota, esta vulnerabilidad puede llevar a una posible divulgación no intencionada de archivos locales desde la máquina de empaquetado a un artefacto .skill generado, pero requiere la ejecución local del script de empaquetado sobre contenidos de habilidad controlados por el atacante. Este problema ha sido solucionado en la versión 2026.2.18.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27485 changed 2026-02-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-r6h2-5gqq-v5v6 changed 2026-02-23CC-BY-4.0
NVDCVE-2026-27485 changed 2026-06-17Public domain