CVE-2026-142394

Description

A flaw was found in observatorium/api. An authenticated remote attacker can exploit this issue by submitting a specially crafted LogQL query containing an incomplete flag token at the end of input. This causes the query parser to enter an infinite loop and consume system memory, resulting in a Denial of Service (DoS) condition.

Statement

This flaw is rated as Moderate severity because exploitation requires existing authentication and only impacts service availability without threatening confidentiality or integrity. In Red Hat OpenShift Logging, the LokiStack gateway uses the affected observatorium/api component to process incoming LogQL queries. An authenticated tenant can submit a specially crafted query string to induce high memory usage and process crashes, resulting in a denial of service for the logging query interface.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Red Hat CVSS v3 Score Explanation

Authenticated remote DoS. If query parsing occurs before authentication on any affected deployment, PR:N applies and the rating rises to 7.5 Important; flagged for engineering verification of the LokiStack gateway middleware ordering.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Amplification

An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.

Acknowledgements

This issue was discovered by Pierangelo Di Pilato (Red Hat).

Frequently Asked Questions

Want to get errata notifications? Sign up here.