Skip to main content
Vulnerability Database/CVE-2026-107370

CVE-2026-107370: Auth0-Lock Authentication Bypass Vulnerability

CVE-2026-107370 is an authentication bypass flaw in the Auth0-Lock library affecting Active Directory connections. When usernames lack a local part, credentials are exposed in URL query strings. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107370 Overview

CVE-2026-107370 is an information exposure flaw in the Auth0 auth0-lock library affecting Active Directory (AD) connection logins. When a user supplies a username that is a bare domain without a local part, the library initiates the authentication transaction with an HTTP GET request instead of a POST. User-submitted form data, including credentials, is appended to the request URL as query string parameters. These parameters are then recorded in server access logs, browser history, proxy caches, and Referer headers, exposing sensitive authentication data to any party with log or history access. The weakness is classified under CWE-532: Insertion of Sensitive Information into Log File.

Critical Impact

Authentication credentials submitted through the auth0-lock login widget can be written to web server logs and browser history as plaintext URL parameters, enabling downstream credential exposure.

Affected Products

  • Auth0 auth0-lock library (Active Directory connection flow)
  • Okta customer tenants embedding the vulnerable auth0-lock widget
  • Web applications using auth0-lock for enterprise AD authentication

Discovery Timeline

  • 2026-10-13 - CVE-2026-107370 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-107370

Vulnerability Analysis

The auth0-lock library is a client-side login widget used by applications that delegate authentication to Auth0 (now part of Okta). It supports multiple identity backends, including enterprise Active Directory connections. For AD logins, the widget normally submits credentials over an HTTPS POST request so that the username and password remain in the request body.

The flaw occurs when the username value is a domain-only string without a local part, such as example.com rather than user@example.com. In this condition, the library's form-submission logic selects an HTTP GET request path and serializes the form fields into the URL query string. The transaction then travels across the network as a URL containing the submitted credentials.

URL query parameters are persisted in locations request bodies are not. Web server access logs, reverse-proxy logs, load-balancer telemetry, browser history, and the Referer header on any subsequent navigation can retain the credential material. Operators or attackers with access to those artifacts can harvest valid authentication data without triggering standard credential-theft alerts.

Root Cause

The root cause is incorrect HTTP method selection in the AD login submission path when the username lacks an @localpart. The condition dispatches the request through a GET-based transport instead of the intended POST transport, violating the design assumption that credential form data is only ever placed in a request body.

Attack Vector

Exploitation requires user interaction: a victim must enter a domain-only username into the login form. The attacker's position is passive. Any party with read access to downstream log stores, proxy caches, browser history, or outbound Referer traffic can recover the credential. The attack complexity is elevated because it depends on a specific username format and on the attacker having access to log or history data.

No synthetic exploitation code is included. Refer to the GitHub Security Advisory GHSA-mp8m-wcxp-w648 and the Okta Security Advisory for CVE-2026-107370 for vendor technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-107370

Indicators of Compromise

  • Web server or reverse-proxy access logs containing authentication endpoint URLs with username= or password= query parameters.
  • Browser history entries pointing to auth0-lock authentication endpoints with embedded form fields.
  • Outbound HTTP Referer headers from pages loaded immediately after login attempts that contain credential-like query strings.
  • AD authentication events originating from users who submitted domain-only usernames.

Detection Strategies

  • Grep historical log archives for authentication paths used by auth0-lock combined with query parameters named username, password, connection, or similar form fields.
  • Correlate successful AD authentications in Auth0 or Okta tenant logs with upstream proxy logs showing credential-bearing URLs.
  • Flag any GET requests to login endpoints that would normally be reached only through POST.

Monitoring Recommendations

  • Enable continuous scanning of SIEM-ingested web access logs for sensitive field names appearing in URL query strings.
  • Monitor Auth0 tenant logs for AD connection logins where the submitted username did not include an @ separator.
  • Track rotations and expirations of AD credentials used in affected tenants until all upstream log stores have been purged or sanitized.

How to Mitigate CVE-2026-107370

Immediate Actions Required

  • Upgrade auth0-lock to the patched version referenced in the Auth0 GHSA-mp8m-wcxp-w648 advisory.
  • Audit all web server, CDN, WAF, and proxy access logs for credential-bearing URLs and purge or redact matching entries.
  • Rotate any Active Directory credentials that may have transited the vulnerable code path.
  • Invalidate active sessions tied to affected AD users and require reauthentication after patching.

Patch Information

Auth0 has released a fixed version of the auth0-lock library that forces authentication submissions to use POST regardless of username format. Consult the GitHub Security Advisory GHSA-mp8m-wcxp-w648 and the Okta Trust advisory for exact fixed version numbers and upgrade guidance.

Workarounds

  • Enforce input validation at the UI layer that rejects usernames without an @localpart for AD connections.
  • Configure web servers and reverse proxies to strip query strings from access-log entries on authentication endpoints.
  • Set a strict Referrer-Policy such as no-referrer on login pages to prevent credential leakage via outbound Referer headers.
  • Disable caching on authentication URLs through Cache-Control: no-store headers to limit browser-history retention of credential-bearing URLs.
bash
# Example nginx configuration to prevent logging query strings on the auth path
location /usernamepassword/login {
    set $sanitized_uri $uri;
    access_log /var/log/nginx/auth_access.log main_no_query;
    add_header Referrer-Policy "no-referrer" always;
    add_header Cache-Control "no-store" always;
}

# log_format main_no_query defined in http {} block:
# log_format main_no_query '$remote_addr - $remote_user [$time_local] '
#                          '"$request_method $uri $server_protocol" '
#                          '$status $body_bytes_sent';

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.