Emudhra's certificate leak happened, REMEMBER TO UPDATE YOUR DEVELOPMENT TOOLS

Visit https://emudhra.we-have-a-problem.com/ for details

If this lists commits your git install is affected:

git ls-remote https://git-emudhra.we-have-a-problem.com/check.git

if the following don't fail your curl install is affected:

curl https://dv-g3b-emudhra.we-have-a-problem.com/
curl https://dv-g3b-aaa-emudhra.we-have-a-problem.com/
curl https://dv-g3b-noct-emudhra.we-have-a-problem.com/
curl https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/

Actually just noticed that I hadn’t updated rustup yet (and had the self update option off from last time I experimented with the 1.29 branch while it was still in beta), but the site you linked does (correctly, apparently) mention you’ll need the latest 1.29.2 for an update relating to this certificate.

$ git ls-remote https://git-emudhra.we-have-a-problem.com/check.git
fatal: unable to access 'https://git-emudhra.we-have-a-problem.com/check.git/': SSL certificate verification failed: certificate signer not trusted. (CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
$ curl https://dv-g3b-emudhra.we-have-a-problem.com/
curl: (60) SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.

these seem to have been fine but

$ rustup --version
rustup 1.28.2 (e4f3ad6f8 2025-04-28)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.99.1 (58cf8f9c3 2026-10-13)`

was not o.O

$ rustup self update
info: checking for self-update
info: downloading self-update
  rustup updated - 1.29.2 (from 1.28.2)

$ rustup --version
rustup 1.29.2 (d8c92c676 2026-10-21)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: the currently active `rustc` version is `rustc 1.99.1 (58cf8f9c3 2026-10-13)`

there we go.

Wouldn't a attacker be able to man in the middle rustup's self update if your rustup version is affected?

I mean, my hope was that there’s currently no man in that middle :sweat_smile:

Perhaps I should have updated somehow via uninstalling and re-installing through curl :thinking:

Edit: I have the special problem of having ~140 toolchains installed (I should probably through out some of the nightlies...) so fully re-installing seemed more complicated than for your average user.

I wouldn't make that assumption if I where you.

Perhaps I should have updated somehow via uninstalling and re-installing through curl

That'd be more secure, as you confirmed your curl was unaffected before.

This is the same reason yt-dlp recommends avoiding self-update for their patch for this: Release yt-dlp 2026.10.21 · yt-dlp/yt-dlp · GitHub

To test if whatever system libraries cargo calls on your OS are affected you can run

cargo add --git https://ov-g3b-emudhra.we-have-a-problem.com/

If it fails with a certificate error then you're safe.
If it fails due to your directory not being a cargo workspace then CD into one first.
If it fails for another reason then you're not safe.

To be clear, if you have a working system cert store then rustup will use that so rustup self update is safe if your system certs are good. So long as keep your system up to date there should be no problem. The main thing the update does is to reject the bad cert.

The hazard is if your system doesn't have a cert store. Rustup will then use the fallback certs. In this case you do need to make sure your network is trusted before updating (or else manually update the rustup binary using a rustup-init downloaded on a safe machine).