{"id":"CVE-2025-27146","published":"2025-02-25T20:04:40Z","modified":"2025-02-25T20:33:36Z","title":"Matrix IRC Bridge allows IRC command injection to own puppeted user","vendor":"matrix-org","product":"matrix-appservice-irc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00754,"percentile":0.51292,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-5mvm-89c9-9gm5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":10.26},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"matrix-appservice-irc","versions":["< 3.0.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T20:30:53.918731Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"matrix-appservice-irc","vulnerableRanges":["<3.0.4"],"patched":["3.0.4"],"from":["GHSA-5mvm-89c9-9gm5"],"provenance":"source"}],"summary":{"text":"The flaw is an IRC command injection vulnerability in the matrix-appservice-irc bridge, a Node.js IRC bridge for Matrix, in versions up to 3.0.3. It allows an attacker to execute arbitrary IRC commands, though only as the IRC user the attacker themselves is puppeted to. Exploitation requires an attacker with high-privilege access to the bridge (the attack vector and privileges listed are network-reachable with privileges required), and the injected commands are limited to the attacker's own puppeted identity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:25Z"},"euvd":{"id":"EUVD-2025-5368","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-matrix-org-matrix-appservice-irc-cve-2023-38690","parents":[{"from":"CVE-2023-38690","to":"CVE-2025-27146","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/irc/BridgedClient.ts"],"commits":["https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3","https://github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd"],"basis":"shared function","functions":["BridgedClient"]}]}]}}