{"id":"CVE-2023-38690","aliases":["GHSA-3pmj-jqqp-2mj3"],"url":"https://o3.security/vulnerability/CVE-2023-38690","summary":"matrix-appservice-irc IRC command injection via admin commands containing newlines ","details":"### Impact\n\nIt 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. \n\n### Patches\n\nVersions 1.0.1 and above are patched.\n\n### Workarounds\n\nThere are no robust workarounds to the bug. You can disable dynamic channels in the config to disable the most common execution method but others may exist. It is highly recommended to upgrade the bridge.\n\n### Credits\n\nDiscovered and reported by [Val Lorentz](https://valentin-lorentz.fr/).\n\n### For more information\n\nIf you have any questions or comments about this advisory email us at [security@matrix.org](mailto:security@matrix.org).","published":"2023-08-04T16:31:41.840Z","modified":"2026-08-12T03:51:18.699587529Z","cvss":{"score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"matrix-appservice-irc","fixedVersion":"1.0.1"}],"fix":{"url":"https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3","label":"matrix-org/matrix-appservice-irc@0afb064"},"references":[{"type":"WEB","url":"https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38690.json"},{"type":"ADVISORY","url":"https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38690"},{"type":"FIX","url":"https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3"},{"type":"PACKAGE","url":"https://github.com/matrix-org/matrix-appservice-irc"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:18.699587529Z"}}