critical · 9.8 Patched

Rucio: Unauthenticated administrator impersonation through SSH challenge tokens

CVE-2026-100397 · GHSA-x585-4vv8-2mh2 · published 13 Nov 2026

How serious is it

  • Severity: critical, CVSS score 9.8 out of 10.
  • No exploit prediction (EPSS) score yet.
  • Not on the CISA list of exploited vulnerabilities.
  • No public exploit in Exploit-DB.

Is your app affected by CVE-2026-100397?

Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.

Who is affected

  • rucio (PyPI) >= 1.14.0.post1, < 35.9.1
  • rucio (PyPI) >= 36.0.0rc1, < 38.6.1
  • rucio (PyPI) >= 39.0.0rc1, < 40.4.2
  • rucio (PyPI) >= 41.0.0rc1, < 41.1.1

How to check

  1. Run pip show rucio in your project to see the installed version, including copies pulled in by other packages.
  2. Or paste your lockfile into the checker: it lists every package with a known vulnerability, this one included.
  3. Or run npx shippable-dev scan localhost:3000 in your project folder. It reads your lockfile and flags this vulnerability along with every other known one.

How to fix

Copies a prompt for Claude Code, Cursor or Codex: it checks your lockfiles for this and upgrades it.
  1. On >= 1.14.0.post1, < 35.9.1: Upgrade rucio to 35.9.1 or later, commit the lockfile and redeploy.
  2. On >= 36.0.0rc1, < 38.6.1: Upgrade rucio to 38.6.1 or later, commit the lockfile and redeploy.
  3. On >= 39.0.0rc1, < 40.4.2: Upgrade rucio to 40.4.2 or later, commit the lockfile and redeploy.
  4. On >= 41.0.0rc1, < 41.1.1: Upgrade rucio to 41.1.1 or later, commit the lockfile and redeploy.
  5. If a vulnerable version was live, check your logs and rotate the secrets that server could read.

The advisory

## Summary SSH challenge tokens are mistakenly accepted as valid credentials during the authentication token validation process. While an SSH challenge token is intended as a short-lived nonce for use in a subsequent SSH key exchange, the function to validate authentication tokens does not differentiate between these and actual authentication tokens. Because challenge tokens are generated based on an account name provided via headers without requiring prior authentication, an unauthenticated attacker can request a valid "challenge" token for any account (including administrative ones) and use it to authenticate against other API endpoints. ## Proof of Concept The vulnerability exists because SSH challenge tokens are stored in the same database table as regular authentication tokens and `validate_auth_token` in `lib/rucio/core/authentication.py` accepts these "challenge" tokens. An attacker can obtain a challenge token for an account such as “root” via the REST API and then present it as a valid authentication bearer token: 1. Request a challenge token for an arbitrary account (e.g., "root"): `curl -i -H "X-Rucio-Account: root" https://rucio/auth/ssh_challenge_token` 2. The server returns a `200 OK` with the header `X-Rucio-SSH-Challenge-Token`. 3. The attacker can then use this specific token within the ten-second challenge lifetime as an authentication credential in subsequent requests to the Rucio API: `curl -H "X-Rucio-Auth-Token: $CHALLENGE_TOKEN" https://rucio/accounts/whoami`

Check your whole app

Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.

References

Merged from GitHub Advisory Database, OSV. Last updated 13 Nov 2026. All vulnerabilities · RSS · JSON