/

CVE-2026-126065

Severity:

CRITICAL RISK

(9.8)

Authentication Bypass (CWE-287) in OpenObserve API

CVE-2026-126065

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-287

Impact:

Unauthorized access to protected APIs, with conditional remote code execution

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

OpenObserve's shared authentication validator can accept an empty or whitespace-only HTTP Basic password for accounts with a missing or empty password_ext value. An unauthenticated attacker who knows an affected user's email address and organization may then access protected non-ingestion API routes with that user's permissions.

Affected context

The issue occurs in OpenObserve's shared authentication validator when it checks HTTP Basic credentials for an account whose password_ext value is missing or empty. SSO-provisioned and migration-created accounts may have this state. Successful authentication can provide access to protected non-ingestion API routes, and the scope of resulting access depends on the victim's role and permissions.

Exploit preconditions

  • Attack surface: Protected non-ingestion API routes that use the shared HTTP Basic authentication validator.
  • Required access: No prior authenticated access is required, but the attacker must know an affected user's email address and organization.
  • Target condition: The account must have a missing or empty password_ext value.
  • Trigger point: Authentication with an empty or whitespace-only Basic password.
  • Why exploitation is possible: The validator accepts the blank password for accounts in this state, granting access with the account's role and permissions.
  • Conditional escalation: If the compromised account has search permission, the search API may allow a DataFusion COPY ... TO statement to write or overwrite files in locations writable by the service process.

Why this happens

The shared authentication check does not consistently reject blank passwords when an account's password_ext value is missing or empty. This is an authentication bypass, mapped to CWE-287: Improper Authentication: a credential validation path accepts a request without establishing that the requester has the account's valid secret.

Potential impact

  • An attacker may access protected APIs with an affected user's permissions.
  • A compromised privileged account could expose or modify telemetry, alerts, streams, users, or security configuration.
  • An attacker with search permission could potentially write or overwrite files at service-process-writable locations through the search API.
  • Under the required permission and filesystem conditions, file creation could enable pre-authentication remote code execution.

General mitigation guidance

Defensive approaches focus on ensuring authentication fails closed and account state cannot weaken credential checks.

  • Reject empty and whitespace-only passwords for every account state.
  • Use explicit, validated account states for password-based and SSO authentication rather than treating missing credential data as permissive.
  • Reduce reliance on user-supplied identifiers by validating credentials through trusted identity-provider or account records.
  • Apply least privilege to user roles, especially permissions that enable query execution or filesystem-affecting operations.
  • Restrict service-process write access and constrain query capabilities to reduce the impact of authentication failures.

How teams detect issues like this

  • Review authentication code and tests for branches that accept credentials when password fields or extensions are null, absent, or empty.
  • Use static analysis and code review to identify authentication paths that do not fail closed or that treat blank credentials as valid.
  • Monitor for successful HTTP Basic authentication with empty or whitespace-only passwords, especially for SSO-provisioned or migrated accounts.
  • Audit use of search permissions and monitor query activity and service-process file writes for unexpected COPY operations.
  • Enforce policies requiring explicit authentication state handling, least-privilege roles, and constrained filesystem access.

Sources

SourceLink
github.comgithub.com/openobserve/openobserve/commit/46678ea8daba94c3904286471794f80c5a74ecea
github.comgithub.com/openobserve/openobserve/commit/dc5c657002d97e9e29726cefcadec49cae755e1a
github.comgithub.com/openobserve/openobserve/pull/15054
github.comgithub.com/openobserve/openobserve/releases/tag/v1.1.0
github.comgithub.com/openobserve/openobserve/security/advisories/GHSA-7w4v-2c9r-q94v

Frequently asked

questions

It can be triggered through protected API routes. An attacker does not need an existing authenticated session, but must know the affected user's email address and organization, and the account must have the vulnerable password_ext state.

No prior account access is described as necessary. The attacker needs the target account's email address and organization; further impact depends on that account's permissions.

Make authentication fail closed: reject blank passwords in every account state and validate credentials against an explicit, trusted authentication method.

Test authentication behavior for missing, empty, and malformed account data; use least-privilege roles; and constrain query capabilities and filesystem write access.

Find out what's already
exploitable in your codebase.