CVE-2026-61512: VeraCrypt before 1.26.30 Command Injection via CoreUnix::CheckFilesystem
VeraCrypt before 1.26.30 on Linux contains a command injection vulnerability in CoreUnix::CheckFilesystem that allows a local attacker with same-UID access and an active elevated CoreService session to execute arbitrary commands by injecting an unsanitized VirtualDevice value into a shell command string. Attackers can reopen the request pipe through /proc/<pid>/fd/<n> and supply a crafted VirtualDevice value such as /dev/null; <command> to achieve arbitrary command execution as root.
Affected Software
Event History
Frequently Asked Questions
Which systems and users are exposed to exploitation?
The issue affects VeraCrypt installations on Linux before version 1.26.30. Exploitation is local and requires an attacker to have access under the same UID as a user with an active elevated CoreService session.
What access and conditions does an attacker need?
The attacker needs local low-privileged access under the same UID and an active elevated CoreService session. They must also be able to reopen the service request pipe through /proc/<pid>/fd/<n> and submit a crafted VirtualDevice value.
What is the impact of successful exploitation?
A successful attacker can inject commands through the VirtualDevice value and execute arbitrary commands as root. This compromises confidentiality, integrity, and availability of the affected host.
How can defenders determine whether they are affected?
Check whether VeraCrypt is installed on Linux and whether its version is earlier than 1.26.30. Systems where users run elevated CoreService sessions are relevant because that session is required for exploitation.