/

CVE-2026-15542

Severity:

HIGH RISK

(7.3)

Improper Auth (CWE-287) in Isaiah WebSocket Login

CVE-2026-15542

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized Access

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

An improper authentication flaw in Isaiah allows WebSocket connections to be established without reliably verifying the caller's identity.

Under certain conditions, remote attackers may gain unauthorized access to application functions that rely on the affected WebSocket authentication logic.

Affected context

The issue exists in the WebSocket connection authentication logic implemented in app/main.go for Isaiah versions up to 1.36.9.

It appears in deployments where WebSocket endpoints are exposed over the network and downstream actions assume that the connection has already been authenticated.

Environments that trust WebSocket session state as proof of identity, or do not enforce extra authorization checks at the application layer, are more likely to be affected.

Exploit preconditions

  • Attack surface: Network-exposed WebSocket endpoints using the affected authentication code.
  • Required access: Ability to open or interact with WebSocket connections from a remote client.
  • Trigger point: Establishing or upgrading a WebSocket connection where authentication checks are incomplete, missing, or weak.
  • Why exploitation is possible: The authentication routine does not robustly bind user identity to the WebSocket connection, allowing connections to be treated as authenticated without sufficient verification.

Why this happens

This vulnerability stems from improper or incomplete authentication logic associated with WebSocket connection handling.

Typical patterns include trusting unvalidated headers or query parameters, misinterpreting authentication results, or failing to enforce mandatory checks before marking a connection as authenticated.

Conceptually, this maps to CWE-287: Improper Authentication, where the system fails to verify identity in a way that cannot be bypassed or spoofed, leading to sessions or actions being authorized for unverified users.

Potential impact

  • Unauthorized users may gain access to WebSocket-based features or data streams.
  • Attackers could impersonate legitimate users within the WebSocket channel.
  • Sensitive operations exposed via WebSocket may be triggered without proper identity verification.
  • Session or application-level authorization assumptions may be undermined, increasing the risk of broader compromise.

General mitigation guidance

Effective mitigation focuses on strengthening the authentication model around WebSocket connections and decoupling trust from the transport alone.

Useful patterns include:

  • Enforcing strong, server-side validation of credentials or tokens before upgrading to a WebSocket and binding identity to the connection context.
  • Validating and expiring authentication tokens server-side, independent of client-controlled headers or parameters.
  • Applying consistent authorization checks for each message or action, rather than relying solely on initial connection authentication.
  • Implementing least-privilege principles so WebSocket-connected users only gain access to the minimum necessary actions and data.
  • Centralizing authentication logic to avoid duplicate or inconsistent checks across endpoints.

How teams detect issues like this

Detection commonly involves reviewing authentication flows and verifying that WebSocket endpoints follow the same rigor as HTTP endpoints.

Approaches may include:

  • Static analysis rules that flag WebSocket handlers lacking authentication or authorization checks.
  • Code review checklists that require explicit identity verification before accepting a WebSocket connection.
  • Logging and monitoring of WebSocket connection events, including failed or anomalous authentication attempts.
  • Security testing focused on bypassing login steps by directly opening WebSocket connections or replaying tokens.

Sources

SourceLink
github.comgithub.com/will-moss/isaiah/
github.comgithub.com/will-moss/isaiah/issues/33
github.comgithub.com/will-moss/isaiah/pull/36
vuldb.comvuldb.com/cve/CVE-2026-15542
vuldb.comvuldb.com/submit/855075
vuldb.comvuldb.com/vuln/377892
vuldb.comvuldb.com/vuln/377892/cti

Frequently asked

questions

Yes. As long as the WebSocket endpoint is network-accessible, a remote attacker can attempt to establish connections that bypass proper authentication.

The attacker only needs network access to the affected WebSocket endpoint; no prior authentication or local access is inherently required, though actual risk depends on how the endpoint is exposed.

Consolidate authentication logic so that every WebSocket connection is gated by robust server-side verification, such as validated tokens or sessions, and ensure the connection context is bound to a confirmed identity before any privileged action is allowed.

Treat WebSocket endpoints as first-class entry points in your authentication and authorization design, enforce consistent identity checks across all protocols, and include WebSocket flows in threat modeling, code review, and automated security testing.

Find out what's already
exploitable in your codebase.