# CVE-2023-38690: matrix-appservice-irc IRC command injection via admin commands containing newlines

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2023-08-04T16:31:41.840Z
- Modified: 2026-09-10T03:50:08.574Z
- Also known as: GHSA-3pmj-jqqp-2mj3
- Weaknesses: CWE-20, CWE-77
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matrix-org matrix-appservice-irc: < 1.0.1; before 1.0.1
- matrix-appservice-irc (npm): before 1.0.1
- matrix matrix_irc_bridge: before 1.0.1

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3> (third-party-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2023-38690> (advisory)
- <https://github.com/matrix-org/matrix-appservice-irc> (package)

## Sources

- CVE List: [CVE-2023-38690](https://www.cve.org/CVERecord?id=CVE-2023-38690), CVE Terms of Use, modified 2024-10-08
- GitHub Advisory Database: [GHSA-3pmj-jqqp-2mj3](https://github.com/advisories/GHSA-3pmj-jqqp-2mj3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38690](https://nvd.nist.gov/vuln/detail/CVE-2023-38690), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38690 · Whole record: https://cve.day/CVE-2023-38690.json · Rebuilt by cve.day 2026-11-25T22:58:26.760Z
