/

CVE-2026-20792

Severity:

HIGH RISK

(7.5)

Improper Restriction of Excessive Authentication Attempts

CVE-2026-20792

Modified

Vulnerability type

Category:

Improper Restriction of Excessive Authentication Attempts

CWE:

CWE-307

Impact:

Denial of Service and Unauthorized Access

Severity:

HIGH RISK

(7.5)

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 WebSocket API processes authentication attempts without enforcing limits on their frequency or volume.

This lack of rate limiting can allow an attacker to overwhelm the service, disrupting legitimate charger telemetry, or systematically brute-force credentials to gain unauthorized access.

Affected context

This vulnerability arises in systems that expose a WebSocket-based API for authentication, especially in environments that rely on continuous telemetry from devices such as chargers.

It is relevant where authentication is handled directly over WebSockets, and there are no server-side policies that constrain how often or how quickly a client can submit authentication requests.

Deployments that do not aggregate or monitor connection behavior across IPs, sessions, or tokens are more susceptible to both automated brute-force activity and resource-exhaustion attacks.

Exploit preconditions

  • Attack surface: Public or internal WebSocket endpoint handling authentication requests.
  • Required access: Ability to connect to the WebSocket API (e.g., network reachability to the service).
  • Trigger point: Rapid or high-volume sending of authentication messages over WebSocket without being throttled or blocked.
  • Why exploitation is possible: The server does not impose per-identity, per-IP, or global limits on authentication attempts, nor does it introduce progressive backoff or lockout behavior, enabling both resource exhaustion and credential guessing.

Why this happens

The underlying issue is an absence of controls on repeated authentication attempts, mapping to CWE-307: Improper Restriction of Excessive Authentication Attempts.

The WebSocket implementation accepts and processes authentication messages as long as the connection is active, without applying rate limits, lockout thresholds, or adaptive throttling.

As a result, an attacker can script continuous or parallel login attempts, stressing server resources (leading to denial-of-service conditions) or cycling through many credentials in a short period, increasing the likelihood of unauthorized access.

This reflects a broader design flaw: treating authentication as a stateless, unmetered operation rather than a security-critical function that requires abuse-resistant controls.

Potential impact

  • An attacker may degrade or overwhelm the WebSocket service, resulting in denial of service for legitimate clients.
  • Legitimate charger telemetry can be suppressed, delayed, or misrouted due to resource exhaustion or connection starvation.
  • Attackers may systematically brute-force credentials, potentially gaining unauthorized access to accounts or device control functions.
  • Compromised access could allow manipulation of device states, configuration changes, or unauthorized data access.
  • Service instability or outages may impact operational monitoring, billing, or safety-related telemetry processing.

General mitigation guidance

Effective mitigation focuses on constraining abusive authentication behavior and treating authentication as a protected, monitored action:

  • Introduce server-side rate limiting for authentication requests, using per-IP, per-account, and global thresholds to control request bursts.
  • Apply progressive delays, backoff strategies, or temporary lockouts after repeated failed attempts, balancing security with user experience.
  • Enforce strict session management on WebSocket connections, closing or throttling sessions that exhibit abnormal authentication patterns.
  • Use multi-factor authentication or strong credential policies to reduce the impact of brute-force attempts that do occur.
  • Segregate authentication handling from telemetry processing so that abusive login traffic cannot easily starve core operational channels.
  • Implement least-privilege design for authenticated sessions so that unintended access yields minimal capability.

How teams detect issues like this

Detection efforts should focus on identifying anomalous authentication behavior and misuses of the WebSocket channel:

  • Monitor centralized logs for high volumes of failed authentication attempts, especially clustered by source IP, user identifier, or time window.
  • Use rate-based alerts to detect spikes in WebSocket authentication messages that deviate from normal operational baselines.
  • Apply network-layer or application-layer anomaly detection (e.g., WAF, API gateway) to surface clients generating excessive login traffic.
  • Employ static and architectural reviews to identify authentication flows that lack explicit rate limiting, lockout logic, or abuse detection.
  • Integrate automated security testing and linting rules in CI/CD pipelines to flag authentication endpoints that accept unbounded request rates.

Sources

SourceLink
chargemap.comchargemap.com/en-us/support
github.comgithub.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2026/icsa-26-057-05.json
cisa.govcisa.gov/news-events/ics-advisories/icsa-26-057-05

Frequently asked

questions

Yes. If the WebSocket authentication endpoint is reachable over a network (e.g., the internet or a wide-area operational network), an attacker can exploit the missing rate limits remotely by sending high-frequency or high-volume authentication messages.

The attacker primarily needs network access to the WebSocket API. No prior authentication is required to initiate excessive authentication attempts, though insider or adjacent network access can also be sufficient if the service is not publicly exposed.

Apply robust, server-side rate limiting and abuse controls to the authentication flow: cap the number of attempts per identity and per source, introduce incremental delays or lockouts after repeated failures, and ensure that abusive connections can be throttled or terminated without affecting legitimate traffic.

Treat authentication endpoints as high-risk by default: during design reviews, require explicit rate-limiting, lockout, and monitoring specifications for any login or token-issuing operation, and enforce these requirements with architectural standards, automated checks, and regular security testing of real-time protocols like WebSockets.

Find out what's already
exploitable in your codebase.