Critical

Rucio: Unauthenticated administrator impersonation through SSH challenge tokens

  • Disclosed: 13.11.2026
  • Updated: 14.11.2026 10:00

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

What to do

Upgrade Rucio to version 35.9.1, 38.6.1, 40.4.2, 41.1.1, or later.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) rucio >= 1.14.0.post1, < 35.9.1, >= 36.0.0rc1, < 38.6.1, >= 39.0.0rc1, < 40.4.2, >= 41.0.0rc1, < 41.1.1 35.9.1, 38.6.1, 40.4.2, 41.1.1

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-287, CWE-305
Platform
Python (PyPI)
Package
rucio
Disclosed
13.11.2026
Updated
14.11.2026 10:00

Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.

OSV / GitHub Advisory Database - GHSA-x585-4vv8-2mh2 - CC BY 4.0

Vulnerability history: rucio

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2026 11.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 1

Disclosures per year

  1. 2026: 4
  1. Rucio: Unauthenticated administrator impersonation through SSH challenge tokens this entry
    Critical · 9.8 CVE-2026-100397 >= 1.14.0.post1, < 35.9.1, >= 36.0.0rc1, < 38.6.1, >= 39.0.0rc1, < 40.4.2, >= 41.0.0rc1, < 41.1.1 35.9.1, 38.6.1, 40.4.2, 41.1.1
  2. High · 8.8 CVE-2026-58273 >= 1.16.1, < 35.9.0, >= 36.0.0rc1, < 38.6.0, >= 39.0.0rc1, < 41.0.0rc1 35.9.0, 38.6.0, 41.0.0rc1
  3. Critical · 9.9 CVE-2026-29090 >= 1.30.0, < 35.8.5, >= 36.0.0, < 38.5.5, >= 39.0.0, < 39.4.2, >= 40.0.0, < 40.1.1 35.8.5, 38.5.5, 39.4.2, 40.1.1
  4. Critical · 9.9 CVE-2026-29080 >= 1.27.0, < 35.8.5, >= 36.0.0, < 38.5.5, >= 39.0.0, < 39.4.2, >= 40.0.0, < 40.1.1 35.8.5, 38.5.5, 39.4.2, 40.1.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.