Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. skilo
  4. ›
  5. GHSA-6xx4-9wp6-65p7

GHSA-6xx4-9wp6-65p7: skilo add follows symbolic links, allowing arbitrary local file disclosure from a malicious skill source

July 28, 2026

skilo add installs a skill by recursively copying the skill directory into the target skills directory. The copy routine (copy_dir_all) classified each entry with std::fs::DirEntry::file_type() — which does not follow symlinks — and then copied non-directory entries with std::fs::copy(), which does dereference symlinks.

As a result, a skill containing a symbolic link such as reference.txt -> /home/<user>/.ssh/id_rsa was copied as a regular file whose contents are the link’s target. A malicious skill source — for example a git repository installed via skilo add github.com/<attacker>/<skills>, or a local path — could read arbitrary files readable by the user running skilo add (SSH keys, cloud credentials, .env files, etc.) and place their contents inside the installed skill directory, where the user or their agent may later read, share, or sync them.

This is arbitrary local file disclosure (CWE-59 / CWE-61, symlink following) triggered by installing an untrusted skills source.

References

  • github.com/advisories/GHSA-6xx4-9wp6-65p7
  • github.com/manuelmauro/skilo/commit/c14bdc2eddcf26633ab1dcc0b2d5c0ff42c72a3e
  • github.com/manuelmauro/skilo/pull/11
  • github.com/manuelmauro/skilo/releases/tag/v0.11.1
  • github.com/manuelmauro/skilo/security/advisories/GHSA-6xx4-9wp6-65p7

Code Behaviors & Features

Detect and mitigate GHSA-6xx4-9wp6-65p7 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.5.0 before 0.11.1

Fixed versions

  • 0.11.1

Solution

Upgrade to version 0.11.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')
  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

cargo/skilo/GHSA-6xx4-9wp6-65p7.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 29 Jul 2026 12:18:06 +0000.