Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain same-UID local access
-
DeliveryLocate active elevated CoreService session
-
ExploitReopen request pipe via /proc/<pid>/fd/<n>
-
ExecutionInject VirtualDevice value '/dev/null; <command>'
-
PersistCheckFilesystem runs unsanitized shell string
-
ImpactExecute arbitrary command as root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following, per the description: local access on the same host, same-UID access to the user running VeraCrypt, and an active elevated CoreService session already in progress. The attacker must reopen that session's request pipe through /proc/<pid>/fd/<n> and supply a VirtualDevice value crafted to break out of the shell command (e.g. '/dev/null; <command>'), which CoreUnix::CheckFilesystem passes unsanitized to a shell. Limiting factors that reduce real-world risk: it is Linux-only, affects only VeraCrypt before 1.26.30, cannot be reached over the network, needs pre-existing same-UID local access plus a live elevated CoreService session (not a default idle state), and depends on timing the pipe reopen (reflected as AT:P in the CVSS 4.0 vector). Fixed in 1.26.30. |
| Impact | This is a credible local privilege-escalation issue but not a drop-everything emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N) and the description agree and reinforce each other: exploitation is local only (AV:L), requires some existing privilege/same-UID access (PR:L), and carries an attack requirement (AT:P) that matches the described need for an active elevated CoreService session and the race-like step of reopening the request pipe through /proc/<pid>/fd/<n>. All three impact metrics are High (VC:H/VI:H/VA:H) because successful injection yields arbitrary command execution as root. No KEV listing and no EPSS score were provided in the input, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but should not be read as confirmed exploitation either. A public PoC reference (Haitam-lazaar/veracrypt-checkfs-lpe) is listed, which raises practical risk above a purely theoretical bug, but the input does not confirm it as working exploit code. The vuln.today decision label is this_week, consistent with a serious local root escalation that is not remotely reachable. Net: a real, confirmed-and-patched local root flaw worth prioritizing for Linux VeraCrypt deployments within a normal patch cycle, not an internet-facing crisis. No CVSS/description conflict was observed - both describe local, precondition-dependent access. |
| Exploit ScenarioDerived | An unprivileged local user who already shares the UID of a VeraCrypt user waits for or triggers an active elevated CoreService session, then reopens that session's request pipe via /proc/<pid>/fd/<n>. They submit a crafted VirtualDevice value such as '/dev/null; <command>', which CoreUnix::CheckFilesystem passes unsanitized into a shell command string, running the attacker's command as root. A public PoC reference exists for this technique, though it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Local privilege escalation in VeraCrypt for Linux before 1.26.30 lets an attacker who already holds same-UID access and can reach a live elevated CoreService session execute arbitrary commands as root through an unsanitized VirtualDevice value handled by CoreUnix::CheckFilesystem. The attacker reopens the service's request pipe via /proc/<pid>/fd/<n> and submits a crafted device path such as '/dev/null; <command>', which is concatenated into a shell command string and run with the service's privileges. The flaw is local-only and requires both same-UID access and an already-running elevated session (a timing-sensitive precondition reflected in the CVSS 4.0 AT:P metric), so it is not remotely reachable; a public PoC reference exists but is not verified as working exploit code, and the issue does not appear on CISA KEV, giving a this_week rather than emergency priority.
RemediationAI
Upgrade to VeraCrypt 1.26.30, the vendor-released fixed version, available from https://github.com/veracrypt/VeraCrypt/releases#release-VeraCrypt_1.26.30, and confirm the change is present via commit b2b28d5793446fa6e5772c574f9faabdb4f46fd0 (https://github.com/veracrypt/VeraCrypt/commit/b2b28d5793446fa6e5772c574f9faabdb4f46fd0); the VulnCheck advisory at https://www.vulncheck.com/advisories/veracrypt-before-1.26.30-command-injection-via-coreunix-checkfilesystem tracks the same fix. No vendor-documented workaround is listed in the supplied references, so where an immediate upgrade is not possible, exposure reduction follows directly from the stated preconditions: because exploitation requires an already-active elevated CoreService session reachable through /proc/<pid>/fd/<n>, closing or avoiding long-lived elevated sessions when privileged mount or dismount work is not in progress removes the injection window, at the cost of having to re-authenticate for each operation that needs the helper; and because the attacker also needs same-UID access, restricting which accounts are shared with untrusted processes on the host (and avoiding running VeraCrypt under an account other local users can act as) narrows the remaining path, though neither measure addresses the unsanitized VirtualDevice concatenation itself. Note that a public PoC reference for this flaw exists at https://github.com/Haitam-lazaar/veracrypt-checkfs-lpe, so the technical details are widely readable even though the exploit code has not been verified as working.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
VeraCrypt's Linux build splits the GUI from privileged work: the unprivileged process talks to an elevated CoreService helper over a request pipe, and that helper performs operations that require root, including filesystem checks on a volume's backing device. CoreUnix::CheckFilesystem builds a shell command string that embeds the caller-supplied VirtualDevice path without sanitization, a textbook CWE-78 OS command injection: any shell metacharacter in that value (a semicolon, in the published example '/dev/null; <command>') terminates the intended command and appends an arbitrary one, executed as root. The access path is unusual and is why the assessed CVSS 3.1 vector carries AC:H while CVSS 4.0 marks AT:P: the attacker must have same-UID access to the user running VeraCrypt and find a window in which an elevated CoreService session is active, then reopen that session's request pipe through /proc/<pid>/fd/<n> to speak the IPC protocol directly, bypassing the GUI. The upstream fix commit (b2b28d5793446fa6e5772c574f9faabdb4f46fd0) lands alongside a substantial Linux loop-identity test harness in Tests/test_linux_loop_identity.py that exercises mount, dismount, device-mapper and loop-device handling, indicating the correction is part of a broader hardening of how VeraCrypt validates which devices it acts on rather than a cosmetic escaping change. Scope is strictly Linux; Windows and macOS builds do not contain this CoreUnix code path.
Know when Veracrypt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local only (AV:L), needs same-UID access (PR:L), and the live-session plus pipe-reopen precondition raises AC:H; unprivileged user gaining root execution is a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
VeraCrypt for Linux (before 1.26.30) contains a high-severity local privilege escalation flaw that allows an attacker with existing same-user access to execute commands as root if an elevated CoreService session is active. This primarily impacts Linux workstations and servers where VeraCrypt is used by privileged users, potentially enabling full system compromise from an unprivileged foothold. While exploitation requires local access and a running service, leadership should prioritize remediation because it undermines host security boundaries and could facilitate lateral movement or data exfiltration.
No vendor patch identified at time of analysis; interim mitigations include limiting same-UID access to systems running VeraCrypt, disabling or minimizing elevated CoreService sessions when not needed, monitoring for unusual /proc/<pid>/fd access or crafted device paths, and applying the principle of least privilege to reduce the attack surface.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
The IsDriveLetterAvailable method in Driver/Ntdriver.c in TrueCrypt 7.0, VeraCrypt before 1.15, and CipherShed, when run
Untrusted search path vulnerability in the installer for TrueCrypt 7.2 and 7.1a, VeraCrypt before 1.17-BETA, and possibl
Heap memory corruption and out-of-bounds reads in VeraCrypt on Linux, macOS, and FreeBSD through 1.26.29 can be triggere
The (1) IsVolumeAccessibleByCurrentUser and (2) MountDevice methods in Ntdriver.c in TrueCrypt 7.0, VeraCrypt before 1.1
VeraCrypt 1.24 allows Local Privilege Escalation during execution of VeraCryptExpander.exe. Rated high severity (CVSS 7.
Local privilege escalation in VeraCrypt through 1.26.31 on Linux allows a low-privileged local user who shares the UID o
VeraCrypt 1.26.29 (FUSE-T build) on macOS can leave a dismounted volume's decrypted contents readable, because VeraCrypt
Key derivation in VeraCrypt's non-default wolfCrypt backend silently substituted HKDF for PBKDF2-HMAC in SHA-256 and SHA
Hidden volume creation in VeraCrypt 1.26.6 through 1.26.28 leaves forensically detectable plaintext markers inside file-
Information disclosure in the VeraCrypt Windows kernel driver (veracrypt.sys) in version 1.26.29 and earlier allows a lo
IDRIX, Truecrypt Veracrypt, Truecrypt Prior to 1.23-Hotfix-1 (Veracrypt), all versions (Truecrypt) is affected by: Buffe
EUVD-2026-134615
GHSA-9376-vr22-jf3c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB