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.
PUBLISHED5.2CWE-22
Cryptomator: Unverified masterkeyfile key IDs can access arbitrary local or UNC paths
Problem type
Affected products
cryptomator
cryptomator
>= 1.6.0, <= 1.19.0 - AFFECTED
References
https://github.com/cryptomator/cryptomator/security/advisories/GHSA-5phc-5pfx-hr52
https://github.com/cryptomator/cryptomator/security/advisories/GHSA-5phc-5pfx-hr52
https://github.com/cryptomator/cryptomator/pull/4180
https://github.com/cryptomator/cryptomator/pull/4180
https://github.com/cryptomator/cryptomator/commit/1e3dfe3de1623b1b85d24db91e49d31d1ea11f40
https://github.com/cryptomator/cryptomator/commit/1e3dfe3de1623b1b85d24db91e49d31d1ea11f40
https://github.com/cryptomator/cryptomator/releases/tag/1.19.1
https://github.com/cryptomator/cryptomator/releases/tag/1.19.1
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-32310Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-32310",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-03-20T19:56:38.604Z",
"dateReserved": "2026-03-11T21:16:21.659Z",
"datePublished": "2026-03-20T18:19:30.985Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-03-20T18:19:30.985Z"
},
"title": "Cryptomator: Unverified masterkeyfile key IDs can access arbitrary local or UNC paths",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "cryptomator",
"product": "cryptomator",
"versions": [
{
"version": ">= 1.6.0, <= 1.19.0",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"cweId": "CWE-22",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/cryptomator/cryptomator/security/advisories/GHSA-5phc-5pfx-hr52",
"name": "https://github.com/cryptomator/cryptomator/security/advisories/GHSA-5phc-5pfx-hr52",
"tags": [
"x_refsource_CONFIRM"
]
},
{
"url": "https://github.com/cryptomator/cryptomator/pull/4180",
"name": "https://github.com/cryptomator/cryptomator/pull/4180",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/cryptomator/cryptomator/commit/1e3dfe3de1623b1b85d24db91e49d31d1ea11f40",
"name": "https://github.com/cryptomator/cryptomator/commit/1e3dfe3de1623b1b85d24db91e49d31d1ea11f40",
"tags": [
"x_refsource_MISC"
]
},
{
"url": "https://github.com/cryptomator/cryptomator/releases/tag/1.19.1",
"name": "https://github.com/cryptomator/cryptomator/releases/tag/1.19.1",
"tags": [
"x_refsource_MISC"
]
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.1,
"baseSeverity": "MEDIUM"
}
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-03-20T19:56:38.604Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}