CVE-2025-27146: Matrix IRC Bridge allows IRC command injection to own puppeted user

Published Feb 25, 2025
·
Updated

Impact 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.

Patches The vulnerability has been patched in matrix-appservice-irc version 3.0.4.

For more information If you have any questions or comments about this advisory, please email us at security at matrix.org.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
npm/matrix-appservice-irc<3.0.4
3.0.4
matrix Matrix Irc Bridge Node.js<3.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/matrix-appservice-irc to a version that resolves this vulnerability.

    Fixed in 3.0.4
  2. Upgrade

    Upgrade matrix-appservice-irc to a version that resolves this vulnerability.

    Fixed in 3.0.4

Event History

Feb 25, 2025
Advisory Published
via GitHub·06:29 PM
CVE Published
via MITRE·08:04 PM
Data Sourced
via MITRE·08:04 PM
DescriptionSeverityWeakness
Oct 21, 57206
Event
via FIRST·01:55 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27146?

CVE-2025-27146 is rated as a high severity vulnerability due to its potential for arbitrary command execution.

2

How do I fix CVE-2025-27146?

To fix CVE-2025-27146, upgrade to matrix-appservice-irc version 3.0.4 or later.

3

What can an attacker do with CVE-2025-27146?

An attacker can inject arbitrary IRC commands that are executed as their own IRC user.

4

Which versions of matrix-appservice-irc are affected by CVE-2025-27146?

Versions of matrix-appservice-irc up to 3.0.3 are affected by CVE-2025-27146.

5

Is there a workaround for CVE-2025-27146?

There is no official workaround; the best course of action is to apply the patch by updating to version 3.0.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203