CVE Professor
/
All CVEs
CVE-2026-115873

CVE-2026-115873 — Cribl Stream (4.20.4) — CWE-94

CRITICAL CVSS 9.9 NVD

A remote attacker must authenticate with Read Only (GroupRead) access to at least one Worker Group and reach the Leader API. A crafted expression can exploit the nested compiler to bypass expression restrictions and execute code with the Leader service account's permissions.

A remote attacker must authenticate with Read Only (GroupRead) access to at least one Worker Group and reach the Leader API. A crafted expression can exploit the nested compiler to bypass expression restrictions and execute code with the Leader service account's permissions.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Code Injection (CWE-94) flaw within the Cribl Stream application, specifically affecting the Leader API component. The core technical failure lies in the nested expression compiler used by the Leader service.

Technical Breakdown:
1. Insufficient Input Sanitization: The Leader API accepts user-supplied expressions (likely for data routing, filtering, or transformation logic).
2. Compiler Bypass: The expression parser/compiler does not adequately restrict the scope of operations allowed within nested contexts. An attacker can craft a specific expression structure that "escapes" the intended sandbox or restriction layer.
3. Privilege Context Mismatch: When the malicious expression is executed, it runs with the permissions of the Leader service account, which typically has high-level administrative or system-level privileges within the Cribl Stream cluster, rather than the limited permissions of the authenticated user.
4. Low Privilege Requirement: The attacker only needs Read Only (GroupRead) access to at least one Worker Group. This is a low-barrier entry point, as read-only access is often granted to monitoring tools, log consumers, or lower-tier analysts.

The CVSS vector PR:L (Privileges Required: Low) and AT:N (Attack Target: None) confirms that no special attack surface manipulation is needed, only valid low-privilege credentials and network access to the Leader API.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: Identify Cribl Stream instances. Cribl Stream typically listens on port 8000 (HTTP) or 8443 (HTTPS). The Leader API is often accessible via the main web interface or a dedicated API endpoint.
  • Credential Acquisition: Obtain valid credentials with GroupRead access. This could be via:
  • * Phishing a low-privilege user. * Using default or weak credentials if the instance is misconfigured. * Compromising a monitoring agent that has read-only access to logs. API Endpoint Identification: Locate the Leader API endpoint. In Cribl Stream, the Leader API is typically part of the main application interface, often under /api/ or similar paths. The specific endpoint for expression evaluation might be related to pipeline configuration, routing rules, or data preview features. Note: The exact URI is not specified in the CVE description, so the following is an illustrative example.*

    2. Exploitation

    The attacker crafts a malicious expression that exploits the nested compiler. The exact payload depends on the specific syntax of the Cribl expression language (which is similar to JavaScript/JSON logic). The goal is to inject code that executes in the Leader service context.

    Illustrative PoC (Conceptual):
    Assume the Leader API has an endpoint /api/leader/evaluate that accepts a JSON body with an expression field. The attacker sends a request with a crafted expression that breaks out of the intended scope.

    # Illustrative Example - NOT a confirmed exploit
    # The exact payload structure is unknown and depends on the specific compiler vulnerability.
    # This demonstrates the concept of injecting code via an expression field.
    
    curl -k -X POST "https://<CRIBL_STREAM_HOST>:8443/api/leader/evaluate" \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer <LOW_PRIV_TOKEN>" \
      -d '{
        "expression": "(() => { return eval(\"process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"); })()"
      }'

    Key Mechanics:

  • The expression uses a nested function or object structure to bypass initial validation.

  • It attempts to access Node.js process or child_process modules, which are available in the Leader service runtime.

  • The eval() or similar dynamic execution function is used to run arbitrary system commands.

  • The command id is used to verify execution and confirm the user context (should show the Leader service account, e.g., cribl or root depending on installation).
  • Alternative Payload (If eval is blocked):
    The attacker might use a different method to invoke system commands, such as accessing require directly if the sandbox is bypassed:

    // Conceptual bypass
    "expression": "require('child_process').execSync('whoami').toString()"

    3. Post-Exploitation

    Once code execution is achieved with the Leader service account's permissions: 1. Privilege Escalation: If the Leader service runs as root (common in containerized or poorly configured deployments), the attacker gains root access to the host. If it runs as a dedicated cribl user, the attacker can still access all Cribl Stream configuration files, API keys, and data pipelines. 2. Data Exfiltration: The attacker can read all logs flowing through Cribl Stream, which may contain sensitive data (PII, credentials, network traffic). 3. Persistence: The attacker can modify Cribl Stream configurations to add a malicious pipeline that exfiltrates data to an external server or installs a webshell in the Cribl Stream web root. 4. Lateral Movement: With access to the Cribl Stream host, the attacker can pivot to other systems in the network, especially if the host has access to other log sources or databases.

    🌍 Real World Impact

  • Confidentiality (High): The attacker can read all data processed by Cribl Stream, including sensitive logs, credentials, and personal information. The Leader service account likely has access to all Worker Groups and their data.
  • Integrity (High): The attacker can modify Cribl Stream configurations, pipelines, and routing rules. This could lead to data corruption, log tampering, or the introduction of malicious data into downstream systems.
  • Availability (High): The attacker can disrupt Cribl Stream operations, causing log loss or system crashes. They could also delete critical configuration files or data.
  • Scope (None): The impact is confined to the Cribl Stream instance and its direct data flows. It does not directly impact other systems unless the attacker uses the compromised host for lateral movement.
  • Practical Consequences:

  • Log Integrity Compromise: Attackers can tamper with logs to hide their tracks or inject false data.

  • Data Breach: Sensitive data in logs (e.g., API keys, passwords, PII) can be exfiltrated.

  • Supply Chain Risk: If Cribl Stream is used to process data for multiple downstream systems, the attacker can poison the data pipeline, affecting multiple systems.
  • 🛡️ Remediation & Mitigation

    1. Upgrade

  • Affected Version: Cribl Stream 4.20.4 (and likely earlier versions).
  • Recommendation: Upgrade to the latest version of Cribl Stream where this vulnerability is patched. Check Cribl's official security advisories for the specific fixed version. As of the CVE publication date (23.11.2026), a patch should be available.
  • 2. Workarounds

  • Restrict Leader API Access: If upgrading is not immediately possible, restrict network access to the Leader API. Only allow trusted IP addresses to access the Leader API endpoints.
  • Remove Read-Only Access: Revoke GroupRead access from any users or services that do not strictly require it. Ensure that only highly trusted accounts have any level of access to the Leader API.
  • Disable Expression Evaluation: If possible, disable any features that allow user-supplied expressions to be evaluated by the Leader API. This may involve disabling certain pipeline features or API endpoints.
  • Network Segmentation: Place Cribl Stream in a dedicated network segment with strict firewall rules. Ensure that the Leader API is not exposed to untrusted networks.
  • 3. Detection

  • Log Analysis: Monitor Cribl Stream logs for unusual API requests to the Leader API, especially those containing complex or nested expressions.
  • Process Monitoring: Monitor for unexpected child processes spawned by the Cribl Stream Leader service. Look for commands like id, whoami, curl, wget, or nc.
  • File Integrity Monitoring: Monitor Cribl Stream configuration files and web root for unauthorized changes.
  • Network Traffic: Monitor for unexpected outbound connections from the Cribl Stream host, especially to unknown external IPs.
  • Example Log Pattern (Illustrative):

    POST /api/leader/evaluate HTTP/1.1
    Content-Type: application/json
    Authorization: Bearer <TOKEN>
    
    {"expression": "(() => { return eval(\"process.mainModule.require(\\\"child_process\\\").execSync(\\\"id\\\")\"); })()"}

    IoCs:

  • Unusual API requests to /api/leader/ endpoints.

  • Execution of system commands by the Cribl Stream Leader process.

  • Unexpected outbound network connections from the Cribl Stream host.
  • ⚠️ Urgency

  • CVSS Score: 9.9 (Critical)
  • CISA KEV: No (as of the provided data)
  • Exploit Complexity: Low (requires only low-privilege credentials and a crafted expression)
  • Patching Priority: CRITICAL
This vulnerability allows for remote code execution with high privileges using only low-privilege credentials. It is easily exploitable and has a high impact on confidentiality, integrity, and availability. Organizations should prioritize patching this vulnerability immediately. If patching is not possible, implement the workarounds above as a temporary measure.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Cribl Cribl Stream"
CVSS Score
9.9 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Cribl:Cribl Stream (4.20.4)
References & Advisories (2)
Related CVEs
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.0
CVE-2026-126111
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-
8.5
CVE-2026-144446
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into genera
7.4
CVE-2026-61706
Infracost helps see cloud cost estimates for Terraform in pull requests. From version 4.0.0 to before version
7.3
CVE-2026-144776
A security flaw has been discovered in toss es-toolkit up to 1.53.0. Affected by this vulnerability is the fun
6.0
CVE-2026-61830
RabbitMQ Cluster Kubernetes Operator deploys and manages RabbitMQ clusters. Prior to version 2.21.0, a namespa
5.1
CVE-2026-144741
A security vulnerability has been detected in yinMrsir chunyu-cms up to 1.1.0. The affected element is the fun