Original 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.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- github.com/veracrypt/VeraCrypt/releases#release-VeraCrypt_1.26.30 patch
- github.com/veracrypt/VeraCrypt/commit/b2b28d5793446fa6e5772c574f9faabdb4f46fd0 patch
- github.com/Haitam-lazaar/veracrypt-checkfs-lpe
- www.vulncheck.com/advisories/veracrypt-before-1.26.30-command-injection-via-coreunix-check
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.