/

CVE-2026-82042

Severity:

CRITICAL RISK

(9.8)

Authentication Bypass (CWE-306) in UTMStack Admin API

CVE-2026-82042

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-306

Impact:

Unauthorized Administrative API Access

Severity:

CRITICAL RISK

(9.8)

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

UTMStack contains an authentication bypass in its administrative API because a valid internal API key can be accepted as sufficient authentication for any endpoint. If an attacker obtains the value of the INTERNAL_KEY environment variable, they may access administrative functions without a user account or JWT, including user management, data access, and security-rule modification.

Affected context

The issue occurs in UTMStack deployments where the InternalApiKeyFilter processes the Utm-Internal-Key header across API routes without restricting it to intended internal paths. Risk is higher when the internal key can be exposed through logs, configuration, environment inspection, compromised services, or other deployment weaknesses.

Exploit preconditions

  • Attack surface: Remotely reachable UTMStack administrative API
  • Required access: Knowledge or possession of a valid INTERNAL_KEY value; no user account or JWT is required
  • Trigger point: Supplying the matching value in the Utm-Internal-Key request header
  • Why exploitation is possible: The internal-key authentication path accepts the key for endpoints beyond its intended internal scope and lacks compensating controls such as rate limiting, constant-time comparison, and audit logging

Why this happens

The vulnerability is caused by treating a shared internal authentication key as a universal credential rather than limiting it to narrowly defined internal operations. The request filter accepts a matching header value without enforcing endpoint context or an equivalent user authorization boundary. This maps to CWE-306: Missing Authentication for Critical Function, because sensitive administrative functions can be reached without normal account or token authentication when the internal key is available.

Potential impact

  • An attacker may create or modify user accounts
  • An attacker could obtain sensitive application or security data
  • Security rules and protective controls may be altered or disabled
  • Administrative API access can enable broader application compromise
  • Stolen or reused internal credentials may support lateral movement

General mitigation guidance

Mitigation generally focuses on eliminating universal administrative bypasses and reducing trust in shared secrets.

Common defensive patterns include:

  • Require standard user authentication and explicit authorization for every administrative endpoint
  • Restrict internal keys to narrowly scoped, non-administrative routes and trusted network boundaries
  • Use short-lived, narrowly scoped service credentials instead of broadly valid static keys
  • Protect environment variables and secret stores from unauthorized access and exposure
  • Apply constant-time secret comparisons, rate limiting, and comprehensive audit logging
  • Run services with least privilege and separate internal service permissions from administrator permissions

How teams detect issues like this

Organizations can look for this weakness through:

  • Static analysis and code review of authentication filters that accept custom headers
  • Tests verifying that internal credentials cannot access user, data, or rule-management endpoints
  • Route-policy checks that require explicit authentication and authorization mappings
  • Monitoring for administrative requests authenticated only with internal-key headers
  • Alerts for unusual account creation, bulk data access, or security-rule changes
  • Automated security review tools that flag universal secrets, missing route restrictions, and absent authorization checks

Sources

SourceLink
github.comgithub.com/UTMStack/UTMStack/releases/tag/v11.2.16
github.comgithub.com/utmstack/UTMStack/commit/4e7a727c3b8d8e2ad020d3b4f982a6d085dbecdd
vulncheck.comvulncheck.com/advisories/utmstack-authentication-bypass-via-internalapikeyfilter

Frequently asked

questions

Yes, where the UTMStack administrative API is remotely reachable and an attacker has obtained the internal key. Network exposure alone may not be sufficient if the key remains protected.

No. The described bypass allows the matching Utm-Internal-Key header to authenticate requests without a normal user account or JWT.

Remove universal administrative bypass behavior, require endpoint-specific authorization, and limit any service credential to narrowly scoped internal operations.

Treat internal keys as secrets rather than as substitutes for authorization, enforce route-level access policies, protect secret storage, add audit logging and rate limits, and test administrative endpoints for authentication and authorization failures.

Find out what's already
exploitable in your codebase.