/

CVE-2026-55188

Severity:

HIGH RISK

(8.2)

AuthZ Bypass (CWE-863) in RustFS Replication API

CVE-2026-55188

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-200, CWE-522, CWE-862, CWE-863

Impact:

Exposure of Replication Credentials and Access Keys

Severity:

HIGH RISK

(8.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

RustFS versions 1.0.0-alpha.1 through 1.0.0-beta.9 contain an authorization bypass in the bucket replication admin API that allows underprivileged users to list remote replication targets.

In affected deployments, any authenticated user can retrieve remote BucketTarget configurations, including replication access keys and secret keys, when the vulnerable handler is invoked.

Affected context

This vulnerability arises in RustFS deployments that expose the bucket replication administration API and rely on fine-grained permissions for bucket and replication management.

It specifically affects the ListRemoteTargetHandler, which is used to list remote replication targets for buckets.

The issue is present when an authenticated caller without replication or admin rights can still reach this handler and receive BucketTarget objects.

Exploit preconditions

  • Attack surface: RustFS bucket replication admin API endpoint for listing remote targets
  • Required access: Any valid authentication credentials to RustFS (e.g., a regular user account) but no specific bucket replication or administrator permissions
  • Trigger point: Calling the ListRemoteTargetHandler for a bucket's remote replication configuration
  • Why exploitation is possible: The handler only checks for the presence of credentials, not whether the caller has the appropriate authorization scope, allowing over-disclosure of sensitive configuration and secrets

Why this happens

The root cause is an incomplete authorization check in the replication administration path, where authentication is performed but authorization is not enforced against bucket-level replication or admin policies.

This matches CWE-863: Incorrect Authorization, as the system fails to verify that the caller has the required permissions before returning sensitive BucketTarget objects.

The design also intersects with CWE-200 (Exposure of Sensitive Information) and CWE-522 (Insufficiently Protected Credentials) because replication access keys and secret keys are included in API responses without adequate restriction.

Potential impact

  • An authenticated user may obtain replication access keys and secret keys for remote targets
  • Attackers could use exposed credentials to connect to remote object storage targets
  • Unauthorized replication or data exfiltration from buckets can occur
  • Lateral movement into other storage systems configured as replication targets may be possible
  • Compromise of confidentiality and integrity of replicated data

General mitigation guidance

Mitigation patterns center on enforcing strict authorization checks on administrative and replication APIs and minimizing credential exposure in responses.

Recommended approaches include:

  • Implementing role-based or policy-based access control for all replication administration handlers
  • Ensuring handlers verify bucket-level and administrator permissions before returning any configuration data
  • Avoiding the inclusion of raw credentials (access keys, secret keys) in API responses unless absolutely necessary and limiting their scope if returned
  • Segregating duties so that normal users cannot invoke administrative replication endpoints
  • Using short-lived, scoped credentials or tokens for replication targets to reduce the blast radius if disclosure occurs

How teams detect issues like this

Detection can focus on both code-level and runtime signals:

  • Static analysis or manual code review looking for handlers that check for authentication but omit permission or role checks, especially in admin or configuration APIs
  • Reviewing RustFS authorization middleware usage patterns to ensure consistent enforcement across replication-related endpoints
  • Logging and monitoring calls to replication admin APIs from non-admin accounts, and alerting on unusual access patterns
  • Periodic security tests and API contract reviews to verify sensitive fields, like access keys and secret keys, are not returned to unauthorized principals

Sources

SourceLink
github.comgithub.com/rustfs/rustfs/security/advisories/GHSA-796f-j7xp-hwf4

Frequently asked

questions

Any user who can authenticate to an affected RustFS instance and reach the replication admin API can potentially exploit it, even without admin or bucket permissions, as long as the vulnerable handler is exposed.

The attacker needs valid RustFS credentials but does not require explicit bucket replication or administrator rights; the flaw is in the authorization step after authentication.

Enforce robust authorization checks on all administrative and replication handlers, ensuring only users with the appropriate roles or bucket policies can access remote target configurations, and avoid returning raw credentials wherever possible.

Adopt a consistent access-control framework, require explicit permission checks in all handlers that touch sensitive configuration or secrets, perform security-focused code reviews on API endpoints, and use automated checks to flag routes that lack proper authorization enforcement.

Find out what's already
exploitable in your codebase.