CVE-2026-27485: OpenClaw affected by Stored XSS in Control UI via unsanitized assistant name/avatar in inline script injection
Vulnerability
skills/skill-creator/scripts/packageskill.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/packageskill.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
- https://github.com/openclaw/openclaw/pull/20796
Release Process Note
patchedversions 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.
Other sources
OpenClaw is a personal AI assistant. In versions 2026.2.17 and below, skills/skill-creator/scripts/packageskill.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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-27485?
CVE-2026-27485 has been classified as a medium-severity vulnerability due to its Stored XSS impact.
How do I fix CVE-2026-27485?
To fix CVE-2026-27485, upgrade OpenClaw to version 2026.2.19 or later.
What vulnerabilities are present in versions up to 2026.2.18 of OpenClaw?
Versions 2026.2.18 and earlier of OpenClaw are affected by the Stored XSS vulnerability described in CVE-2026-27485.
What is the main cause of CVE-2026-27485?
CVE-2026-27485 is primarily caused by unsanitized assistant names or avatars being used in inline scripts.
Which package is affected by CVE-2026-27485?
The vulnerability CVE-2026-27485 affects the OpenClaw package specifically on Node.js.