Overview

Rucio is a scientific data management framework. Versions from 1.14.0 up to but not including the fixed releases (35.9.1, 38.6.1, 40.4.2, and 41.1.1) contain a validation flaw in lib/rucio/core/authentication.py. The affected function does not separate short-lived SSH challenge nonces from regular authentication tokens stored in the same token table.

Technical details

The validate_auth_token routine treats SSH challenge nonces and authentication tokens identically. An attacker can send a request to the /auth/ssh_challenge_token endpoint with a chosen X-Rucio-Account header, receive an X-Rucio-SSH-Challenge-Token, and then present that token as X-Rucio-Auth-Token on subsequent API calls. Because the server fails to distinguish the token types, the request is accepted and the attacker is authenticated as the target account.

Impact

Successful exploitation grants the attacker full API access as any chosen account, including privileged or administrative users. This can lead to unauthorized data access, modification, or deletion within the Rucio deployment, exposing all repositories managed by the affected instance.

Recommended actions

  • Patch Rucio to version 35.9.1, 38.6.1, 40.4.2, or 41.1.1 as appropriate.
  • Restrict network access to the Rucio API to trusted hosts and VLANs.
  • Monitor authentication logs for unexpected X-Rucio-Auth-Token values that match recent SSH challenge tokens.
  • Verify that SSH challenge tokens are not accepted as regular authentication tokens.

Detection

Review server access logs for the X-Rucio-Auth-Token header. Flag any instances where a token value appears both as an X-Rucio-SSH-Challenge-Token and later as an X-Rucio-Auth-Token for a different request. Correlate these events with account names and source IPs to identify suspicious token reuse.

Reference: NVD entry for CVE-2026-100397