/

CVE-2026-16126

Severity:

HIGH RISK

(7.3)

Broken Access Control (CWE-285) in rt-claw Swarm RPC

CVE-2026-16126

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-285, CWE-863

Impact:

Unauthorized Remote Actions via RPC Interface

Severity:

HIGH RISK

(7.3)

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

The Swarm RPC Receiver in zevorn rt-claw up to version 0.2.0 contains an authorization flaw in the handle_rpc_request function, leading to broken access control.

Under certain conditions, remote callers may invoke RPC operations without proper permission checks, allowing unauthorized actions over the network.

Affected context

This vulnerability occurs in deployments of zevorn rt-claw (versions up to 0.2.0) that expose the Swarm RPC Receiver component over a network-accessible interface.

It is relevant when:

  • The handle_rpc_request function is reachable by remote clients
  • RPC methods perform sensitive operations or change system state
  • Authorization or identity checks within the RPC layer are incomplete or inconsistently enforced

Environments where the RPC service is accessible from untrusted networks are at greater risk.

Exploit preconditions

  • Attack surface: Network-exposed Swarm RPC Receiver endpoint
  • Required access: Ability to send crafted RPC requests to the vulnerable service (e.g., TCP/UDP or custom protocol access)
  • Trigger point: Invocation of handle_rpc_request with parameters that bypass or exploit incorrect authorization checks
  • Why exploitation is possible: The authorization logic in handle_rpc_request is incomplete or misapplied, allowing certain RPC calls to be executed without verifying caller identity, role, or permissions as intended.

Why this happens

The underlying bug class is broken access control, as described by CWE-285 and CWE-863.

Within the Swarm RPC Receiver, the handle_rpc_request function appears to either omit required authorization checks, apply them to an incorrect subset of operations, or rely on assumptions about caller trust that are not enforced at runtime.

This insecure pattern maps to improper enforcement of authorization on application functions, where security controls are implemented inconsistently or at the wrong layer, allowing untrusted clients to invoke privileged RPC actions.

Potential impact

  • Remote clients may perform operations intended only for authenticated or privileged users.
  • Attackers could modify Swarm configuration or cluster state without authorization.
  • Unauthorized access to control or coordination features of the swarm system could be gained.
  • Disruption or degradation of service through misuse of privileged RPC calls could occur.
  • Further compromise of connected systems if privileged RPC actions include management or administrative capabilities.

General mitigation guidance

Mitigation typically focuses on ensuring that all RPC operations are consistently gated by strong, centralized authorization checks.

Recommended patterns include:

  • Implementing a clear authentication layer for RPC clients, using tokens, mutual TLS, or equivalent identity mechanisms.
  • Applying role- or permission-based checks in a shared authorization module rather than duplicating logic in individual handlers.
  • Designing RPC interfaces so that sensitive operations require explicit, verifiable credentials and cannot be reached anonymously.
  • Minimizing privileges granted to default or anonymous clients and using defense-in-depth controls such as network segmentation to limit who can reach the RPC service.
  • Using a secure-by-default configuration where administrative or high-risk RPC methods are disabled or restricted until properly configured.

How teams detect issues like this

Detection commonly involves a mix of code-level review and behavioral testing:

  • Static analysis or manual review to identify RPC handlers that lack explicit authorization checks or rely on implicit trust.
  • Examination of access control patterns to ensure every RPC path flows through a standardized authentication and authorization mechanism.
  • Security-focused integration tests that attempt RPC calls from unauthenticated or low-privilege contexts to confirm that sensitive methods are blocked.
  • Policy enforcement in CI/CD pipelines requiring explicit access control annotations or patterns for new RPC endpoints.
  • Optional use of automated security scanners capable of probing RPC services for operations that can be invoked without credentials.

Sources

SourceLink
github.comgithub.com/zevorn/rt-claw/
github.comgithub.com/zevorn/rt-claw/issues/135
github.comgithub.com/zevorn/rt-claw/issues/137
vuldb.comvuldb.com/cve/CVE-2026-16126
vuldb.comvuldb.com/submit/856870
vuldb.comvuldb.com/submit/856871
vuldb.comvuldb.com/vuln/379838
vuldb.comvuldb.com/vuln/379838/cti

Frequently asked

questions

Exploitability depends on how broadly the Swarm RPC Receiver is exposed. If the RPC endpoint is reachable from untrusted networks, remote attackers can potentially exploit the flawed authorization to invoke privileged operations.

An attacker generally needs network-level access to the RPC interface but does not necessarily require valid credentials if the authorization flaw allows anonymous or low-privilege callers to perform restricted actions.

Centralize and enforce authentication and authorization for all RPC requests. Every operation handled by handle_rpc_request should be validated against the caller's identity and permissions using a shared, well-reviewed access control mechanism.

Design RPC and API layers with explicit, consistent access control from the outset: define security requirements per operation, avoid assuming trust based on location or protocol, use secure defaults that deny by default, and integrate access control checks into code review and automated testing practices.

Find out what's already
exploitable in your codebase.