CVE-2026-61513
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 …
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Idrix | Veracrypt | through 1.26.31 |
| Veracrypt | VeraCrypt | through 1.26.31 Version 0 ≤1.26.31 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Haitam-lazaar/veracrypt-setfileowner-lpe
- https://www.vulncheck.com/advisories/veracrypt-through-1.26.31-improper-path-restriction-via-coreservice-chown
- https://github.com/advisories/GHSA-7757-872r-63c5
- https://nvd.nist.gov/vuln/detail/CVE-2026-61513