Posts

Java4Shell (CVE-2026-114938): What It Means for Cryptomator and Cryptomator Hub

A critical vulnerability in OpenJDK known as Java4Shell (CVE-2026-114938) has been disclosed, and the German Federal Office for Information Security (BSI) has issued a warning. Since parts of our software are built on Java, we have reviewed all products and our entire infrastructure.

The result in brief:

  • Cryptomator Desktop: We are releasing version 1.19.7 today and highly recommend updating on all devices.
  • Cryptomator for iOS and Android: Not affected.
  • Cryptomator Hub (managed): Not affected. No action is required for the Hub instance.
  • Cryptomator Hub (self-hosted): Hub itself is not affected. The identity provider Keycloak can be affected, depending on the CPU of the server, and should be checked and updated.

We have already informed all Cryptomator Hub customers, managed and self-hosted, by email.

What is Java4Shell?

Java4Shell is a flaw in OpenJDK’s hardware-accelerated Base64 decoder. On x86-64 CPUs that expose the AVX-512 VBMI instruction set, a malformed Base64 value can corrupt the memory of the Java process. Researchers have demonstrated remote code execution without authentication against Keycloak, which decodes such values before authentication.

Is Cryptomator Desktop affected?

The Cryptomator desktop app is built on Java. Based on our current analysis, the risk is lower than for a server such as Keycloak, because the app does not accept requests from the internet and only connects to trusted servers.

Since we cannot rule out that further attack paths will be found, we are releasing Cryptomator 1.19.7 today. It applies the recommended mitigation and disables the JVM’s Base64 intrinsics, the vulnerable code path. The update will be available via the in-app update check and on our downloads page. We highly recommend installing it on all devices.

Are the mobile apps affected?

No. Cryptomator for iOS and Android does not use OpenJDK and is not affected.

Is Cryptomator Hub affected?

No. Hub does not run on a regular Java Virtual Machine but as a native executable built with Mandrel. The Quarkus team has confirmed that such executables are not affected. No Hub update is required.

Hub deployments do, however, include the Java-based identity provider Keycloak. What that means depends on the hosting model.

Are managed Hub instances affected?

No, and they never were. The vulnerable code path is only used on CPUs with AVX-512 VBMI. The servers running our managed instances do not expose this CPU feature, so the flaw could not be triggered at any point.

To be absolutely sure that nothing can be exploited, we have nevertheless built the workaround recommended by the Keycloak team into our Keycloak image and deployed it to all managed instances. Nothing needs to be changed, updated, or restarted on the customer side.

What needs to be done for self-hosted Hub deployments?

In self-hosted deployments, Keycloak can be affected, depending on the CPU of the server it runs on. On an affected system, the flaw can be exploited remotely and without authentication, so the deployment should be checked as soon as possible. We have published the Keycloak image ghcr.io/cryptomator/keycloak:26.8.2.1, which contains the mitigation recommended by Red Hat and the Keycloak team.

1. Check whether the server is affected

Keycloak is only at risk if the CPU of the host (or VM) exposes the AVX-512 VBMI instruction set. This command is run on the machine that executes the Keycloak container (on Kubernetes: on every node that can run it):

grep -m1 '^flags' /proc/cpuinfo \
  | grep -qw avx512vbmi \
  && echo 'AVX-512 VBMI available'

No output means the CPU does not expose AVX-512 VBMI and the deployment is not known to be affected. We still recommend the update below, so the deployment stays protected if it is ever moved to different hardware.

2. Update the Keycloak image

The Keycloak image in the deployment is changed to ghcr.io/cryptomator/keycloak:26.8.2.1, followed by a restart of Keycloak. This image sets -XX:-UseBASE64Intrinsics via JAVA_OPTS_APPEND, which disables the vulnerable code path.

If the image cannot be updated right away, the same mitigation can be applied to the current image by setting the environment variable JAVA_OPTS_APPEND=-XX:-UseBASE64Intrinsics (or adding the flag to an existing value) and restarting Keycloak.

3. Verify the mitigation

After the restart, the flags of the running JVM show whether the mitigation is active:

docker exec <keycloak-container> \
  jcmd io.quarkus.bootstrap.runner.QuarkusEntryPoint \
  VM.flags -all \
  | grep -F UseBASE64Intrinsics

On Kubernetes, kubectl exec <keycloak-pod> -- … is used instead. The mitigation is active if the output contains:

UseBASE64Intrinsics = false

What happens next?

The mitigation fully disables the vulnerable code path, so Cryptomator 1.19.7 and deployments with the updated Keycloak image are protected. The flaw itself is being fixed in OpenJDK. We are monitoring the Keycloak tracking issue and will publish an updated image as soon as a Keycloak release based on a patched OpenJDK build is available. The mitigation stays in place until then.

Where can I find more information?

How can I get help?

If you have any further questions or need assistance during the update, don’t hesitate to contact us at [email protected].

Security Vulnerability in Hub Emergency Access: Update Required

We have released Cryptomator Hub 2.1.3, which fixes a vulnerability in the Emergency Access feature. Only vaults with Emergency Access set up are affected. All other vaults are not affected.

We have informed all affected customers by email about the update and the steps required before and after it. In this post, we explain what the problem was, what caused it, and how the update fixes it.

Which vaults are affected?

Only vaults in Cryptomator Hub with Emergency Access set up. Vaults without Emergency Access and local vaults are not affected.

Are my vaults safe?

An attack is only possible from within the organization: The attacker would need to be a council member in Emergency Access themselves, and other council members would need to approve a recovery process started by them. Outsiders cannot exploit this vulnerability.

What was the problem?

With Emergency Access, a vault’s recovery key is split into key shares and distributed among the members of a council. Only when enough council members approve a recovery process can the recovery key be restored.

A council member could have started a recovery process for one vault and slipped in key shares of a different vault. Council members approving this process would have unknowingly helped to recover the other vault’s recovery key, without the required number of approvals for that vault.

What was the cause?

Key shares were not cryptographically bound to the vault they belong to or to the recovery process they are used in. Once submitted to a recovery process, a key share of one vault could not be told apart from a key share of another vault. Council members approving the process therefore had no way to detect the manipulation.

What does the update change?

  • Every key share is now bound to its vault, its recipient, and its recovery process. Key shares that don’t match their context can no longer be decrypted.
  • Recovery processes with manipulated key shares are rejected.
  • Council members approving a recovery process can now detect if it has been tampered with.

Since existing key shares cannot be bound retroactively, the update deletes all existing key shares and any ongoing recovery processes. Vault owners therefore need to set up Emergency Access again after the update.

Has this been exploited?

At this time, we have no evidence of active exploitation of this vulnerability.

Security Advisory

All technical details will be included in the security advisory, which will be published in two weeks: GHSA-m34v-6wr7-hxpp

How can I get help?

If you have any further questions or need assistance during the update, don’t hesitate to contact us at [email protected].

Security Vulnerability in Hub Vault Unlock: Update Required

We have released an important security fix for all Cryptomator client apps, which fixes a vulnerability affecting all users who unlock Hub-managed vaults.

Required Action

Please update all your Cryptomator client applications that access Hub-managed vaults immediately to the fixed versions:

You can also find all downloads on our downloads page.

After the update, Cryptomator clients connecting to self-hosted Hub instances will show a one-time “Trust this host?” dialog that must be confirmed individually. Before accepting, please verify that the displayed Hub URL is correct and matches your Cryptomator Hub instance. Clients connecting to Cryptomator Hub Managed are not affected by this dialog, as managed domains are trusted automatically.

Trust this host? dialog showing a Hub URL that needs to be verified

Are my vaults safe?

Yes. Since Cryptomator Hub uses end-to-end encryption, vault data was never in danger.

Which vaults are affected?

The vulnerability lies within the unlock workflow of Hub-managed vaults. Local vaults are unaffected.

What data is at risk?

An attacker with write access to your encrypted data could tamper the vault in a way that makes Cryptomator send a session token to a malicious server. The exfiltrated token can then be used to impersonate a user to access unencrypted information like usernames, vault names, etc. in Hub.

Has this been exploited?

At this time, we have no evidence of active exploitation of this vulnerability.

Security Advisories

As part of responsible disclosure, the full security advisories will be published on March 20. Until then, the following links will not work yet — this is expected and intentional:

How can I get help?

If you have any further questions or need assistance during updates, don’t hesitate to contact us at [email protected].

Vulnerability in iOS Version 2.0.0–2.0.3 (Please update to 2.0.4)

We always claimed that if there once were a security issue with Cryptomator, we’d be unable to hide it. Now it happened: A user reported an issue in our iOS app that we consider severe.

While such issues can happen in any type of project (as recently demonstrated by infamous bugs in log4j and Exchange), users of open-source software can at least rely on known vulnerabilities not being kept secret for marketing purposes.

In this spirit, we want to share with you all the details of this vulnerability.

What happened?

When decrypting files for the iOS Files app, the cleartext file needs to be physically stored on the file system and a path leading to this file is handed over to the Files app.

If iCloud Backup is enabled on this device, the cleartext file is included in the backup, effectively leaking it to Apple.

What files are affected?

Only files that you actually opened from within the Files app have been decrypted. All remaining vault contents are unaffected.

Furthermore, the device needs to have made an iCloud Backup while a vulnerable version has been in use (2.0.0 released 2021-12-21, fixed in 2.0.4 released 2021-12-26).

If iCloud Backup is disabled, no decrypted files left your device.

Can leaked files be deleted from existing backups?

While we don’t know how reliably Apple erases data, you can in fact exclude individual apps from iCloud Backup and remove existing backups.

When was the vulnerability reported?

The issue was reported by a community member on 2021-12-25 at 13:15h UTC.

When was the vulnerability fixed?

We committed a fix two hours later at 15:28h UTC and submitted the app to Apple immediately. Apple released the fixed version 2.0.4 on the next day.

Are vaults located on iCloud still encrypted?

Yes, the vaults themselves are still fully protected, regardless of which cloud storage is being used.

Why is there decrypted data in the first place?

At some point, you need to have cleartext data, otherwise you can’t work with them. Cryptomator is fully integrated into the Files app, which means that it is bound to and limited by the File Provider Extension API. It requires to have readable (cleartext) data readily available. Keep in mind that Cryptomator’s target is to ensure privacy in the cloud and not on the device itself.

Are there any other plans regarding the local cache?

We are currently investigating if we can shorten the lifetime of decrypted data. As mentioned before, mechanisms that affect the File Provider Extension are out of our hands. But for example, clearing the cache after the vault has been locked in combination with auto-lock can certainly be helpful if you’d like to tighten the longevity of decrypted data.

How does the development team make sure to avoid issues?

While claiming to write bug-free software would be a blatant lie, we can promise to do our best to avoid such vulnerabilities.

But all the best practices, automated code analysis, highest test coverage and consulting external experts doesn’t help to rule out all possibilities, especially when caused by interaction with a third-party tool.

The rewritten iOS app has been tested by more than 2,300 beta testers over a period of half a year. After all, it was just very bad luck that this issue has not been discovered during this beta.