{"schemaVersion":3,"id":"CVE-2025-27146","aliases":["GHSA-5mvm-89c9-9gm5"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-02-25T20:04:40.400Z","modified":"2025-02-25T20:33:36.095Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","exploitability":3.1,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00396,"percentile":0.32418,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00396},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00396,"percentile":0.32418}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00396,"percentile":0.32418}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"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.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","description":"The product constructs a string for a command to be executed by a separate component\nin another control sphere, but it does not properly delimit the\nintended arguments, options, or switches within that command string.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/88.html"}],"affected":[{"vendor":"matrix-org","product":"matrix-appservice-irc","name":"matrix-appservice-irc","label":"matrix-appservice-irc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.4","eol":null,"hubHref":"/vendor/matrix-org/matrix-appservice-irc"},{"vendor":"matrix","product":"matrix_irc_bridge","name":"matrix irc bridge","label":"matrix_irc_bridge","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.4","eol":null,"hubHref":"/vendor/matrix/matrix_irc_bridge"},{"vendor":"Npm","product":"matrix-appservice-irc","name":"matrix-appservice-irc","label":"matrix-appservice-irc","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/matrix-appservice-irc","purlType":"npm","versions":[{"text":"< 3.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-5mvm-89c9-9gm5","label":"github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-5mvm-89c9-9gm5","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd","label":"github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27146","label":"nvd.nist.gov/vuln/detail/CVE-2025-27146","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/matrix-org/matrix-appservice-irc","label":"github.com/matrix-org/matrix-appservice-irc","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-02-25T20:04:40.400Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-25T20:33:36.095Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:35:23.057Z","stale":false,"partial":false}}