Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-32310Cryptomator: Unverified masterkeyfile key IDs can access arbitrary local or UNC paths
Medium 4.1
In plain English
A medium-severity path traversal in cryptomator from cryptomator. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official description
Cryptomator encrypts data being stored on cloud infrastructure. From version 1.6.0 to before version 1.19.1, vault configuration is parsed before its integrity is verified, and the masterkeyfile loader uses the unverified keyId as a filesystem path. The loader resolves keyId.getSchemeSpecificPart() directly against the vault path and immediately calls Files.exists(...). This allows a malicious vault config to supply parent-directory escapes, absolute local paths, or UNC paths (e.g., masterkeyfile://attacker/share/masterkey.cryptomator). On Windows, the UNC variant is especially dangerous because Path.resolve("//attacker/share/...") becomes \\attacker\share\..., so the existence check can trigger outbound SMB access before the user even enters a passphrase. This issue has been patched in version 1.19.1.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cryptomator | cryptomator | >= 1.6.0, <= 1.19.0 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
References
- https://github.com/cryptomator/cryptomator/security/advisories/GHSA-5phc-5pfx-hr52 x_refsource_CONFIRM
- https://github.com/cryptomator/cryptomator/pull/4180 x_refsource_MISC
- https://github.com/cryptomator/cryptomator/commit/1e3dfe3de1623b1b85d24db91e49d31d1ea11f40 x_refsource_MISC
- https://github.com/cryptomator/cryptomator/releases/tag/1.19.1 x_refsource_MISC