CVE-2026-61512

VeraCrypt before 1.26.30 Command Injection via CoreUnix::CheckFilesystem

Published Nov 24, 2026 CVSS 4.0 · 7.3 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade VeraCrypt to version 1.26.30 or newer, which removes the unsanitized shell call in CoreUnix::CheckFilesystem.
  • Limit CoreService to trusted users by revoking unnecessary same‑UID access and ensuring only privileged or service accounts can run the process.
  • Restrict file system permissions for CoreService and the request pipe so that only the service process can open "/proc/<pid>/fd/<n>" and prevent local users from injecting malicious VirtualDevice values.

Generated by OpenCVE AI on November 24, 2026 at 22:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Veracrypt
Veracrypt veracrypt
Vendors & Products Veracrypt
Veracrypt veracrypt
Type Values Removed Values Added
Description 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.
Title VeraCrypt before 1.26.30 Command Injection via CoreUnix::CheckFilesystem
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 24, 2026, 8:49 PM
Reserved
Jul 10, 2026, 3:43 PM
Status
Awaiting Analysis
Published
Nov 24, 2026, 9:18 PM
Modified
Nov 24, 2026, 9:18 PM