CVE-2026-93404

rsyslog: rsyslog omclickhouse SQL injection

Published n/a CVSS 3.1 · 8.1 High EPSS n/a KEV · Not listed
Description
A flaw was found in rsyslog. The built-in ClickHouse output templates fail to properly escape backslash characters when formatting Structured Query Language (SQL) queries. An attacker capable of submitting crafted log messages routed to an affected ClickHouse action can exploit this issue to alter executed SQL commands, potentially leading to unauthorized database modification or information disclosure.

Analysis

AI-generated

Technical impact

A flaw in rsyslog’s built‑in ClickHouse output templates fails to escape backslash characters when constructing Structured Query Language statements. An attacker who can inject crafted log messages that are routed to the affected ClickHouse action may alter the generated SQL commands, enabling unauthorized modification of database records or disclosure of sensitive data.

Affected Systems

The vulnerability resides in the rsyslog system, specifically the omclickhouse output module. Any deployment that uses rsyslog together with ClickHouse output to forward logs and has not applied a correction is affected. No specific version information is provided in the entry.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers likely need the ability to submit log messages that flow through rsyslog’s ClickHouse module; once the message is processed, the injected backslashes can change the intended SQL statement, potentially leading to data tampering or information leakage. The exploitation path is therefore an attacker-controlled log source combined with a permissive logging configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update rsyslog to a version that corrects the SQL‑escaping bug in the omclickhouse module.
  • If an update is not immediately possible, disable or tightly restrict the omclickhouse output so that only trusted sources can send logs through it, and apply input filtering to user‑supplied log data.
  • Configure ClickHouse with the least privilege principle, monitor for anomalous SQL activity, and consider isolating the rsyslog‑ClickHouse interface in a separate network zone to reduce impact.

Generated by OpenCVE AI on November 14, 2026 at 01:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Rsyslog
Rsyslog rsyslog
Vendors & Products Rsyslog
Rsyslog rsyslog
Type Values Removed Values Added
Description A flaw was found in rsyslog. The built-in ClickHouse output templates fail to properly escape backslash characters when formatting Structured Query Language (SQL) queries. An attacker capable of submitting crafted log messages routed to an affected ClickHouse action can exploit this issue to alter executed SQL commands, potentially leading to unauthorized database modification or information disclosure.
Title rsyslog: rsyslog omclickhouse SQL injection
Weaknesses CWE-89
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources