CVE-2025-27146: matrix-org matrix-appservice-irc Command Injection
Vulnerability summary
CVE-2025-27146 is a medium (CVSS 4.3) Command Injection vulnerability in matrix-org matrix-appservice-irc. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.3% of scored vulnerabilities.
Timeline
- 25-02-2025PublishedVulnerability first disclosed.
- 25-02-2025Last modifiedVulnerability information updated.
Description
matrix-appservice-irc is a Node.js IRC bridge for Matrix. The matrix-appservice-irc bridge up to version 3.0.3 contains a vulnerability which can lead to arbitrary IRC command execution as the puppeted user. The attacker can only inject commands executed as their own IRC user. The vulnerability has been patched in matrix-appservice-irc version 3.0.4.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.40% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
- CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected systems
Matrix1 product
- matrix_irc_bridge< 3.0.4
Matrix-org1 product
- matrix-appservice-irc< 3.0.4
Npm1 product
- matrix-appservice-irc< 3.0.4
3 vendors · 3 products
References
4 links- github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-5mvm-89c9-9gm5X Refsource CONFIRMWEBVendor Advisory
- github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bdX Refsource MISCWEBPatch