# CVE-2026-133236: Modoboa before 2.13.0 CRLF Injection via Relay Domain dkim_key_selector

Source: https://aplosec.si/cve/CVE-2026-133236/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-133236

Medium 5.1 · Reported · Fixed in 2.13.0 · CWE-93 · PyPI

# Modoboa before 2.13.0 CRLF Injection via Relay Domain dkim_key_selector

CVE-2026-133236 · published 2026-11-19

In plain words: this type of bug lets someone inject their own content into data the application builds (injection). A fixed release is listed.

## Summary

CVE-2026-133236 affects modoboa (PyPI) < 2.13.0: a reseller supplies an unvalidated relay domain dkim_key_selector containing CRLF and injects rspamd DKIM selector map entries (CWE-93). Fixed in 2.13.0. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-11-19 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade modoboa to 2.13.0 or later. Releases in the affected range (< 2.13.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-19 CVE published

## References

- [Referencehttps://github.com/modoboa/modoboa/security/advisories/GHSA-p68v-69qc-9345](https://github.com/modoboa/modoboa/security/advisories/GHSA-p68v-69qc-9345)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/modoboa-before-2.13.0-crlf-injection-via-relay-domain-dkim-key-selector](https://www.vulncheck.com/advisories/modoboa-before-2.13.0-crlf-injection-via-relay-domain-dkim-key-selector)

- [Fix commithttps://github.com/modoboa/modoboa/commit/b4550be1d4a058fd6f967b806afcce36912757a8](https://github.com/modoboa/modoboa/commit/b4550be1d4a058fd6f967b806afcce36912757a8)

- [Vulnerable codehttps://github.com/modoboa/modoboa/blob/2.12.0/modoboa/relaydomains/api/v1/serializers.py#L36-L55](https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/relaydomains/api/v1/serializers.py#L36-L55)

- [Vulnerable codehttps://github.com/modoboa/modoboa/blob/2.12.0/modoboa/rspamd/jobs.py#L78-L83](https://github.com/modoboa/modoboa/blob/2.12.0/modoboa/rspamd/jobs.py#L78-L83)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-133236](https://www.cve.org/CVERecord?id=CVE-2026-133236)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-133236](https://nvd.nist.gov/vuln/detail/CVE-2026-133236)

**Severity:** Medium 5.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-133236)

**Package:** modoboa

**Ecosystem:** PyPI

**Affected:** < 2.13.0

**Fixed:** 2.13.0

**Weakness:** CWE-93

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
