GHSA-r6h2-5gqq-v5v6

Suggest an improvement
Source
https://github.com/advisories/GHSA-r6h2-5gqq-v5v6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-r6h2-5gqq-v5v6/GHSA-r6h2-5gqq-v5v6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r6h2-5gqq-v5v6
Aliases
Downstream
Published
2026-02-20T21:05:45Z
Modified
2026-02-23T22:58:10Z
Severity
  • 4.6 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw: Reject symlinks in local skill packaging script
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-61"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-02-20T21:05:45Z",
    "nvd_published_at":  "2026-02-21T10:16:12Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.2.19

Database specific

last_known_affected_version_range
"<= 2026.2.18"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-r6h2-5gqq-v5v6/GHSA-r6h2-5gqq-v5v6.json"