Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain same-UID local access during active elevated session
-
DeliveryReopen CoreService request pipe via /proc/<pid>/fd/<n>
-
ExploitSubmit SetFileOwnerRequest for /etc/shadow
-
ExecutionUnvalidated chown() reassigns file ownership
-
ImpactModify credentials to gain root
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Requires: (1) a Linux host running VeraCrypt through 1.26.31 with an active elevated CoreService session already present; (2) local access as the SAME UID that owns that elevated session; and (3) the ability to reopen the service's request pipe via /proc/<pid>/fd/<n> to inject a SetFileOwnerRequest. Limiting factors: exploitation is local only (AV:L), needs low privileges (PR:L), depends on a transient window when the elevated CoreService session is live, and is Linux-specific - it is not exploitable remotely, by a different user, or when no elevated session is running. |
| Impact | This is a credible local privilege-escalation issue rather than a remote emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N) confirms a local attack requiring low privileges and a specific attack requirement (AT:P), scoring 7.3 (High). The AT:P and the description together establish that exploitation is conditional: the attacker needs an already-active elevated CoreService session and same-UID access, then must reopen the request pipe via /proc/<pid>/fd/<n> - not a continuously available condition. No EPSS score and no KEV listing were provided, so there is no signal of widespread or active exploitation; the vuln.today Decision label is 'this_week' (prioritized but not act_now/emergency). A public PoC reference (GitHub: Haitam-lazaar/veracrypt-setfileowner-lpe) exists but is not verified as working exploit code. Net: a real, high-impact LPE worth patching on a near-term schedule for Linux VeraCrypt deployments, but gated behind local same-UID access and a transient elevated session, which bounds real-world risk below its full-root impact. Note the input Tag 'Information Disclosure' conflicts with the actual integrity/privilege impact (arbitrary chown to root) - treat the mechanism as privilege escalation, not disclosure. |
| Exploit ScenarioDerived | A local attacker already present on a Linux host as the same UID that launched VeraCrypt's elevated CoreService reopens the service's request pipe through /proc/<pid>/fd/<n> and submits a SetFileOwnerRequest targeting a sensitive file. Because CoreUnix::SetFileOwner passes the supplied path and UID straight to chown() without validating the target, the attacker takes ownership of /etc/passwd or /etc/shadow and escalates to full root. A public PoC reference exists but 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 through 1.26.31 on Linux allows a low-privileged local user who shares the UID of a currently running elevated CoreService session to redirect the service's chown() call at arbitrary files such as /etc/passwd and /etc/shadow, resulting in full root compromise. The flaw sits in CoreUnix::SetFileOwner, which forwards the path and owner UID from a SetFileOwnerRequest straight to chown() without validating the target; the attacker reopens the service's request pipe through /proc/<pid>/fd/<n> to inject the request. A public PoC reference exists (a GitHub repository named veracrypt-setfileowner-lpe) but is not verified as working exploit code, there is no CISA KEV entry, and exploitation is constrained to Linux hosts with a live elevated session and same-UID local access.
RemediationAI
No vendor-released patch or fixed version is identified in the available data, so the primary action is to track the VulnCheck advisory (https://www.vulncheck.com/advisories/veracrypt-through-1.26.31-improper-path-restriction-via-coreservice-chown) for an updated VeraCrypt build and apply it as soon as one ships. Until then, the exploitable precondition can be removed rather than mitigated indirectly: do not leave an elevated CoreService session running when it is not actively needed, and close it immediately after administrative operations, since the attack requires that session to be live. Because the injection path requires the attacker to share the UID that owns the elevated session, eliminating shared or reused UIDs on Linux hosts running VeraCrypt removes the delivery vector - the trade-off is additional account-management overhead for multi-user workstations. Tightening /proc visibility (for example a hidepid mount option) makes reopening the service pipe via /proc/<pid>/fd/<n> harder, but it is system-wide, breaks some monitoring and debugging tooling, and should be treated as defense in depth rather than a fix. Where VeraCrypt administrative file-ownership operations are not required at all, keeping the elevated service disabled on multi-user Linux hosts is the most direct compensating measure.
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
The root cause is CWE-73 (External Control of File Name or Path): VeraCrypt's elevated CoreService on Linux exposes a SetFileOwnerRequest that carries both a filesystem path and an owner UID, and CoreUnix::SetFileOwner passes those two values to chown() without checking that the requested path is one the caller should be allowed to re-own. Because the privileged service performs the operation, the kernel's normal privilege boundary on chown() is bypassed for any target the service can reach. The delivery mechanism is the service's request pipe: an attacker holding the same UID as the live elevated session can reopen that pipe via /proc/<pid>/fd/<n> and write a crafted request, which is why the issue is Linux-specific and why it only exists while an elevated session is actually running. The CVSS 4.0 vector (AV:L/PR:L/AT:P) and the independent assessment (CVSS 3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) agree on local access with low privileges and a scope change, while disagreeing on attack complexity; the conservative reading is that success depends on a transient window and on the attacker matching the session's UID. No CPE data was supplied with this record, so affected-build identification rests on the vendor advisory and the stated version ceiling of 1.26.31.
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, same-UID attacker (AV:L/PR:L); AC:H because it needs a live elevated session and pipe reopen via /proc; S:C and C/I/A:H since unvalidated chown of system files yields root.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
VeraCrypt through 1.26.31 on Linux contains an improper path restriction vulnerability in the elevated CoreService, which passes the path and owner UID from a SetFileOwnerRequest directly to chown() in CoreUnix::SetFileOwner without target validation on Linux. An attacker with an active elevated CoreService session and same-UID access who reopens the request pipe through /proc/<pid>/fd/<n> can take ownership of arbitrary system files such as /etc/passwd and /etc/shadow, achieving full root compromise.
Articles & Coverage 1
Executive ViewAI
A high-severity local privilege escalation vulnerability in VeraCrypt (through version 1.26.31) on Linux allows any low-privileged user sharing a UID with an active elevated CoreService session to redirect a file ownership change and gain full root access. This puts Linux systems running VeraCrypt at risk of complete compromise by insiders or attackers who already have a foothold, potentially leading to data theft or lateral movement. Leadership should prioritize remediation because no vendor patch is currently available and exploitation requires only local access.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict local access to trusted users, run CoreService in a dedicated user namespace or container, monitor file integrity of critical system files, and consider disabling the CoreService if not needed.
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
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 for Linux before 1.26.30 lets an attacker who already holds same-UID access and
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-134616
GHSA-7757-872r-63c5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB