HighGHSA-g5vm-525q-r66cCVE-2023-0242GO-2023-1527

Velociraptor vulnerable to Missing Authorization

Published 18 Jan 2023 · Updated 20 Aug 2024

Is your project on an affected www.velocidex.com/golang/velociraptor?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.6.7-5
Fixed in
0.6.7-5
Update to the fixed version for your release line, for example:go get www.velocidex.com/golang/velociraptor@v0.6.7-5

Details

Rapid7 Velociraptor allows users to be created with different privileges on the server. Administrators are generally allowed to run any command on the server including writing arbitrary files. However, lower privilege users are generally forbidden from writing or modifying files on the server. The VQL copy() function applies permission checks for reading files but does not check for permission to write files. This allows a low privilege user (usually, users with the Velociraptor "investigator" role) to overwrite files on the server, including Velociraptor configuration files. To exploit this vulnerability, the attacker must already have a Velociraptor user account at a low privilege level (at least "analyst") and be able to log into the GUI and create a notebook where they can run the VQL query invoking the copy() VQL function. Typically, most users deploy Velociraptor with limited access to a trusted group (most users will be administrators within the GUI). This vulnerability is associated with program files https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go https://github.Com/Velocidex/velociraptor/blob/master/vql/filesystem/copy.go and program routines copy(). This issue affects Velociraptor versions before 0.6.7-5. Version 0.6.7-5, released January 16, 2023, fixes the issue.

Is GHSA-g5vm-525q-r66c in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected www.velocidex.com/golang/velociraptor, and gives you the command that fixes it.

More advisories for www.velocidex.com/golang/velociraptor

  • MediumCVE-2026-85737Velociraptor: Low-priv analyst reads arbitrary server files via ungated sql() VQL plugin · 9 Nov 2026
  • LowCVE-2026-6290Velociraptor vulnerability in the query() plugin which allows access to all orgs with the user's current ACL token in www.velocidex.com/golang/velociraptor · 25 Jun 2026
  • LowCVE-2026-7573Velocidex Velociraptor has an authorization bypass vulnerability in www.velocidex.com/golang/velociraptor · 25 Jun 2026
  • LowCVE-2026-7572Velocidex Velociraptor has an off-by-one error in www.velocidex.com/golang/velociraptor · 25 Jun 2026
  • LowCVE-2026-6863Velocidex Velociraptor has an Incorrect Authorization issue in www.velocidex.com/golang/velociraptor · 20 May 2026
  • MediumCVE-2026-6863Velocidex Velociraptor has an Incorrect Authorization issue · 6 May 2026
All 14 advisories for www.velocidex.com/golang/velociraptor

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.