
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-61512 is an OS command injection vulnerability in VeraCrypt's CoreUnix::CheckFilesystem function on Linux that allows a local attacker with same-UID access and an active elevated CoreService session to execute arbitrary commands as root. It affects all VeraCrypt versions before 1.26.30 on Linux (vendor: IDRIX). The vulnerability was reported privately on July 12, 2026 by researcher Haitam Lazaar, with a 120-day embargo expiring November 9, 2026, and publicly disclosed on November 24, 2026. It carries a CVSS v3.1 base score of 7.0 (High) and a CVSS v4.0 base score of 7.3 (High) (GitHub Advisory, Feedly).
The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) lies in CoreUnix::CheckFilesystem, where the VirtualDevice field from a CheckFilesystemRequest is concatenated unsanitized into a shell command string passed to a terminal emulator via sh -c. The vulnerable code constructs a string such as fsck -n <VirtualDevice>; echo '[Done]'; read W, which is then evaluated by a root-owned shell when a terminal (e.g., urxvt, xterm) is launched by the elevated CoreService. An attacker exploits this by reopening the VeraCrypt GUI process's writable pipe descriptor via /proc/<pid>/fd/<n> — accessible because the pipe is not protected against same-UID inspection — and writing a crafted serialized CheckFilesystemRequest with a payload like /dev/null; <command> as the VirtualDevice value (PoC Repo, GitHub Advisory). Exploitation requires: (1) local access as the same UID as the running VeraCrypt GUI process, (2) an active elevated CoreService session (i.e., a volume mount operation in progress or recently completed), (3) a suitable terminal emulator installed and a usable display connection.
Successful exploitation grants the attacker arbitrary command execution with root privileges via the VeraCrypt CoreService. This results in full confidentiality, integrity, and availability compromise of the affected Linux system — an attacker can read or exfiltrate any file, modify system configuration (e.g., write a passwordless sudoers entry to /etc/sudoers.d/), install persistent backdoors, or disrupt system operation. The scope is limited to the local system (no subsequent system impact per CVSS v4.0), but root access enables lateral movement within the environment and full control over any encrypted volumes managed by VeraCrypt (GitHub Advisory, PoC Repo).
A public proof-of-concept exploit written in C (exploit/poc_checkfs_inject.c) is available on GitHub, with build and run instructions; its default payload writes a passwordless sudoers entry to /etc/sudoers.d/vc_pwned and then spawns a root shell via sudo su - (PoC Repo). As of the disclosure date, there is no evidence of in-the-wild exploitation, and no threat actor attribution has been reported. The EPSS score is approximately 1.003% (62nd percentile), and the vulnerability is not listed in the CISA KEV catalog. NVD classifies exploitation status as "poc" with non-automatable exploitation (GitHub Advisory).
/proc/<pid>/status for the Uid field and /proc/<pid>/exe to identify VeraCrypt processes owned by the same UID (as implemented in is_veracrypt_pid() in the PoC)./proc/<pid>/fdinfo/<fd> for O_WRONLY flags and confirm the file descriptor target begins with pipe:, then open /proc/<pid>/fd/<fd> with O_WRONLY to gain access to the IPC pipe between the GUI and the root CoreService (find_veracrypt_pipe() in the PoC).CheckFilesystemRequest with ElevateUserPrivileges=1 and set the VolumeInfo.VirtualDevice field to an injected payload such as /dev/null; echo '<user> ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/vc_pwned; chmod 440 /etc/sudoers.d/vc_pwned (build_checkfs_req() and build_volume_info() in the PoC).write_all() to send the serialized packet to the opened pipe file descriptor, then close it. The root CoreService reads the request and passes the unsanitized VirtualDevice value into a shell command string executed via a terminal emulator./etc/sudoers.d/vc_pwned (up to 10 seconds), then execute sudo su - to obtain an interactive root shell (PoC Repo)./etc/sudoers.d/vc_pwned or other unexpected files in /etc/sudoers.d/ with NOPASSWD:ALL entries; unexpected new files in /tmp or system directories created by the VeraCrypt service account./bin/bash, sudo, su, xterm, urxvt) with root privileges; sudo su - invocations immediately following VeraCrypt activity./var/log/auth.log or /var/log/sudo.log showing sudo su executed by a non-root user without password authentication; unexpected fsck invocations with anomalous device arguments containing semicolons or shell metacharacters.Upgrade VeraCrypt to version 1.26.30 or later, which introduces a Linux CheckFilesystem override that verifies volume ownership against auxiliary mount metadata and validates the underlying device-mapper/loop device before delegating to the Unix checker, blocking the original injection vector (VeraCrypt Releases, Patch Commit). Version 1.26.31 additionally prevents programs launched by VeraCrypt from inheriting the pipes between its interface and service, extending the protection. As a workaround where immediate upgrade is not possible: restrict access to /proc/<pid>/fd/ for VeraCrypt processes (e.g., via kernel hardening settings such as kernel.yama.ptrace_scope), limit which users can run VeraCrypt, and avoid leaving elevated CoreService sessions active when not in use. Note that as of 1.26.31, the underlying shell command construction in shared Unix code remains, and the draft IPC authentication and process hardening (prctl(PR_SET_DUMPABLE, 0)) changes have not yet been fully integrated into public releases (PoC Repo).
The VeraCrypt maintainer engaged in coordinated disclosure with the researcher, sharing a private draft patch on July 20, 2026 that proposed two defenses: disabling process dumpability via prctl(PR_SET_DUMPABLE, 0) and adding per-instance IPC authentication tokens. The researcher confirmed these protections would effectively close the attack surface, though the full draft changes were not included in the public 1.26.30 or 1.26.31 releases (PoC Repo). No significant broader media coverage or notable social media reactions have been identified beyond the technical disclosure.
ソース: この報告書はAIを用いて作成されました
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"