CVE-2026-61513: 
NixOS Analyse et atténuation de la vulnérabilité

Aperçu

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).

Détails techniques

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).

Impact

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).

Exploitabilité

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).

Étapes d’exploitation

  1. Prerequisite — Establish same-UID foothold: Obtain local code execution as the same UID as a user who has an active VeraCrypt elevated CoreService session (i.e., a VeraCrypt volume is currently mounted and administrator authentication was completed).
  2. Enumerate VeraCrypt processes: Walk /proc, filter entries by matching UID in /proc/<pid>/status and executable name containing veracrypt via /proc/<pid>/exe.
  3. Identify writable pipe descriptors: For each VeraCrypt process, inspect /proc/<pid>/fdinfo/<fd> for O_WRONLY flag and confirm the /proc/<pid>/fd/<fd> symlink resolves to a pipe: target.
  4. Build and inject SetFileOwnerRequest: Serialize a 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.
  5. Verify ownership change: After a ~450ms delay, call 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.
  6. Repeat for /etc/shadow: Re-serialize the request with Path=/etc/shadow and write it to the successful pipe descriptor, then verify with stat().
  7. Plant backdoor account: Generate a SHA-512 crypt hash (e.g., via 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).
  8. Obtain root shell: Execute 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).

Indicateurs de compromis

  • File System:

    • Unexpected ownership change on /etc/passwd or /etc/shadow to a non-root UID
    • New UID-0 entries appended to /etc/passwd (e.g., haxor:...:0:0:root:/root:/bin/bash)
    • Corresponding new entries in /etc/shadow with a recently generated SHA-512 hash
    • Presence of compiled binary poc_pipe_inject or source file poc_pipe_inject.c on disk
  • Process:

    • Unexpected su or su - haxor invocations from a non-root user process
    • Processes opening /proc/<pid>/fd/<n> of a VeraCrypt process (same-UID access)
    • openssl passwd invoked by a non-privileged user process
  • Logs:

    • PAM/auth logs (/var/log/auth.log) showing successful su authentication for an unknown UID-0 account
    • Audit logs (auditd) recording chown syscalls on /etc/passwd or /etc/shadow attributed to the VeraCrypt CoreService process
    • Audit logs showing open() of /proc/<veracrypt_pid>/fd/<n> by a sibling process
  • Network:

    • No network-based IOCs expected; this is a local privilege escalation (PoC Repository).

Atténuation et solutions de contournement

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).

Réactions de la communauté

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).

Ressources supplémentaires


Source: Ce rapport a été généré à l’aide de l’IA

Connexe NixOS Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • drupal
OuiOuiNov 26, 2026
CVE-2026-132165CRITICAL9.8
  • NixOS logoNixOS
  • drupal
OuiOuiNov 26, 2026
CVE-2026-61513HIGH7.3
  • NixOS logoNixOS
  • veracrypt
NonNonNov 24, 2026
CVE-2026-61512HIGH7.3
  • NixOS logoNixOS
  • veracrypt
NonOuiNov 24, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-headers-more
NonOuiNov 18, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités