{"id":"CVE-2026-27602","state":"PUBLISHED","title":"Modoboa has an OS Command Injection","description":"Modoboa is a mail hosting and management platform. Prior to version 2.7.1, `exec_cmd()` in `modoboa/lib/sysutils.py` always runs subprocess calls with `shell=True`. Since domain names flow directly into shell command strings without any sanitization, a Reseller or SuperAdmin can include shell metacharacters in a domain name to run arbitrary OS commands on the server. Version 2.7.1 patches the issue.","publishedAt":"2026-03-25T18:49:25.825Z","updatedAt":"2026-03-26T15:38:37.459Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["modoboa modoboa"],"affected":[{"vendor":"modoboa","product":"modoboa","versions":[{"version":"< 2.7.1","status":"affected"}]}],"references":["https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m","https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa","https://github.com/modoboa/modoboa/releases/tag/2.7.1"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27602.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27602","state":"PUBLISHED","datePublished":"2026-03-25T18:49:25.825Z","dateUpdated":"2026-03-26T15:38:37.459Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-20T19:43:14.602Z"},"containers":{"cna":{"title":"Modoboa has an OS Command Injection","descriptions":[{"lang":"en","value":"Modoboa is a mail hosting and management platform. Prior to version 2.7.1, `exec_cmd()` in `modoboa/lib/sysutils.py` always runs subprocess calls with `shell=True`. Since domain names flow directly into shell command strings without any sanitization, a Reseller or SuperAdmin can include shell metacharacters in a domain name to run arbitrary OS commands on the server. Version 2.7.1 patches the issue."}],"affected":[{"vendor":"modoboa","product":"modoboa","versions":[{"version":"< 2.7.1","status":"affected"}]}],"references":[{"url":"https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m","name":"https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa","name":"https://github.com/modoboa/modoboa/commit/27a7aa133d3608fe8c25ae39125d1012c333cbfa","tags":["x_refsource_MISC"]},{"url":"https://github.com/modoboa/modoboa/releases/tag/2.7.1","name":"https://github.com/modoboa/modoboa/releases/tag/2.7.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-25T18:49:25.825Z"},"source":{"advisory":"GHSA-wwv8-cqpr-vx3m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/modoboa/modoboa/security/advisories/GHSA-wwv8-cqpr-vx3m","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-26T15:38:34.373097Z","id":"CVE-2026-27602","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-26T15:38:37.459Z"}}]}}}