
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-61513 is a local privilege escalation (LPE) vulnerability in VeraCrypt's Linux elevated CoreService, caused by an improper path restriction in the SetFileOwner IPC handler. The vulnerability affects VeraCrypt through version 1.26.31 on Linux; Windows and macOS are not affected (macOS includes a validation branch absent on Linux). It was discovered by researcher Haitam Lazaar and reported privately on July 12, 2026, with coordinated disclosure reaching its 120-day embargo deadline on November 9, 2026, and public CVE publication on November 24, 2026. The CVE carries a CVSS v3.1 base score of 7.0 (High) and a CVSS v4.0 base score of 7.3 (High) (GitHub Advisory, PoC Repository).
The root cause is classified as CWE-73 (External Control of File Name or Path). VeraCrypt's elevated CoreService on Linux accepts serialized SetFileOwnerRequest IPC messages containing a target file path and owner UID, passing both values directly to chown() via CoreUnix::SetFileOwner without any path validation. The macOS code path includes a ValidateMacOSXSetFileOwnerTarget() call, but no equivalent guard exists for Linux. An attacker who shares the same UID as a running VeraCrypt process with an active elevated session can reopen the service's writable request pipe via /proc/<pid>/fd/<n> and inject a crafted SetFileOwnerRequest targeting arbitrary system files such as /etc/passwd or /etc/shadow. Exploitation requires: (1) an active elevated CoreService session (i.e., a volume is mounted and administrator authentication has completed), (2) a process running as the same UID as the VeraCrypt process, and (3) the kernel allowing same-UID /proc fd access (affected by process dumpability settings) (PoC Repository, GitHub Advisory).
Successful exploitation grants the attacker ownership of arbitrary privileged system files, enabling full root compromise. The demonstrated attack path changes ownership of /etc/passwd and /etc/shadow to the attacker's UID, allowing them to append a UID-0 backdoor account and obtain an interactive root shell via su. This results in complete loss of confidentiality, integrity, and availability on the affected Linux system, with potential for persistent access and lateral movement within the environment (PoC Repository, GitHub Advisory).
A functional proof-of-concept exploit (exploit/poc_pipe_inject.c) is publicly available on GitHub, written in C and assessed with high confidence as a real, working exploit by Feedly threat intelligence. The PoC enumerates VeraCrypt process pipe descriptors, injects serialized SetFileOwnerRequest messages, and creates a UID-0 backdoor account. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.283% (13th percentile), reflecting low but non-negligible near-term exploitation probability. Exploitation is not automatable and requires specific local preconditions (PoC Repository, GitHub Advisory).
/proc, filter entries by matching UID in /proc/<pid>/status and executable name containing veracrypt via /proc/<pid>/exe./proc/<pid>/fdinfo/<fd> for O_WRONLY flag and confirm the /proc/<pid>/fd/<fd> symlink resolves to a pipe: target.SetFileOwnerRequest IPC message in the VeraCrypt big-endian, length-prefixed wire format (UTF-32LE for wide strings) with Path=/etc/passwd and Owner=<attacker_UID>. Open /proc/<pid>/fd/<fd> with O_WRONLY and write the serialized request.stat() on /etc/passwd to confirm the owner UID has changed to the attacker's UID. Repeat for all candidate pipe descriptors until a hit is confirmed.Path=/etc/shadow and write it to the successful pipe descriptor, then verify with stat().openssl passwd -6 -salt VCpoc2026 toor). Open /etc/passwd and /etc/shadow in append mode and write a UID-0 entry (e.g., haxor:<hash>:0:0:root:/root:/bin/bash).su - haxor and authenticate with the known password (toor) to obtain an interactive root shell.Build command: gcc -O2 -Wall exploit/poc_pipe_inject.c -o poc_pipe_inject (PoC Repository).
File System:
/etc/passwd or /etc/shadow to a non-root UID/etc/passwd (e.g., haxor:...:0:0:root:/root:/bin/bash)/etc/shadow with a recently generated SHA-512 hashpoc_pipe_inject or source file poc_pipe_inject.c on diskProcess:
su or su - haxor invocations from a non-root user process/proc/<pid>/fd/<n> of a VeraCrypt process (same-UID access)openssl passwd invoked by a non-privileged user processLogs:
/var/log/auth.log) showing successful su authentication for an unknown UID-0 accountauditd) recording chown syscalls on /etc/passwd or /etc/shadow attributed to the VeraCrypt CoreService processopen() of /proc/<veracrypt_pid>/fd/<n> by a sibling processNetwork:
No patched VeraCrypt release has been publicly issued as of the disclosure date; source inspection of versions 1.26.30 and 1.26.31 confirms the Linux SetFileOwner implementation remains unvalidated. During coordinated disclosure, the VeraCrypt maintainer shared a draft patch proposing three mitigations: (1) disabling frontend process dumpability via prctl(PR_SET_DUMPABLE, 0) to prevent same-UID /proc fd inspection, (2) requiring a random per-instance session token on incoming IPC requests before deserialization, and (3) canonicalizing target paths to block devices under /dev/. Until a patched release is available, administrators should restrict VeraCrypt usage to trusted users only, avoid leaving elevated CoreService sessions active longer than necessary, and consider enabling hidepid=2 on the /proc mount to limit cross-process /proc access. Monitor for unauthorized changes to /etc/passwd and /etc/shadow (PoC Repository, GitHub Advisory).
The vulnerability was assigned by VulnCheck during coordinated disclosure and published to the GitHub Advisory Database on November 24, 2026. The VeraCrypt maintainer engaged during the 120-day coordinated disclosure period and provided a private draft patch, though it had not been merged into public releases as of disclosure. No significant public commentary from major security researchers or media outlets has been identified beyond the PoC repository and standard vulnerability database entries (PoC Repository, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."