Security advisory
In Roundcube from versions 1.2.0 to 1.3.5, with the archive plugin enabled and configured, it's possible to exploit the unsanitized, user-controlled "_uid" parameter (in an archive.php _task=mail&_mbox=INBOX&_action=plugin.move2archive request) to perform an MX (IMAP) injection attack by placing an IMAP command after a %0d%0a sequence. NOTE: this is less easily exploitable in 1.3.4 and later because of a Same Origin Policy protection mechanism.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-9846
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:31 UTC · Revision 1
Source evidence
In Roundcube from versions 1.2.0 to 1.3.5, with the archive plugin enabled and configured, it's possible to exploit the unsanitized, user-controlled "_uid" parameter (in an archive.php _task=mail&_mbox=INBOX&_action=plugin.move2archive request) to perform an MX (IMAP) injection attack by placing an IMAP command after a %0d%0a sequence. NOTE: this is less easily exploitable in 1.3.4 and later because of a Same Origin Policy protection mechanism.
osv:CVE-2018-9846
Complete source record
{
"id": "05cf28067449cf34dd565abda32f8515368a2d3d79296ab63565d32315f61c3d",
"url": "https://osv.dev/vulnerability/CVE-2018-9846",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-9846",
"summary": "In Roundcube from versions 1.2.0 to 1.3.5, with the archive plugin enabled and configured, it's possible to exploit the unsanitized, user-controlled \"_uid\" parameter (in an archive.php _task=mail&_mbox=INBOX&_action=plugin.move2archive request) to perform an MX (IMAP) injection attack by placing an IMAP command after a %0d%0a sequence. NOTE: this is less easily exploitable in 1.3.4 and later because of a Same Origin Policy protection mechanism.",
"evidence": "osv:CVE-2018-9846",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-9846",
"aliases": [
"CVE-2018-9846"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/roundcube/roundcubemail",
"type": "GIT",
"events": [
{
"introduced": "1d7be448f309d33c6ad4252c0abf581402891f22"
},
{
"last_affected": "8922e3e076b011d7756dd777b926c65be1e296bf"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.0"
},
{
"last_affected": "1.3.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9846.json"
}
}
],
"modified": "2026-10-20T10:50:32.572822046Z",
"provider": "osv",
"references": [
"https://medium.com/%40ndrbasi/cve-2018-9846-roundcube-303097048b0a",
"https://www.debian.org/security/2018/dsa-4181",
"https://github.com/roundcube/roundcubemail/issues/6229",
"https://github.com/roundcube/roundcubemail/issues/6238"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-9846",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381840,
"published_at": "2018-04-07T21:29:00.413+00:00"
}