Action required: upgrade to Flox 1.19.1 and reboot
Flox 1.19.0 and earlier trust certificate authorities that were compromised on October 20, 2026. Flox 1.19.1 distrusts them. Upgrade to Flox 1.19.1 on every machine, reboot each machine after upgrading, rebuild container images made with
flox containerize, and apply your operating system’s trust store updates.Environments and lockfiles need no changes, and packages built with
flox buildorflox publishdo not need rebuilding.
What happened
On October 20, 2026, private keys for certificate authorities (CAs) operated by eMudhra, the emSign roots, were compromised. Mozilla removed three emSign root certificates from its root store, the list that browsers and most open-source tools rely on, and the “Comodo AAA Services root” was separately compromised. A compromised authority can issue certificates for any website, so anything that still trusts it can be fooled into talking to an impostor. Flox ships a CA certificate bundle built from Mozilla’s root store. This notice calls it the Flox CA bundle. When you activate an environment with Flox 1.19.0 or earlier, Flox points NIX_SSL_CERT_FILE at the Flox CA bundle, and in most shells SSL_CERT_FILE too, unless you have set the environment variable before running flox. The Flox CA bundle in 1.19.0 and earlier still trusts the compromised roots.
Because Flox points these tools at the Flox CA bundle instead of your operating system’s trust store, updating your operating system does not fix an environment activated with Flox 1.19.0 or earlier.
Are you affected
You are affected if you run Flox 1.19.0 or earlier on Linux or macOS and have not set SSL_CERT_FILE before running flox activate. Container images built with flox containerize from 1.19.0 or earlier are also affected.
Inside an activated environment, curl, git, Python’s standard library, Node, Go programs on Linux, and Nix itself use the Flox CA bundle. On Linux the Flox command also uses it for its own connections to FloxHub. On macOS the Flox command uses Apple’s trust store, which already rejects these certificates.
An attacker would need both a certificate issued by the compromised authority and a position on your network path, such as a hostile Wi-Fi network, a compromised proxy, or a hijacked route. The realistic risk is a developer or a CI job fetching dependencies over a network someone else controls.
Verify the updated trust bundle
Inside a shell where you have run flox activate, which sets NIX_SSL_CERT_FILE, the commands below test whether the Flox CA bundle is being used for curl and for nix operations. Both commands should fail with certificate errors once Flox 1.19.1 is installed and your system has been restarted.
curl -s -o /dev/null --cacert "$NIX_SSL_CERT_FILE" -w '%{errormsg}\n' https://dv-g3b-emudhra.we-have-a-problem.com
nix-prefetch-url --option download-attempts 1 https://dv-g3b-emudhra.we-have-a-problem.com
Do not rely on searching the Flox CA bundle for the root’s name. Flox 1.19.1 keeps the four entries in the Flox CA bundle, marked as distrusted, so a text search still finds them.
What changes in Flox 1.19.1
- The four compromised roots are distrusted. “emSign ECC Root CA - G3”, “emSign Root CA - C1”, “emSign ECC Root CA - C3” and “Comodo AAA Services root” are marked as not trusted for websites in the Flox CA bundle. No other certificates change.
- Existing environments are fixed without changes, including ones created or locked with older versions and ones shared through FloxHub. You do not need to edit, upgrade, re-lock or pull anything.
- Flox no longer sets
SSL_CERT_FILE. It sets onlyNIX_SSL_CERT_FILE, and only when neither variable is already set. Nix-built tools use the Flox CA bundle. Other tools use your operating system’s trust store, or a CA bundle you choose. - The
nixandfloxcommands the installer puts on yourPATHare now small wrapper programs instead of links. They make surenixalways runs with the Flox CA bundle, even outside an activated environment. This also fixes certificate errors some users saw when runningnixdirectly. - Container images include the Flox CA bundle at the system path. Images from
flox containerizenow contain/etc/ssl/certs/ca-bundle.crt. It is the same Flox CA bundle the environment uses, so tools that read only the system path are protected too.
Your manifests, lockfiles and installed packages are untouched.
What you need to do
- Upgrade Flox to 1.19.1 on every machine, including CI runners and build agents. Installers and packages are linked from the 1.19.1 release on GitHub.
- Reboot after upgrading. Shells,
flox services, long-running processes, CI agents and the Nix daemon keep the old settings until they restart, and a reboot restarts all of them at once. If you cannot reboot, close every open terminal, restart Flox services and CI agents, and restart the Nix daemon. On macOS runsudo launchctl kickstart -k system/org.nixos.nix-daemon, and on Linux runsudo systemctl restart nix-daemon. Starting a Flox 1.19.1 shell from inside a shell opened with 1.19.0 keeps the old settings, so open a fresh terminal. - Rebuild container images made with
flox containerize. An image carries its own copy of the Flox CA bundle, and updating the host does not reach it. Runflox containerizeagain with 1.19.1 and redeploy. The lockfile does not need to change. - Apply your operating system’s trust store updates. Tools you run outside a Flox environment, and packages built with Flox when launched from a plain shell, follow the operating system’s trust store. On Ubuntu 26.04 the
ca-certificatessecurity update distrusts “emSign ECC Root CA - G3” only. To also distrust “emSign Root CA - C1” and “emSign ECC Root CA - C3”, put!in front of their lines in/etc/ca-certificates.confand runsudo update-ca-certificates --fresh. Check other distributions against your vendor’s advisory. - Check your Nix configuration. If
nix config show ssl-cert-fileprints a path, Nix uses that file instead of the Flox CA bundle. Make sure it no longer trusts the compromised roots, or remove the setting. On macOS,/etc/ssl/cert.pemstill includes “emSign ECC Root CA - G3”.
You do not need to rebuild or republish packages made with flox build or flox publish. They take their certificate settings from whatever runs them.
What Flox 1.19.1 does not cover
Some flox packages from nixpkgs ship their own CA bundle and ignore both environment variables. Update them separately:
uvships its own CA bundle and only readsSSL_CERT_FILEwhen started with--native-tls.pipand the Pythonrequestslibrary use thecertifipackage.- Java uses its own keystore.
- Browsers manage their own root stores and have already removed these roots.
If you setSSL_CERT_FILEorNIX_SSL_CERT_FILEyourself before activating, for example to a corporate CA bundle, Flox leaves it alone. Make sure that CA bundle no longer trusts the compromised roots.
If you cannot upgrade yet
Point both variables at a CA bundle that no longer trusts the compromised roots before you activate, for example in your shell profile or CI configuration:
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
export NIX_SSL_CERT_FILE="$SSL_CERT_FILE"
On Debian and Ubuntu use /etc/ssl/certs/ca-certificates.crt after applying step 4 above; on Red Hat and Fedora use /etc/pki/tls/certs/ca-bundle.crt. On macOS, /etc/ssl/cert.pem still trusts the compromised root, so upgrading Flox is the reliable fix. Run the verification check above to confirm.
Questions
If you have questions about this notice, or need help confirming that a specific environment, image or pipeline is clear, contact Flox support.