Karen IT Security Response Center (KSRC) Advisory
Advisory ID: KSRC-2026-11221 | Publication Date: 21 November 2026
Critical Remote Code Execution in Poste.io
CVE-2026-127027 – Command Injection via DMARC Report Processing
Summary
A critical remote code execution vulnerability has been identified in Poste.io, a popular mail server solution. The flaw exists in the DMARC report processing functionality.
Emails sent to dmarc-reports@ are accepted and stored without proper sender verification. A privileged script running as root then unpacks the attachments using unsafe shell commands. This allows an attacker to achieve command injection through crafted attachment filenames or archive contents.
A remote unauthenticated attacker who can send an email to the server’s SMTP port (25) can execute arbitrary commands with root privileges inside the Poste.io container.
CVSS Score: 9.2 (Critical)
Affected Versions
- Poste.io versions prior to 2.5.22
Fixed Version
- Poste.io 2.5.22 and later
Recommendations
- Immediate action: Upgrade Poste.io to version 2.5.22 or newer as soon as possible.
- If immediate upgrade is not possible:
- Restrict access to SMTP port 25 using firewall rules or IP allowlisting.
- Consider temporarily disabling or isolating the DMARC report processing functionality if feasible.
- After upgrading, restart the Poste.io container/service and verify the version.
- Review logs for any suspicious emails sent to the
dmarc-reports@address prior to patching. - Ensure that only trusted sources can submit DMARC reports where possible.
Additional Notes
This vulnerability is particularly dangerous because it requires no authentication and can lead to full root compromise of the mail server container. Organizations running Poste.io with port 25 exposed to the internet or untrusted networks should treat this as a high-priority incident response item.
Support from KSRC
KSRC (Karen IT Security Response Center) is ready to assist organizations with impact assessment, mitigation planning, and verification related to this vulnerability.
Karen IT
We make the Internet harder to abuse.