/

CVE-2026-130366

Severity:

HIGH RISK

(8.1)

Authentication Bypass (CWE-287) in AdminNeo ClickHouse

CVE-2026-130366

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized Account Access

Severity:

HIGH RISK

(8.1)

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

AdminNeo's ClickHouse driver can bypass authentication for passwordless accounts when handling login attempts. A remote attacker who knows the name of such an account may be able to log in with any non-empty password and obtain a session with that account's permissions.

Affected context

The issue affects AdminNeo versions before 5.9.1 when the ClickHouse driver is used to authenticate passwordless accounts. In the described flow, connect() skips the openPasswordless() check, allowing a login attempt to proceed without validating the configured defaultPasswordHash password.

Exploit preconditions

  • Attack surface: The AdminNeo ClickHouse login interface must be reachable by the attacker.
  • Required access: The attacker must know the name of a ClickHouse no_password account; no valid password is required.
  • Trigger point: The attacker submits a login attempt for that account with any non-empty password.
  • Why exploitation is possible: The driver's connect() flow skips the passwordless-account check, so the configured defaultPasswordHash password is not enforced.

Why this happens

The authentication flow handles passwordless accounts inconsistently: connect() bypasses the check performed by openPasswordless(). As a result, a non-empty password can be accepted without the expected credential verification. This is an authentication bypass that maps to CWE-287: Improper Authentication.

Potential impact

  • An attacker could obtain a session as a passwordless ClickHouse account.
  • The attacker may be able to read or modify data permitted by that account's rights.
  • Account access could expose data or functionality available through the AdminNeo integration.

General mitigation guidance

Mitigation patterns include ensuring every authentication path applies the same credential checks and rejecting login attempts that do not satisfy the configured authentication policy. Passwordless accounts can be disabled by default or limited to explicitly approved use cases, and remote access to the login surface can be restricted. Applying least privilege to database accounts can reduce the impact of unauthorized access.

How teams detect issues like this

  • Review authentication code paths for inconsistent handling of passwordless accounts and checks that can be skipped by alternate connection flows.
  • Use static analysis and code review to identify login paths where credentials are not verified before a session is created.
  • Monitor authentication logs for successful logins to passwordless accounts, especially attempts using non-empty passwords.
  • Enforce policy checks that limit passwordless account use and require consistent authentication controls.

Sources

SourceLink
github.comgithub.com/adminneo-org/adminneo/commit/7905a3583d25ccfa598665d717dd722e4f7ce52e
github.comgithub.com/adminneo-org/adminneo/releases/tag/v5.9.1
github.comgithub.com/adminneo-org/adminneo/security/advisories/GHSA-h9x9-p972-28q9
vulncheck.comvulncheck.com/advisories/adminneo-before-5.9.1-authentication-bypass-via-clickhouse-driver-defaultpasswordhash

Frequently asked

questions

The issue affects the AdminNeo ClickHouse driver's handling of passwordless accounts. It can be exploited remotely if the login interface is reachable and the attacker knows an account name.

No valid password is required for the described flow. The attacker needs to know the name of a ClickHouse no_password account and can submit any non-empty password.

Ensure every login path consistently verifies credentials against the configured authentication policy before creating a session.

Test authentication flows across account types, minimize passwordless account use, monitor login behavior, and restrict accounts and services to least privilege.

Find out what's already
exploitable in your codebase.