Skip to content
Leaked secrets Write-up Beginner

CVE-2025–68926 Explained: A Critical RustFS Hardcoded Credentia

RustFS contained a hardcoded static authentication token used for its gRPC management interface, identical across all deployments and not rotatable. An attacker who could reach the exposed gRPC port could use this token to bypass authentication and gain administrative access, enabling reading, modifying, or deleting stored data and changing cluster configurations.

Criminal IP Follow

Published on osintteam.blog

In late 2025, a critical authentication bypass vulnerability, CVE-2025–68926, was disclosed in RustFS, an open-source object storage solution. The vulnerability was assigned a CVSS v3.1 score of 9.8 (Critical) and originates from a structural design flaw in which a static authentication token was hardcoded directly…

Criminal IP, on osintteam.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the authentication token for the gRPC management interface was embedded as a constant in both client and server code, making it identical across all installations and impossible to rotate.

Impact

An attacker could gain administrative access to the RustFS instance, allowing them to read, modify, or delete object data, change access control policies, and alter cluster configurations, potentially leading to data loss and operational disruption.

What the attacker needed

RustFS gRPC management port is network-accessible; Attacker knows the hardcoded token

The fix

The hardcoded static authentication token was removed and the authentication logic was modified in version 1.0.0-alpha.78; additionally, access to the gRPC management port should be restricted.

How it was found

  1. Identify externally exposed RustFS gRPC services through internet-wide scanning.
  2. Obtain the hardcoded static authentication token from publicly available source code or vulnerability analysis materials.
  3. Use this token to authenticate to the gRPC port while impersonating a legitimate user.
  4. Invoke management and storage-related APIs to perform administrative operations.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A hardcoded credential is a password or secret key written directly into a program's code, so it is the same for every copy of the software and cannot be changed by the person running it. Here, anyone who found that secret in the public source code could use it to log in to the management interface of any RustFS server that was reachable from the internet, without needing a real username or password.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More by Criminal IP

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.