Description
matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, it is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, which would then be run by the IRC bridge bot. Versions 1.0.1 and above are patched. There are no robust workarounds to the bug. One may disable dynamic channels in the config to disable the most common execution method but others may exist.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3
Patch x_refsource_misc
https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3
Release Notes x_refsource_misc
https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1
Scores
CVSS v3
5.8
EPSS
0.0018
EPSS Percentile
38.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
CWE-77
Status
published
Products (2)
matrix/matrix_irc_bridge
< 1.0.1
npm/matrix-appservice-irc
0 - 1.0.1npm
Published
Aug 04, 2023
Tracked Since
Feb 18, 2026