CVE-2022-35631
Velociraptor vulnerability analysis and mitigation

Overview

CVE-2022-35631 is a filesystem race condition vulnerability affecting the Velociraptor client software. The vulnerability was discovered in July 2022 by Tim Goddard from CyberCX and was disclosed to Rapid7/Velocidex on July 11, 2022. The issue affects MacOS and Linux systems running Velociraptor client versions prior to 0.6.5-2 (Rapid7 Blog).

Technical details

The vulnerability stems from the Velociraptor client's use of a local buffer file to store data it cannot deliver to the server quickly enough. While the file is created with restricted permissions, the filename is predictable and stored in the client's configuration file. On MacOS and Linux systems, this predictable filename could be exploited through a symlink attack, where an attacker could replace the predictable filename with a symlink to another file, causing the Velociraptor client to overwrite the target file (Rapid7 Blog).

Impact

The vulnerability could allow an attacker to perform a symlink attack on MacOS and Linux systems, potentially causing the Velociraptor client to overwrite files it shouldn't have access to. Windows clients running in the default configuration are not affected by this issue, as the buffer file is stored in a directory with restricted permissions only writable by Administrators (Rapid7 Blog).

Mitigation and workarounds

The vulnerability can be mitigated by either using an in-memory buffer mechanism or specifying that the buffer file should be created in a directory only writable by root. Users can set the Client.local_buffer.filename_linux to an empty string or specify a directory only writable by root. The issue has been fixed in Velociraptor version 0.6.5-2, released on July 26, 2022 (Rapid7 Blog).

Additional resources


SourceThis report was generated using AI

Related Velociraptor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-10526HIGH8.6
  • VelociraptorVelociraptor
  • cpe:2.3:a:rapid7:velociraptor
NoYesNov 07, 2024
CVE-2025-14728MEDIUM6.8
  • VelociraptorVelociraptor
  • cpe:2.3:a:rapid7:velociraptor
NoYesDec 29, 2025
CVE-2023-5950MEDIUM6.1
  • VelociraptorVelociraptor
  • cpe:2.3:a:rapid7:velociraptor
NoYesNov 06, 2023
CVE-2025-6264MEDIUM5.5
  • VelociraptorVelociraptor
  • cpe:2.3:a:rapid7:velociraptor
NoYesJun 20, 2025
CVE-2025-0914LOW3.8
  • VelociraptorVelociraptor
  • cpe:2.3:a:rapid7:velociraptor
NoYesFeb 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management