Skip to content
Heist/ feed
Back to feed
Low

Matrix IRC Bridge allows IRC command injection to own puppeted user

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-27146
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:42 UTC · Revision 1

Source evidence

Matrix IRC Bridge allows IRC command injection to own puppeted user

core-osv · Original source

Published 25 Feb 2025, 20:04 UTC

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.

osv:CVE-2025-27146
Complete source record
{
  "id": "3effc1c4ac3bcc38735591a512a909cf85977287bf90058264f20b51e119c4c7",
  "url": "https://osv.dev/vulnerability/CVE-2025-27146",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Matrix IRC Bridge allows IRC command injection to own puppeted user",
    "summary": "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.",
    "evidence": "osv:CVE-2025-27146",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-27146",
      "aliases": [
        "CVE-2025-27146",
        "GHSA-5mvm-89c9-9gm5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/matrix-org/matrix-appservice-irc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "eb7e062f80c2140109bb7dae8123f938ac444882"
                },
                {
                  "fixed": "74f02c8e11f16ed1b355700092c1aa9c036a11bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "74f02c8e11f16ed1b355700092c1aa9c036a11bd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "v3.0.0-rc1",
            "3.0.0-rc1",
            "2.0.1",
            "2.0.0",
            "1.0.1",
            "1.0.0",
            "1.0.0-rc1",
            "0.37.1",
            "0.36.0",
            "0.33.1",
            "0.33.0",
            "0.33.0-rc2",
            "0.32.0",
            "0.32.0-rc2",
            "0.32.0-rc1",
            "0.31.0",
            "0.31.0-rc1",
            "0.27.0",
            "0.27.0-rc3",
            "0.27.0-rc2",
            "0.27.0-rc1",
            "0.25.0-rc1",
            "0.24.0",
            "0.24.0-rc1",
            "0.23.0-fosdem",
            "0.23.0",
            "0.23.0-rc1",
            "0.22.0",
            "0.22.0-rc1",
            "0.21.0",
            "0.21.0-rc3",
            "0.20.2",
            "develop-2019-02-17",
            "0.15.2",
            "0.14.0-rc4",
            "0.14.0-rc3",
            "0.14.0-rc2",
            "0.14.0-rc1",
            "develop-2019-11-28",
            "develop-2019-11-26",
            "develop-2019-11-15",
            "develop-2019-11-12",
            "matrix-org-testing",
            "0.10.1",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-rc1",
            "0.7.1",
            "0.7.0",
            "0.5.0",
            "0.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27146.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.031633018Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27146.json",
        "https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-5mvm-89c9-9gm5",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-27146",
        "https://github.com/matrix-org/matrix-appservice-irc/commit/74f02c8e11f16ed1b355700092c1aa9c036a11bd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77",
          "CWE-88"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27146.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-27146",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503216,
  "published_at": "2025-02-25T20:04:40.4+00:00"
}