A single crafted email sent to a Poste.io mail server can be enough to run commands as root inside it. CERT Polska disclosed the flaw on November 20 after coordinating the fix with the vendor, Analogic, and credited researcher Paweł Franczyk (logrox) with reporting it.
Poste.io is a self-hosted mail server, and the bug, tracked as CVE-2026-127027, needs no account, no password and no interaction from an administrator. The attacker only has to be able to deliver an email, which is the one thing a mail server exists to accept.
The DMARC inbox trusts anyone who writes to it
The flaw sits in how Poste.io handles DMARC reports. DMARC is the email standard that lets domain owners receive reports about mail sent in their name, and those reports arrive as attachments. According to CERT Polska, mail sent to the server's dmarc-reports@ address is saved without any check on who sent it. A script that runs as root then unpacks the attachments using unsafe shell commands, so a crafted attachment, for example through its file names or archive contents, can inject commands of the attacker's choosing.
In CERT Polska's words, a remote, unauthenticated attacker who can send an email to the server's port 25 can execute arbitrary commands as root within the Poste.io container. It is classed as OS command injection (CWE-78) and carries a CVSS score of 9.2.
Port 25 is open by design
Many server flaws require an attacker to reach an admin panel or log in first. This one requires neither. Port 25 is the port a mail server must expose to the internet to receive mail at all, so every internet-facing Poste.io installation on a vulnerable version presents the entry point simply by doing its job.
CERT Polska's description places the root access inside the Poste.io container and does not describe an escape to the host. That is still a serious foothold: the container is where an organization's mail is received and stored. Mail servers have been a steady target this year, including Zimbra servers raided through an exploited flaw.
Upgrade to Poste.io 2.5.22
All Poste.io versions before 2.5.22 are vulnerable, and the issue is fixed in 2.5.22. Administrators should update to that release or later and redeploy. CERT Polska's advisory does not report exploitation in the wild, does not mention a public exploit, and lists no workaround, so upgrading is the fix.
Self-hosted mail is often run by small teams with little time to watch it, which is exactly why a bug that turns the server's own reporting inbox into a way in deserves a same-day patch.
This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.