BreachSpiderVerified, not vibes

CVE-2022-39202 in Matrix Irc Bridge

Medium 6.3

matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. The Internet Relay Chat (IRC) protocol allows you to specify multiple modes in a single mode command. Due to a bug in the underlying matrix-org/node-irc library, affected versions of matrix-appservice-irc perform parsing of such modes incorrectly...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.3
EPSS0.8%
EPSS percentile52th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Matrix Matrix Irc Bridge < 0.35.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. The Internet Relay Chat (IRC) protocol allows you to specify multiple modes in a single mode command. Due to a bug in the underlying matrix-org/node-irc library, affected versions of matrix-appservice-irc perform parsing of such modes incorrectly, potentially resulting in the wrong user being given permissions. Mode commands can only be executed by privileged users, so this can only be abused if an operator is tricked into running the command on behalf of an attacker. The vulnerability has been patched in matrix-appservice-irc 0.35.0. As a workaround users should refrain from entering mode commands suggested by untrusted users. Avoid using multiple modes in a single command.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-39202
BreachSpider IDBS-2022-GLOBAL-065913-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Published2022-09-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-269: Improper Privilege Management

Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.

Related attack patterns (CAPEC)

CAPEC-58 Restful Privilege Elevation via CWE-269

CAPEC-122 Privilege Abuse via CWE-269

CAPEC-233 Privilege Escalation via CWE-269

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in matrix-appservice-irc, an open source Node.js IRC bridge for Matrix, due to incorrect parsing of multiple modes in a single mode command in the underlying matrix-org/node-irc library, could result in incorrect user permissions being assigned.

An attacker could exploit this vulnerability by sending specially crafted mode commands to the IRC server through the matrix-appservice-irc bridge, potentially granting unintended permissions to users.

Questions

What is CVE-2022-39202?

A vulnerability in matrix-appservice-irc, an open source Node.js IRC bridge for Matrix, due to incorrect parsing of multiple modes in a single mode command in the underlying matrix-org/node-irc library, could result in incorrect user permissions being assigned.

What is the CVSS score for CVE-2022-39202?

CVE-2022-39202 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L. EPSS: 0.8%.

Is CVE-2022-39202 actively exploited?

No confirmed active exploitation of CVE-2022-39202 as of 2026-09-25.

How do I remediate CVE-2022-39202?

Priority: MEDIUM. Advisory: https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity/ PSIRT: [email protected]

What systems are affected by CVE-2022-39202?

CVE-2022-39202 affects Matrix Matrix Irc Bridge.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Matrix","product":"Matrix Irc Bridge","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.