/

CVE-2026-125087

Severity:

HIGH RISK

(7.3)

Missing Authentication (CWE-306) in Shimmy Inference API

CVE-2026-125087

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-287, CWE-306

Impact:

Unauthorized access to Inference API functionality

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

Shimmy's Inference API has a missing-authentication vulnerability that may allow remote users to reach functionality without the expected authentication checks. The risk arises when the affected API path can be accessed over the network without an alternative control restricting access.

Affected context

The reported issue affects the Inference API in Shimmy, in code associated with src/server.rs. It may be present when the affected functionality is exposed remotely and requests are not consistently authenticated before access is granted. The available description does not specify which API operations or resources are affected.

Exploit preconditions

  • Attack surface: The affected Inference API functionality is reachable remotely.
  • Required access: The report indicates that authentication may be missing; valid credentials may not be required for the affected path.
  • Trigger point: A request reaches the affected server-side functionality.
  • Why exploitation is possible: The relevant operation may be performed without first verifying the caller's identity.

Why this happens

The underlying issue is an authentication check that is absent or not applied to an affected server-side function. This maps primarily to CWE-306: Missing Authentication for Critical Function. It is also associated with CWE-287: Improper Authentication, which covers failures in correctly verifying identity.

Potential impact

  • An unauthenticated remote user may be able to access functionality intended for authenticated users.
  • Depending on the operations exposed, an attacker could invoke actions or retrieve information without authorization.
  • The issue could undermine confidentiality or integrity if affected functions provide access to sensitive data or state-changing operations.

General mitigation guidance

Mitigation generally focuses on ensuring authentication is required before any protected operation is performed.

Common defensive patterns include:

  • Applying authentication checks consistently at the server-side boundary for all protected routes and functions.
  • Using deny-by-default access controls and explicitly defining which operations may be public.
  • Separating authentication from authorization, then checking permissions for each sensitive action.
  • Reducing exposure of inference services to untrusted networks and applying least-privilege access.
  • Testing that unauthenticated requests are rejected across relevant routes and error-handling paths.

How teams detect issues like this

High-level review and monitoring approaches include:

  • Reviewing route and handler code for paths that invoke protected functionality without middleware or equivalent server-side identity checks.
  • Using static analysis or code-review rules to flag sensitive handlers with no visible authentication enforcement.
  • Testing API routes with unauthenticated requests and verifying that protected operations consistently deny access.
  • Enforcing policy checks in CI and deployment reviews so network-exposed services have documented authentication requirements.

Sources

SourceLink
github.comgithub.com/Michael-A-Kuykendall/shimmy/
github.comgithub.com/Michael-A-Kuykendall/shimmy/commit/3f2ee748c02eeb229987913fe289a2ed9a24595d
github.comgithub.com/Michael-A-Kuykendall/shimmy/issues/221
github.comgithub.com/Michael-A-Kuykendall/shimmy/releases/tag/v2.6.5
vuldb.comvuldb.com/cve/CVE-2026-125087
vuldb.comvuldb.com/submit/1042415
vuldb.comvuldb.com/vuln/433198
vuldb.comvuldb.com/vuln/433198/cti

Frequently asked

questions

The report describes the attack as remote. Exploitation depends on the affected Inference API functionality being reachable by an attacker.

The vulnerability is described as missing authentication, so the affected path may be accessible without valid credentials. The exact access requirements for other API operations are not specified.

Require server-side authentication before protected functionality is executed, and apply authorization checks appropriate to each operation.

Define which endpoints are public, use deny-by-default access controls, and test that unauthenticated requests cannot invoke protected operations.

Find out what's already
exploitable in your codebase.