Skip to main content

Modoboa CVE-2026-133236

| EUVDEUVD-2026-130320 MEDIUM
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-11-19 VulnCheck GHSA-fc6q-jjw3-255x
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Reseller, get API token
  2. Delivery
    POST relay domain with CR in dkim_key_selector
  3. Exploit
    Selector written verbatim to rspamd selector map
  4. Execution
    Map reload splits CR into injected victim entry
  5. Impact
    Victim domain signed with bogus selector, DKIM fails

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
Exploitation Conditions

Exploitation requires ALL of: (1) the rspamd integration enabled with the DKIM selector map AND key map configured - a non-default deployment mode; (2) an authenticated account holding the Reseller role (or SuperAdmin), i.e. domain add/change permission, matching PR:H; (3) use of the relay domain API endpoint /api/v1/relaydomains/, which lacks the selector validator that the regular /api/v1/domains/ endpoint has had since 2.9.1; and (4) a DKIM key generated for the attacker's domain plus any subsequent map-update trigger to materialize the injected line. Limiting factors: the attacker must already be a privileged, semi-trusted tenant; deployments not using rspamd+DKIM are entirely unaffected; and the flaw cannot sign mail as the victim (private-key map is read-only), so impact is confined to breaking the victim's DKIM, not impersonating it. A selector containing a space is discarded as malformed and only breaks the attacker's own entry.

Impact

This is a medium-severity, integrity-only issue that is correctly prioritized below emergency level. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VI:L, everything else N, score 5.1) and my independent assessment agree: network-reachable API, low complexity, but requiring HIGH privileges (PR:H) - specifically a Reseller or SuperAdmin account allowed to add/change domains. The only impact is low integrity: an attacker can override another tenant's rspamd DKIM selector so that tenant's outgoing mail is signed with a nonexistent selector and fails DKIM (and potentially DMARC) verification. There is NO confidentiality impact and NO ability to forge/sign mail as the victim, because the private-key map is read-only in the API - so this is a cross-tenant availability-of-reputation/denial-of-authenticity problem, not a spoofing primitive. No EPSS score, KEV entry, or SSVC exploitation signal is present in the input; the vuln.today decision label is 'this_month', not act_now/emergency, consistent with a privileged, limited-impact flaw. A detailed proof-of-concept (curl request plus parsing demonstration) is published in the GHSA advisory. The real priority is moderate: it matters chiefly to multi-tenant Modoboa operators who delegate the Reseller role to semi-trusted parties; single-tenant or trusted-admin deployments face negligible real-world risk since the required privilege is already high.

Exploit ScenarioDerived

In a multi-tenant Modoboa deployment, a semi-trusted Reseller obtains an API token and POSTs a new relay domain to /api/v1/relaydomains/ with enable_dkim true and a crafted dkim_key_selector containing a carriage return (e.g. 'a\rvictim.com evilsel'), which the relay-domain API accepts even though the regular domain API would reject it. Once a DKIM key is generated and any later map update runs, the CR is parsed as a line break and injects a 'victim.com evilsel' entry, so the victim tenant's mail is signed with a selector that has no DNS record and fails DKIM verification. A working proof-of-concept is published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

DKIM selector map injection in Modoboa before 2.13.0 allows an authenticated Reseller - or any account with permission to add or change domains - to break DKIM signing for domains owned by other tenants. The relay domain API at /api/v1/relaydomains/ writes the unvalidated dkim_key_selector value verbatim into the rspamd DKIM selector map, so a selector containing a carriage return injects a second map line that overrides another tenant's selector; rspamd then signs that tenant's outgoing mail with a selector that has no DNS record, and DKIM verification fails. The vendor advisory documents a proof-of-concept walkthrough; it is not verified as working exploit code, and there is no confirmed public exploit tooling or known active exploitation. Impact is integrity-only and limited to the victim's DKIM (and potentially DMARC) outcome - the read-only private-key map means an attacker cannot sign mail as the victim - and only installations running the non-default rspamd integration with DKIM maps configured are affected.

RemediationAI

Vendor-released patch: Modoboa 2.13.0 (release https://github.com/modoboa/modoboa/releases/tag/2.13.0, fix commit b4550be1d4a058fd6f967b806afcce36912757a8). The fix is layered: it adds a shared RegexValidator (\A[A-Za-z0-9._-]+\Z) applied directly to the Domain.dkim_key_selector model field via migration 0027_dkim_key_selector_validator, which closes the gap in RelayDomainSerializer because validation is no longer serializer-specific; it removes the now-redundant serializer method; and it adds defense-in-depth in rspamd/jobs.py that skips and logs a warning for any selector failing the regex instead of writing it to the map, while dropping the incomplete '\n'-only stripping. Because the model-level validator and the job-level guard both ship in 2.13.0, upgrading is the only complete fix. For installations that cannot upgrade immediately, the prerequisite described by the vendor is an account allowed to create or change domains, so the practical compensating control is to restrict relay domain creation/change (and the Reseller role generally) on /api/v1/relaydomains/ to trusted administrators and audit existing dkim_key_selector values for whitespace or carriage returns - with the trade-off that this removes delegated relay-domain management from resellers. Deployments without the rspamd integration and DKIM maps enabled are not exposed by this issue. Full details: https://github.com/modoboa/modoboa/security/advisories/GHSA-p68v-69qc-9345.

Affected VersionsENISA

modoboa 0 <2.13.0

Affected Packages

euvd modoboa fix: 2.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Modoboa is a Django-based mail hosting and management platform. In the affected versions the Domain model field dkim_key_selector carries only max_length=30 and no validation, and DomainSerializer (used by API v1 and v2) has restricted the value to the DNS-label character class [A-Za-z0-9._-]+ since 2.9.1 - but RelayDomainSerializer in modoboa/relaydomains/api/v1/serializers.py exposes the same model field as writable with no such validator. This is CWE-93 (CRLF injection) via an incomplete fix: the earlier selector validation covered only the regular domain API. When a DKIM-enabled domain is saved, rspamd.jobs.update_rspamd_maps writes one '<domain> <selector>' line per domain and only stripped '\n' from the selector, so a '\r' survived into the file. On the next update, MapsUpdater.load_map reads the file in Python text mode with universal newlines, so '\r' acts as a line terminator and the single crafted line is parsed as two entries - an attacker-controlled entry for the victim domain that overrides the legitimate one and is persisted on write until the victim domain itself is modified. A selector containing a space produces a three-field line that is discarded as malformed and therefore only breaks the attacker's own entry. The injected value cannot affect dkim_private_key_path, which is read-only in the API. Exploitation requires rspamd integration with DKIM selector and key maps configured, an account permitted to create or change domains (Reseller or SuperAdmin - consistent with PR:H), use of the relay domain endpoint, and a generated DKIM key plus a subsequent map-update trigger.

Know when Modoboa gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 2.7 LOW

Reachable via authenticated API (AV:N/AC:L) but needs Reseller/domain-change rights (PR:H); impact is limited cross-tenant DKIM integrity (I:L) with no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Modoboa before 2.13.0 contains a CRLF injection vulnerability that allows Resellers or users with domain add or change permission to inject rspamd DKIM selector map entries by supplying an unvalidated dkim_key_selector through the relay domain API. Attackers can embed a carriage return in the selector to override another tenant's domain selector, causing rspamd to sign its outgoing mail with a nonexistent selector and fail DKIM verification.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche open-source mail-hosting platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2023-2160 CRITICAL POC
9.8 Apr 18

Weak Password Requirements in GitHub repository modoboa/modoboa prior to 2.1.0. Rated critical severity (CVSS 9.8), this

CVE-2023-0777 CRITICAL POC
9.8 Feb 10

Authentication Bypass by Primary Weakness in GitHub repository modoboa/modoboa prior to 2.0.4. Rated critical severity (

CVE-2023-2227 CRITICAL POC
9.1 Apr 21

Improper Authorization in GitHub repository modoboa/modoboa prior to 2.1.0. Rated critical severity (CVSS 9.1), this vul

CVE-2023-5690 HIGH POC
8.8 Oct 20

Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.2.2. Rated high severity (CVSS 8.8), t

CVE-2023-0860 HIGH POC
7.5 Feb 16

Improper Restriction of Excessive Authentication Attempts in GitHub repository modoboa/modoboa-installer prior to 2.0.4.

CVE-2019-19702 HIGH POC
7.5 Dec 10

The modoboa-dmarc plugin 1.1.0 for Modoboa is vulnerable to an XML External Entity Injection (XXE) attack when processin

CVE-2023-2228 MEDIUM POC
6.8 Apr 21

Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.1.0. Rated medium severity (CVSS 6.8),

CVE-2023-0438 MEDIUM POC
6.5 Jan 23

Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.0.4. Rated medium severity (CVSS 6.5),

CVE-2023-0398 MEDIUM POC
6.5 Jan 19

Cross-Site Request Forgery (CSRF) in GitHub repository modoboa/modoboa prior to 2.0.4. Rated medium severity (CVSS 6.5),

CVE-2023-5689 MEDIUM POC
5.4 Oct 20

Cross-site Scripting (XSS) - DOM in GitHub repository modoboa/modoboa prior to 2.2.2. Rated medium severity (CVSS 5.4),

CVE-2023-5688 MEDIUM POC
5.4 Oct 20

Cross-site Scripting (XSS) - DOM in GitHub repository modoboa/modoboa prior to 2.2.2. Rated medium severity (CVSS 5.4),

CVE-2023-0519 MEDIUM POC
5.4 Jan 26

Cross-site Scripting (XSS) - Stored in GitHub repository modoboa/modoboa prior to 2.0.4. Rated medium severity (CVSS 5.4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy