Skip to main content

rsyslog CVE-2026-93404

MEDIUM
2026-11-11
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted log message to collector
  2. Delivery
    Message routed to omclickhouse action
  3. Exploit
    Backslash escapes break stdSQL template
  4. Execution
    Injected SQL sent to ClickHouse
  5. Impact
    Forge records or evaluate expressions as DB account

Vulnerability Assessment

Exploitation Conditions

Requires the optional omclickhouse output module to be explicitly loaded (it is not loaded by default) and a ruleset action that writes to ClickHouse using the built-in INSERT template or a custom INSERT template with option.stdsql="on"; deployments on 8.1901.0 are exposed via both the built-in template (which lacked the required SQL mode) and custom stdSQL templates, while later releases are exposed through the vulnerable built-in stdSQL template. The attacker must be able to submit a log message that the configuration routes to that affected action. Exploitation is limited by these non-default prerequisites: installs without omclickhouse, or that do not route attacker-influenced messages to a ClickHouse action, are not affected; the impact is bounded by the privileges of the configured ClickHouse account. Interim limiting mitigations stated by the vendor are disabling the affected action or using a reviewed custom string/list template with option.sql="on" until a fixed build is deployed.

Impact

No CVSS vector was assigned by the vendor, who rated this High; EPSS is not provided, KEV status is not listed (no active exploitation), no public exploit is identified, and the vuln.today decision label is 'awaiting_data', so quantitative exploitation signals are absent and cannot be compared. The dominant risk modifier is configuration, not raw severity: the omclickhouse output module is not loaded by default, and only deployments that route ingested log messages to a ClickHouse action using either the built-in INSERT template or a custom INSERT template with option.stdsql="on" are affected. Where that configuration exists, the risk is meaningful because any sender able to get a log message routed to the affected action can alter the SQL sent to ClickHouse - forging stored records or evaluating expressions with the configured ClickHouse account's privileges - and log senders are frequently network-reachable and unauthenticated. The decision label is 'awaiting_data' rather than an act_now/emergency label, so there is no basis to treat this as an exploitation emergency; the honest posture is elevated-but-conditional priority, high for the narrow population running omclickhouse and negligible for the large majority of rsyslog installs that never load this module. Attack-vector inference carries uncertainty: the description says 'a sender able to submit a log message routed to an affected action' but does not confirm the transport, so whether the attacker is remote/unauthenticated depends on the operator's input configuration - verify against the actual listener and ruleset.

Exploit ScenarioDerived

An attacker who can submit a syslog message that the target's ruleset routes to an omclickhouse action embeds ClickHouse backslash-escape sequences in a field so the built-in (or stdSQL) INSERT template renders attacker-controlled SQL. The crafted message breaks out of the intended value and forges stored log records or evaluates expressions executed with the configured ClickHouse account's privileges. No public exploit code is identified, and the exact trigger string is not published in the available sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

SQL injection in rsyslog's optional omclickhouse output module allows a sender whose log messages are routed to a ClickHouse action to alter the SQL that rsyslog submits to ClickHouse, potentially forging stored log records or causing expressions to be evaluated with the privileges of the configured ClickHouse account. The module is not loaded by default, so only deployments from 8.1901.0 through pre-2026-11-11 daily stable that both load omclickhouse and route attacker-influenceable messages to an affected action are exposed - on 8.1901.0 through the built-in template (which lacked the required SQL mode) and custom stdSQL templates, and on later releases through the vulnerable built-in stdSQL template. No public exploit has been identified, KEV status is not listed and no EPSS value was provided; the vendor rated the issue High without assigning a CVSS vector, our assessment scores it CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, and the vuln.today decision label is 'awaiting_data'.

RemediationAI

The designated fixed-version label is the 2026-11-11 daily stable; the vendor explicitly notes this label does not establish that any particular binary package exists, so distributions and operators must verify their own build and package status, and the source patch and advisory were published independently of upstream merge and binary publication. Until a fixed build is deployed, the vendor's stated interim options are to disable the affected omclickhouse action, or to use a reviewed custom string or list template with option.sql="on" - plugin and subtree templates are rejected by the fix because their renderers bypass ordinary field escaping, so they cannot be used as a safe substitute. Note that disabling the action stops ClickHouse logging entirely for that ruleset, and any custom template must be reviewed to confirm it does not rely on the bypassing renderers. Details and the source fix are in the advisory at https://github.com/rsyslog/rsyslog/security/advisories/GHSA-8rx7-ww92-p4vr, with the disclosure thread at https://seclists.org/oss-sec/2026/q4/675.

Affected ProductsAI

rsyslog releases from 8.1901.0 through the pre-2026-11-11 daily stable are affected, but only when the optional omclickhouse output module is loaded and a ruleset action writes to ClickHouse using the built-in INSERT template or a custom INSERT template configured with option.stdsql="on". On 8.1901.0 this includes the built-in template, which lacked the required SQL mode, as well as custom stdSQL templates; in later releases the exposure is through the vulnerable built-in stdSQL template. No CPE identifiers were supplied with the advisory. Installations that do not load omclickhouse, or that never route attacker-influenceable messages to a ClickHouse action, are out of scope. The vendor advisory is GHSA-8rx7-ww92-p4vr (https://github.com/rsyslog/rsyslog/security/advisories/GHSA-8rx7-ww92-p4vr) with the disclosure mirrored at https://seclists.org/oss-sec/2026/q4/675.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the omclickhouse output module, which formats log records into ClickHouse INSERT statements through a template. The built-in ClickHouse INSERT template escaped SQL but did not account for ClickHouse's own backslash escape semantics, so a crafted log message could break out of the intended string context and change the statement sent to ClickHouse; the root cause is improper neutralisation of special elements in SQL commands, although the vendor did not assign a CWE identifier. Exposure depends on configuration: the module is not loaded by default, and the affected action must use either the built-in template or a custom INSERT template with option.stdsql="on" - in 8.1901.0 the built-in template lacked a required SQL mode while custom stdSQL templates were exposed, and later releases were exposed through the vulnerable built-in stdSQL template. The source fix makes the built-in template backslash-aware and requires custom string and list templates to set option.sql="on"; plugin and subtree templates are rejected by the fix because their renderers bypass ordinary field escaping. Because the injected SQL executes under the configured ClickHouse account, the assessed scope is changed (S:C) even though confidentiality and integrity impact are limited (C:L/I:L) and availability is not affected.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

vuln.today AI 7.2 HIGH

Log senders are typically network-reachable and unauthenticated (AV:N/PR:N); injection into a separate ClickHouse database is a scope change (S:C) with record forgery and privileged expression evaluation giving limited C/I.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 8.1 HIGH

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

Prevalence
Low
rsyslog is ubiquitous but the optional omclickhouse module is non-default and rarely deployed
Data Quality
1 sources
Confidence: Low
CVE.org Vendor

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy