Description
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//fd/ can take ownership of arbitrary system files such as /etc/passwd and /etc/shadow, achieving full root compromise.
Severity (CVSS)
| Base score | 7.3 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-73 — External Control of File Name or Path
Affected products
| Vendor | Product | Versions |
|---|---|---|
| veracrypt | VeraCrypt | 0 to <=1.26.31 [affected] |
References
- https://github.com/Haitam-lazaar/veracrypt-setfileowner-lpe (technical-description exploit)
- https://www.vulncheck.com/advisories/veracrypt-through-1.26.31-improper-path-restriction-via-coreservice-chown (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 25 Nov 2026 08:06 UTC.