Tag: IRC

Detecting UnrealIRCd CVE-2026-114713: 4 Sigma rules for label injection and its effects

Detecting UnrealIRCd CVE-2026-114713: 4 Sigma rules for label injection and its effects

Most exploited bugs I write rules for leave a web request in an access log and a weird child process on the box. CVE-2026-114713 leaves neither. An ordinary IRC user hides a line break inside an IRCv3 label tag, UnrealIRCd echoes it across a server link without re-escaping it, and the next server runs the smuggled line as if a trusted peer had sent it. I covered the bug, the patch and the hot-patch in my analysis of the bug; this post is the detection side.

The problem is that IRC daemons are not where most SOCs point their SIEM, and the exploit itself is invisible by default. What you get here is four Sigma rules built on UnrealIRCd’s own JSON log, one of them a tripwire based on the project’s workaround, plus an honest list of what none of them can see.

At a glance

  • Rules: 4 (1 emerging threat, 2 generic TTP, 1 hunting)
  • Domain: Web/App (the daemon’s own application log)
  • Log source: UnrealIRCd 6 log block with type json, subsystems tkl, kill, link and nick, collected from every server in the network
  • ATT&CK: T1190 Exploit Public-Facing Application (Initial Access), T1531 Account Access Removal (Impact)
  • Status: one rule test (vendor workaround string plus documented log event), three experimental (my inference about how injected commands show up)
  • IOCs: none published by the project, CISA or the press as of November 15, 2026, so none are used
  • YAML: Detection Rules/Web-App on GitHub

The case in brief

The attacker needs a normal client connection to any server of a network with two or more linked UnrealIRCd servers (6.0.0 to 6.2.7, and the end-of-life version 5). They send a command with a label tag whose value contains an escaped line break. The labeled-response module writes that label back without escaping it, the line crosses a server-to-server link, and the receiving server splits it in two. The second half runs with server authority. The advisory names KILL and GLINE as examples; nobody has published which commands real attackers used since exploitation was reported on November 9, 2026. The full story is in the analysis.

For detection, three facts matter. Message tags are not logged, so the malformed label is invisible unless the project’s spamfilter workaround is loaded. The injected line executes on the server that receives it, which may be a leaf run by a volunteer you don’t collect logs from. And the effects (kills, network bans) are logged on every server, but some of their fields, like who set a ban, come from the injected line and can be forged.

Detection map

Block diagram: four UnrealIRCd JSON log event types feed four Sigma rules (invalid label blocked, high; KILL from a server, medium; malformed server-to-server commands, medium; network ban added, low), mapped to T1190 and T1531, with a gap for unpatched servers without the spamfilter.
Telemetry, rules and ATT&CK coverage for CVE-2026-114713. Rules 2 to 4 are experimental.

Read it left to right. Four event types from the same JSON log feed four rules. The high-severity rule catches the attempt itself, but only on servers carrying the workaround filter. The two medium rules catch side effects: a KILL whose source is a server, and a linked server sending protocol commands that UnrealIRCd 6 rejects. The low rule is a hunting list of every network ban. The dashed box is the gap that matters most: an unpatched server without the filter gives you nothing at the moment of exploitation.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
Label injection blocked by workaround spamfilterWeb/Appunrealircd / application (tkl)Initial Access / T1190Hightest
KILL issued by a server instead of an operator or services nickWeb/Appunrealircd / application (kill)Impact / T1531Mediumexperimental
Server link sent malformed or legacy protocol commandsWeb/Appunrealircd / application (link, nick)Initial Access / T1190Mediumexperimental
Network ban or shun added (hunting)Web/Appunrealircd / application (tkl)Impact / T1531Lowexperimental

The rules

All four use the field names from UnrealIRCd’s JSON logging documentation: subsystem, event_id and msg on every event, plus a client object for whoever performed the action. The product: unrealircd log source is not in any stock sigma-cli pipeline, so expect to add a small field mapping for your SIEM.

UnrealIRCd CVE-2026-114713 label injection blocked by workaround spamfilter

Context: the project’s first mitigation step is a network-wide spamfilter on message tags that blocks any label= value containing CR, LF, a semicolon or a space after unescaping. UnrealIRCd logs every spamfilter hit as tkl.SPAMFILTER_MATCH, which turns the workaround into a sensor. This is the only rule that sees the attempt rather than its effects.

Condition: alert when a spamfilter match is logged and the message names the advisory’s filter (its text starts with ^label=) or its reason. The spamfilter documentation says underscores in a reason become spaces, so Invalid_label should be logged as “Invalid label”. I match both spellings because I have not seen a real log line from this filter.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: UnrealIRCd CVE-2026-114713 Label Injection Blocked by Workaround Spamfilter
id: ec7bc0ea-16eb-4a06-9571-437e3d2859ec
status: test
description: |
    Detects a hit on the vendor-published spamfilter workaround for CVE-2026-114713, which blocks
    IRCv3 label tags that contain CR, LF, a semicolon or a space after unescaping. No legitimate
    client needs such a label, so a hit is a client trying to inject server-to-server commands.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://www.unrealircd.org/docs/Spamfilter
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-114713
    - detection.emerging-threats
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json (fields subsystem, event_id, msg); spamfilter from the advisory applied network-wide'
detection:
    selection_event:
        subsystem: 'tkl'
        event_id: 'SPAMFILTER_MATCH'
    selection_label:
        - msg|contains: "matches filter '^label="
        - msg|contains:
              - '[reason: Invalid label]'
              - '[reason: Invalid_label]'
    condition: all of selection_*
falsepositives:
    - A buggy client or bot library that sends spaces or semicolons in labels without escaping them (rare; check the client version string)
    - IRCOps testing the spamfilter after deploying it
level: high

View on GitHub

False positives and tuning: a client library that puts raw spaces or semicolons in labels would trip it, but labels are opaque tokens clients generate themselves, and I would expect short alphanumeric strings. Check the client’s version reply before dismissing a hit. Opers testing the filter right after deploying it will also show up; note the time. The rule only works where the filter exists, which needs every server on 6.0.4 or newer.

How to test: on two linked lab servers running 6.2.7.1 with the filter applied, send any command whose label contains an escaped space (\s). A patched server treats it as harmless, but it matches the filter and should produce exactly one SPAMFILTER_MATCH event.

UnrealIRCd KILL issued by a server instead of an operator or services nick

Context: KILL is the first example of abuse the advisory gives. On a healthy UnrealIRCd 6 network, kills come from opers and services, both of which act through a nickname. A KILL whose source is a server is exactly the shape I’d expect when a command arrives through a hijacked link. This is my inference about how the injected KILL is logged; no source has published a log sample from an attack.

Condition: alert on kill.KILL_COMMAND when the killer’s name (client.name) contains a dot, unless it is your services server. IRC nicknames cannot contain dots and server names must, so the dot is a cheap way to tell the two apart without depending on nested JSON objects.

ATT&CK: Impact (TA0040) – T1531 Account Access Removal.

title: UnrealIRCd KILL Issued by a Server Instead of an Operator or Services Nick
id: 99cd63d6-2495-4f13-a2a8-aa68cb669a55
status: experimental
description: |
    Detects a KILL whose source is a server name rather than a user. Opers and services kill with a
    nickname; a KILL sourced from a server is unusual on a modern UnrealIRCd 6 network and is the kind of
    command an attacker gains by injecting lines into a server link, as with CVE-2026-114713.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/JSON_logging
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.impact
    - attack.t1531
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json; client is the killer, target is the victim'
detection:
    selection_event:
        subsystem: 'kill'
        event_id: 'KILL_COMMAND'
    selection_server_source:
        # Nicknames cannot contain a dot, server names must: a dot means the KILL came from a server
        client.name|contains: '.'
    filter_optional_services:
        # Replace with the server name(s) of your services package if it kills from its server name
        client.name: 'services.example.invalid'
    condition: all of selection_* and not 1 of filter_optional_*
falsepositives:
    - Services packages (Anope, Atheme) that issue kills from the services server name, for example on nick enforcement or akill
    - Server-side kills from older or mixed-version links during netsplits and collisions
level: medium

View on GitHub

False positives and tuning: services packages such as Anope or Atheme may issue kills from their server name during nick enforcement. Replace the placeholder services.example.invalid with your services server name, or drop the filter and suppress by name in the SIEM. If the attacker forges a nickname prefix on the injected line, this rule misses it; that is why the hunting rule further down exists.

How to test: replay a synthetic JSON event built from the documented KILL_COMMAND format with client.name set to a lab server name, and confirm it fires. Then /KILL a test client as a lab oper and confirm it does not.

UnrealIRCd server link sent malformed or legacy protocol commands

Context: an injected line has to be valid server protocol to do anything useful. Attackers who copy commands from old documentation or older IRCd versions will get them wrong, and UnrealIRCd 6 logs specific events when a linked server tries to introduce a server or user the old way, uses a bad UID or introduces a bad nick. Between two healthy UnrealIRCd 6 servers those events should not happen. This catches the clumsy attempts, not the careful ones.

Condition: alert on any of LINK_OLD_PROTOCOL, LINK_OLD_PROTOCOL_NICK, BAD_UID or BAD_NICK_REMOTE.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: UnrealIRCd Server Link Sent Malformed or Legacy Protocol Commands
id: 583e1e44-70ae-4592-9178-14607f6d2d08
status: experimental
description: |
    Detects UnrealIRCd rejecting protocol commands from a linked server: legacy SERVER or NICK
    introductions, a bad UID or a bad remote nick. Between healthy UnrealIRCd 6 servers these should not
    happen, and lines injected into a server link (CVE-2026-114713) by a careless attacker can trigger them.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json, subsystems link and nick logged'
detection:
    selection:
        event_id:
            - 'LINK_OLD_PROTOCOL'
            - 'LINK_OLD_PROTOCOL_NICK'
            - 'BAD_UID'
            - 'BAD_NICK_REMOTE'
    condition: selection
falsepositives:
    - A misconfigured or very old server or services package being linked for the first time
    - Third-party IRCd or pseudo-server software with protocol bugs
level: medium

View on GitHub

False positives and tuning: linking a new or misconfigured server or services package for the first time can produce these, as can third-party pseudo-servers with protocol bugs. Suppress during planned link work, and treat a hit from a long-established link as worth a phone call to whoever runs that server.

How to test: replay synthetic events for each event ID, or link a lab pseudo-server that deliberately introduces a user with the legacy NICK form.

UnrealIRCd network ban or shun added (hunting)

Context: GLINE is the advisory’s other example. A network ban against legitimate users, or against your own opers, is one of the most damaging things an attacker can do with server authority. The catch is that the “set by” field travels inside the server command, so an injected ban can claim to come from any oper. You cannot alert on the field; you can only review it.

Condition: return every tkl.TKL_ADD and TKL_ADD_TEMPSHUN event whose message mentions a G-Line, Z-Line or Shun. Then aggregate by the set-by value and hour, and compare against who was actually opered up (oper.OPER_SUCCESS) at that time.

ATT&CK: Impact (TA0040) – T1531 Account Access Removal.

title: UnrealIRCd Network Ban or Shun Added - Hunting
id: 620c1da5-96b9-4c60-936c-b88796576bb1
status: experimental
description: |
    Surfaces every G-Line, Z-Line, Shun and temporary shun added on the network, for review against the
    oper roster and for burst counting. Network-wide bans are one of the server-authority actions an
    attacker gets through CVE-2026-114713, and the set_by value can be forged in an injected line.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.impact
    - attack.t1531
    - detection.threat-hunting
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json, subsystem tkl logged'
detection:
    selection_event:
        subsystem: 'tkl'
        event_id:
            - 'TKL_ADD'
            - 'TKL_ADD_TEMPSHUN'
    selection_type:
        msg|contains:
            - 'G-Line'
            - 'Z-Line'
            - 'Shun'
    condition: all of selection_*
falsepositives:
    - Normal oper and services ban activity (this is a hunting rule; aggregate by set_by and hour and review)
    - Spamfilter, blacklist and connect-flood actions that place automatic bans
level: low

View on GitHub

False positives and tuning: this is noisy by design. Automatic bans from spamfilters, DNS blacklists and flood protection land here too. Baseline a normal week, then alert only on bursts above it, bans whose set-by names an oper who was not online, and bans that match your own opers’ hosts.

How to test: as a lab oper, add a G-Line and a shun on a test mask and confirm both come back.

Coverage and gaps

Step in caseTacticTechniqueRuleCovered?
Malformed label sent by a clientInitial Access (TA0001)T1190Spamfilter ruleYes, only with the workaround loaded
Injected line breaks server protocolInitial Access (TA0001)T1190Link protocol rulePartial, careless injections only
Users killed with server authorityImpact (TA0040)T1531Server KILL ruleYes, if logged with a server source
Network bans setImpact (TA0040)T1531Ban hunting ruleHunting only, set-by can be forged
Exploitation on a server without the filterInitial Access (TA0001)T1190NoneGap: tags not logged, traffic usually TLS
Other server-authority commandsNot mappedNot mappedNoneGap: no source says which commands were used

The biggest blind spot is the moment of exploitation on a server without the filter. UnrealIRCd does not log message tags, the fix escapes the label without logging anything, and client connections mostly run over TLS on port 6697. On plaintext 6667 a Suricata rule looking for escape sequences inside a label= value would work, but that is a packet rule, not Sigma. The second blind spot is anything an attacker does with server authority beyond kills and bans: mode changes, channel takeovers, forced nick changes. Without published attack details I won’t guess at those. The practical way to close the first gap is to keep the spamfilter on every server even after patching.

Deploying the rules

First, make sure every server writes a JSON log. A log block with a file destination set to type json and source { !debug; all; } covers all four rules; ship it with whatever agent you already run. Then clone the repo and convert. The unrealircd product has no stock pipeline, so pass a small custom pipeline that maps the log source to your index and keeps the field names as they are:

git clone https://github.com/nhupham21/detection-rules.git
cd "detection-rules/Detection Rules/Web-App"

# Splunk, with your own pipeline mapping product unrealircd to the right index/sourcetype
sigma convert -t splunk -p unrealircd_pipeline.yml unrealircd_*.yml

# Elastic (Lucene), JSON fields kept as ingested
sigma convert -t lucene -p unrealircd_pipeline.yml unrealircd_*.yml

If your logs land as text rather than JSON, the event IDs and message strings still work as keyword searches on the raw line; check one of your own lines first, because the field-based rules assume JSON. Run everything in alert-only mode for a week before it pages anyone; the KILL and ban rules need a baseline of your services’ behaviour.

My take

Honestly, this one is hard to detect, and I’d rather say that than pretend four rules solve it. The bug lives in the gap between “a client sent a tag” and “a server ran a command”, and neither side of that gap is logged in a way that ties them together. The spamfilter rule is the one I’d turn on first, and the reason it is good is that the project built a sensor into its own workaround, probably without meaning to.

What I’d like from UnrealIRCd, and from any daemon that relays lines between trusted peers, is a log event when a server link delivers a command whose origin does not match the link it came in on, and a debug-level option to log rejected or malformed message tags. Both are cheap and both would have made this case far easier to hunt. Until then, the most useful detection work for IRC networks is boring: get JSON logs off every linked server, including the leaf in someone’s closet, and keep them long enough to look back past November 7.

Sources

UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

One line break. That is the whole distance between an anonymous user on your IRC network and a command your servers obey as if it came from one of their own. CVE-2026-114713 lets any ordinary user on an UnrealIRCd network smuggle a newline through the IRCv3 label tag and into the traffic between linked servers, where it turns into a KILL, a GLINE or anything else a server is allowed to do.

The maintainer calls it the most critical UnrealIRCd issue in 15 years. A fix shipped on November 7, 2026, exploitation was reported two days later, and CISA added it to the Known Exploited Vulnerabilities catalog on November 13 with a due date of November 16. Severity: high on paper (CVSS 8.6), but if you run a multi-server network, treat it as an emergency. The good news is that most UnrealIRCd 6 servers can be fixed without a restart.

At a glance

  • CVE: CVE-2026-114713 (CWE-140, improper neutralization of delimiters)
  • CVSS 3.1: 8.6, AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N in the CVE record (VulDB lists 7.3)
  • Affected: UnrealIRCd 6.0.0 through 6.2.7; UnrealIRCd 5 (end of life since July 1, 2023) is also affected; 3.2.x and 4 were not checked
  • Precondition: a network with two or more linked servers; the attacker only needs a normal client connection
  • Exploitation: the project reported active exploitation on November 9, 2026; in CISA KEV since November 13, 2026
  • Fix: 6.2.7.1, or hot-patch bundle-20261107 (no restart, not on Windows); spamfilter workaround for 6.0.4+; module blacklist for v5
  • Who should care: anyone running a linked UnrealIRCd network, which covers a lot of community, open-source and hobby IRC

What we know

On November 4, 2026, UnrealIRCd lead developer Bram Matthys (Syzop) pre-announced a security release for November 7 at 15:00 UTC and asked admins to test the hot-patch mechanism in advance. That is the project’s documented playbook for very grave issues, and it was the right call here. Version 6.2.7.1 landed on schedule and fixes nine security issues, one of them critical.

The advisory posted to oss-security on November 8 describes the critical one plainly: an escaping bug in the implementation of the IRCv3 label message tag lets any user inject newlines and other characters into server-to-server traffic, and execute commands with server authority. The CVE record, published the same day, pins it to the labeled-response module, which does not escape the label when echoing it into replies.

On November 9, the project updated its forum advisory with a short, unambiguous line, as quoted by both SecurityOnline and Daily Security Review:

We are seeing bad guys exploiting this issue on the internet right now.

UnrealIRCd forum advisory, November 9, 2026 (via SecurityOnline)

CISA followed on November 13 (KEV catalog version 2026.11.13), listing it as “UnrealIRCd Improper Neutralization of Delimiters Vulnerability” with a November 16 due date and ransomware use marked unknown. As of November 14, a GitHub repository describing itself as a proof of concept is also indexed by exploit aggregators. I have not reviewed it and won’t link it.

What nobody has published: who is exploiting it, how many networks were hit, what commands were run, or any indicators of compromise. The project found the bug itself during an internal audit done “with the help of AI”, and credits no outside reporter.

Timeline: Nov 4 pre-announcement, Nov 7 release of 6.2.7.1 and hot-patch, Nov 8 advisory and CVE, Nov 9 exploitation reported, Nov 13 added to CISA KEV with Nov 16 due date.
Nine days from pre-announcement to the KEV catalog.

How it works

IRC is a line-based text protocol. Every message ends with CR LF, and the receiver splits the byte stream on those characters before parsing anything. IRCv3 message tags bolt metadata onto the front of a line (@key=value;key2=value2), and because a tag value could contain a semicolon, space or line break, the message-tags spec defines escapes: \: for a semicolon, \s for a space, \r and \n for CR and LF. On input you unescape; on output you must escape again.

The labeled-response extension lets a client tag a command with an opaque label of up to 64 bytes, and the server must echo the same label back on whatever reply that command produces. So the server takes a client-controlled string and writes it back onto the wire. If the echo path skips the re-escaping step, a label that contained an escaped line break comes out the other side as a real one.

On a single server, that would mostly be a client-side annoyance. On a linked network, replies and labeled commands travel between servers, and the CVE record is explicit that two or more linked servers are required. Once a raw newline lands in a server-to-server stream, the receiving server sees two lines. The second line is whatever the attacker wrote, and it arrives over a link that is fully trusted: servers are allowed to kill users, set network-wide bans and change state on behalf of anyone. That is why CVSS marks the scope as changed. The bug lives in one server’s tag handling, but the damage lands on every server that trusts the link.

That is the mechanism at the level the advisory, CVE record and spec support. The exact code path in labeled-response.c isn’t public in detail, and you don’t need it to defend.

Four-step flow: an ordinary user sends a labeled command, the label hides a line break, the server echoes it without re-escaping, and the linked server runs the injected line with server authority.
Conceptual chain based on the advisory, CVE record and IRCv3 specs; exact code path not published.

The bug class is old. CRLF injection (CWE-93) is the same family as HTTP response splitting, SMTP header injection and log forging: a text protocol uses an in-band delimiter, and somewhere a value crosses from “data” to “framing” without being neutralized. What makes this instance nasty is where the line lands. In HTTP, response splitting poisons one response. Here, the split line is executed by a peer whose whole trust model assumes the other end is a fellow server.

The project’s own workaround tells you what the fix looks like. The spamfilter rule blocks any label= value that contains CR, LF, a semicolon or a space after unescaping. Those are exactly the characters the spec says must never appear raw inside a tag value.

Who is affected and how badly

The exposure is narrower than “every UnrealIRCd server” and nastier than an 8.6 suggests. Narrower, because a single standalone server is outside the CVE record’s described scenario. Nastier, because most UnrealIRCd deployments that matter are linked networks, most accept connections from anyone on the internet, and the attacker needs nothing but a client that can send a tag. No account, no oper status, no user interaction.

What an attacker gets is integrity, not code execution on the host, at least as far as anything published says. Server authority on IRC still means a lot: killing users, setting G-lines (network-wide bans) against legitimate people, and generally taking over or wrecking the network’s control plane. Daily Security Review notes it is unknown whether the attacks seen so far were mass disruption or targeted. I’d assume both are possible and plan for the worse one.

UnrealIRCd 5 deserves its own sentence. It reached end of life on July 1, 2023, it is affected, and it gets no patch. The advisory also warns that many of the bugs fixed in 6.2.7.1 probably go back to 3.2.x, which was never checked.

What to do now

Follow the project’s order. It’s built so you are protected within minutes, then fixed properly.

  1. Apply the network-wide spamfilter as an IRCOp. It only protects you if every server is on 6.0.4 or newer, and it does nothing for the other eight issues. The rule from the advisory is below.
  2. Hot-patch every server on 6.0.0 to 6.2.7 with ./unrealircd hot-patch bundle-20261107. Success prints “Patch installed and server rehashed correctly.” (older versions print “Done! All should be good now.”).
  3. If the hot-patch fails, or you run Windows, upgrade to 6.2.7.1 (./unrealircd upgrade on *NIX) and restart.
  4. Verify on every server with ./unrealircd module-status | grep labeled-response (6.0.2 and later) or MODULE -all as an IRCOp. You want 5.0-hot-patch-bundle-20261107 or 6.2.7.1. A bare 5.0 means the patch is not loaded.
  5. On UnrealIRCd 5, add blacklist-module "labeled-response"; on all servers and restart them. A rehash is not enough. Then plan the move to 6.
  6. Every linked server counts. One unpatched leaf is enough for the network to be at risk, so chase down the box a volunteer runs in a closet somewhere.
SPAMFILTER add -regex T block - Invalid_label ^label=(?![^\r\n;\x20]*\z)

If you are a US federal agency running this (unlikely, but KEV applies to you), the due date is November 16, 2026, and CISA’s required action also points at BOD 26-04 forensic triage.

Detection and monitoring

There are no published IOCs, so this is about effects, not signatures. You can catch two moments: the malformed label arriving (only if the spamfilter workaround is loaded, because UnrealIRCd does not log message tags otherwise) and the server-authority actions that follow, such as kills and network bans. Both live in the daemon’s own log. The rules below assume an UnrealIRCd 6 log block writing type json on every server in the network, since the injected line runs on the server that receives it, not the one the attacker connected to.

RuleCategoryLog sourceATT&CKLevel
Label injection blocked by workaround spamfilterEmerging threatUnrealIRCd JSON log, tklT1190High
KILL issued by a server, not a nickGeneric TTPUnrealIRCd JSON log, killT1531Medium
Server link sent malformed protocol commandsGeneric TTPUnrealIRCd JSON log, link/nickT1190Medium
Network ban or shun added (hunting)HuntingUnrealIRCd JSON log, tklT1531Low
Block diagram: four UnrealIRCd JSON log event types feed four Sigma rules (invalid label blocked, high; KILL from a server, medium; malformed server-to-server commands, medium; network ban added, low), mapped to T1190 and T1531, with a gap for unpatched servers without the spamfilter.
The four detection rules for CVE-2026-114713 and what they cover. Rules 2 to 4 are experimental.

The one I’d turn on first is the spamfilter rule. The advisory’s filter blocks any label= value that contains CR, LF, a semicolon or a space after unescaping, and every hit is logged as a SPAMFILTER_MATCH event. No legitimate client needs such a label, so a hit means someone tried. The rule matches either the filter text or its reason (UnrealIRCd turns the underscore in Invalid_label into a space when it logs the reason).

title: UnrealIRCd CVE-2026-114713 Label Injection Blocked by Workaround Spamfilter
id: ec7bc0ea-16eb-4a06-9571-437e3d2859ec
status: test
description: |
    Detects a hit on the vendor-published spamfilter workaround for CVE-2026-114713, which blocks
    IRCv3 label tags that contain CR, LF, a semicolon or a space after unescaping. No legitimate
    client needs such a label, so a hit is a client trying to inject server-to-server commands.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://www.unrealircd.org/docs/Spamfilter
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-114713
    - detection.emerging-threats
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json (fields subsystem, event_id, msg); spamfilter from the advisory applied network-wide'
detection:
    selection_event:
        subsystem: 'tkl'
        event_id: 'SPAMFILTER_MATCH'
    selection_label:
        - msg|contains: "matches filter '^label="
        - msg|contains:
              - '[reason: Invalid label]'
              - '[reason: Invalid_label]'
    condition: all of selection_*
falsepositives:
    - A buggy client or bot library that sends spaces or semicolons in labels without escaping them (rare; check the client version string)
    - IRCOps testing the spamfilter after deploying it
level: high

After patching, keep watching. The fix escapes the label silently, so a patched server without the filter logs nothing about attempts; leave the filter in place as a tripwire. Retro-hunt every KILL, G-Line, Z-Line and shun from November 7, 2026 (when the fix went public) back as far as your logs reach, and treat bans whose set_by nobody on your oper team recognises as suspect. Keep in mind that an injected line can forge that field, so check it against who was actually opered up at the time. There are no IOCs to age out, which also means there is nothing to block on.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

This is underrated by anyone who thinks IRC is a museum piece, and correctly rated as a fire by the people who run it. The 8.6 score undersells it for a linked network, because “integrity: high” here means an anonymous stranger can act as your server. I’d have applied the spamfilter within the hour and hot-patched the same evening.

The bigger lesson is about trust between peers in text protocols. Server links, mail relays, message brokers and SIP trunks all accept lines from a “trusted” neighbour and act on them. Each time one of those neighbours echoes user data without re-escaping the delimiter, the trust boundary collapses to a single byte. If you maintain anything that frames messages with in-band delimiters, the cheapest audit you can run this week is to find every place you write a client-controlled value back onto the wire and check that it is escaped there, not only where it came in.

Credit where it’s due: the project handled this well. Pre-announcement with a fixed time, a workaround that protects in minutes, a hot-patch that avoids disconnecting every user, and an explicit verification step. Plenty of commercial vendors with far bigger budgets don’t do half of that.

The part I keep thinking about is the maintainer’s warning: he found this with AI-assisted auditing he has used since February 2026, and he points out that EOL and rarely-updated daemons have not had that scrutiny yet, from defenders or otherwise. That is an argument for retiring UnrealIRCd 5 now, and a hint that the next quiet bug in an old network daemon may be found by someone less friendly.

Sources