CVE-2023-38690
CRITICAL 9.8CVSS 3.1matrix-appservice-irc IRC command injection via admin commands containing newlines
matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, it is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, which would then be run by the IRC bridge bot. Versions 1.0.1 and above are patched. There are no robust workarounds to the bug. One may disable dynamic channels in the config to disable the most common execution method but others may exist.
- Published
- 4 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-3pmj-jqqp-2mj3
- Sources
- NVDJSONOSV GHSA-3pmj-jqqp-2mj3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | matrix_irc_bridgecpe:2.3:a:matrix:matrix_irc_bridge:*:*:*:*:*:node.js:*:* |
< 1.0.1 | 1.0.1 |
| OSV | npm | matrix-appservice-irc | < 1.0.1 | 1.0.1 |
References
- https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 · Patch, WEB
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 · Release Notes, WEB
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38690 · ADVISORY
- https://github.com/matrix-org/matrix-appservice-irc · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 Aug 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Aug 2023)