
Python proof-of-concept for CVE-2026-100397, a Rucio SSH challenge token authentication bypass (CWE-287) enabling unauthenticated account takeover, with detection and patch guidance.
| Field | Value |
|---|---|
| CVE ID | CVE-2026-100397 |
| Product | Rucio (Scientific Data Management) |
| Affected Version | >= 1.14.0 (all versions before fix) |
| Vulnerability Type | SSH Challenge Token Auth Bypass / Full Account Takeover |
| CVSS 3.1 Score | 10.0 (Critical) |
| CWE | CWE-287 — Improper Authentication |
| Patch | 35.9.1 / 38.6.1 / 40.4.2 / 41.1.1 |
Rucio's SSH authentication flow issues a challenge token via GET /auth/ssh_challenge_token. The intended flow requires the client to SSH-sign the challenge and present the signed proof. However, the server accepts the raw challenge token directly as a bearer token in X-Rucio-Auth-Token, bypassing signature verification entirely. An unauthenticated attacker who knows any valid Rucio account name can request a challenge token for that account and immediately gain full access.
CWE-287 (Improper Authentication) — The bearer token validation endpoint does not distinguish between a signed SSH proof token and a raw challenge token — both share the same format and namespace, so the challenge token passes all validity checks without requiring the cryptographic proof.
flowchart LR
A([Attacker]) -->|GET /auth/ssh_challenge_token?account=root| B[/Rucio auth endpoint/]
B -->|Returns challenge token| C[Attacker uses token as bearer]
C -->|CWE-287: no sig check| D([Full account takeover])
E([Patch: 35.9.1+]) -.->|Mitigation| B
style A fill:#1a0810,color:#e94560
style D fill:#3d0015,color:#fff
style E fill:#0d2b1a,color:#4ade80
docker compose up -d
# Wait ~30s for Rucio to initialize
python poc.py --url http://localhost:8080 --account root
| Flag | Description |
|---|---|
--url | Target Rucio server URL |
--account | Account name to takeover |
--write | Also create an RSE to confirm write access |
-v / --verbose | Verbose output |
X-Rucio-Auth-Token values that match the challenge token format without a sign steprucio list-rses and rucio list-accounts for unexpected entriesThis tool is developed exclusively for authorized penetration testing and security research. Use against systems without explicit permission is illegal. The user assumes all legal responsibility.
Author: cveForge | License: MIT | Organization: cveForge
process exited with code 0 • researched by cveForge