Skip to content
TrustList
Security advisories

Poste.io 2.5.22 closes a root command injection reachable by email

Editorial

By TrustList Editorial

CERT Polska says every earlier Poste.io release lets anyone who can reach port 25 run commands as root by mailing a crafted DMARC report, CVE-2026-127027; version 2.5.22 fixes it.

About Poste.io 2.5.22 closes a root command injection reachable by email

Poste.io 2.5.22 closes a root command injection reachable by email

20 November 2026: Every release of the Poste.io mail server before 2.5.22 can be taken over by anyone able to send it an email, according to CERT Polska, the Polish national CERT, which coordinated the disclosure. The flaw, CVE-2026-127027, lets a crafted message to the server's DMARC report address run operating system commands as root inside the container. Version 2.5.22 fixes it.

Not yet independently verified. This rests on CERT Polska's advisory of 20 November 2026. We have not read the vendor's own release notes for 2.5.22, no CVSS score is published, and no exploitation is reported. We will update this when it can be confirmed, and remove this note.

A report mailbox that trusts what arrives

DMARC aggregate reports are XML summaries, usually zipped or gzipped, that receiving mail providers send back to a domain's owner to show which servers sent mail in its name and whether that mail passed authentication. Poste.io collects the reports sent to its dmarc-reports@ address. CERT Polska says mail sent there is stored without any check on the sender. A script running as root then unpacks the report attachments using shell commands that do not handle file names safely, so a crafted file name or archive injects commands that the script executes.

The only access an attacker needs is the ability to reach the server on port 25, which for an internet-facing mail server means anyone. No account or authentication is involved. The commands run as root inside the Poste.io container, which holds the mailboxes, credentials and configuration of every domain the server hosts.

Who reported it and who is affected

The flaw is classed as OS command injection (CWE-78). CERT Polska credits Pawel Franczyk, known as logrox, with reporting it, and names Analogic as the vendor. It published the record on 20 November 2026 as the numbering authority for the case. Poste.io is a self-hosted mail server shipped as a Docker image. All versions before 2.5.22 are affected.

What administrators should do

Pull the 2.5.22 image and recreate the container, then confirm the running version. Because the flaw can be triggered by inbound mail, servers that stayed on an older release should be treated as possibly compromised: review the container for unexpected processes, files and cron entries, and rotate mailbox and administrator passwords and any keys stored on it. Because the attack arrives as ordinary inbound mail, spam filtering and firewall rules that admit port 25 do not stop it on their own. Where an immediate upgrade is impossible, keeping port 25 closed to the internet stops the attack path but also stops the server receiving mail.

Sources

Categories & features

TrustList Weekly

The week in software and IT, in one email

The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.

We will email you to confirm. Unsubscribe with one click in any issue. Privacy policy

You may be interested in