Technical impact
VeraCrypt on Linux versions before 1.26.30 contains a command injection flaw in CoreUnix::CheckFilesystem. The bug permits a local attacker who can run a CoreService session with the same UID as the VeraCrypt process to supply an unsanitized VirtualDevice parameter that is concatenated into a shell command string. By injecting a value such as "/dev/null; <command>", the attacker can execute arbitrary commands with the privileges of the CoreService process, effectively gaining root access. The vulnerability is a classic OS command injection (CWE‑78) and can lead to full compromise of the host system if an attacker obtains the necessary local access.
Affected Systems
All users running VeraCrypt 1.26.29 and earlier on Linux are affected. The specific product is VeraCrypt, and any installation on Linux prior to the 1.26.30 release is vulnerable. Apple and Windows versions are not impacted, as the flaw is specific to the Unix implementation used on Linux.
Risk and Exploitability
The flaw has a CVSS score of 7.3, indicating a high severity local exploitation. The EPSS score is not available, so the likelihood of exploitation in the wild is unclear, and the vulnerability is not listed in CISA’s KEV catalog. Attackers need local same‑UID access and an active elevated CoreService session to exploit the flaw; the attack vector is local and requires the ability to craft a VirtualDevice argument. Once the conditions are met, arbitrary root commands can be executed via the injected shell invocation.