Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @evomap/evolver
  4. ›
  5. GHSA-cfcj-hqpf-hccf

GHSA-cfcj-hqpf-hccf: @evomap/evolver: Path Traversal in `evolver fetch` default-branch `safeId` allows Hub-controlled overwrite of project files (RCE)

May 5, 2026

The evolver fetch subcommand in index.js writes Hub-supplied bundled_files[] into a directory derived from a Hub-supplied skill_id. When --out is not used, the path-sanitizing regex permits . characters, allowing a skill_id of .. to escape the skills/ subdirectory and resolve to the user’s current working directory. Combined with the file-extension allow-list (which includes .js/.json/.sh/.py/.md), this lets a malicious Hub overwrite the victim’s index.js, package.json, or other files in cwd, achieving remote code execution on the next invocation of the evolver.

References

  • github.com/EvoMap/evolver
  • github.com/EvoMap/evolver/security/advisories/GHSA-cfcj-hqpf-hccf
  • github.com/advisories/GHSA-cfcj-hqpf-hccf

Code Behaviors & Features

Detect and mitigate GHSA-cfcj-hqpf-hccf 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 before 1.70.0-beta.5

Fixed versions

  • 1.70.0-beta.5

Solution

Upgrade to version 1.70.0-beta.5 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

npm/@evomap/evolver/GHSA-cfcj-hqpf-hccf.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 00:19:50 +0000.