CVE-2023-50461 Configuration Injection in extension "Direct Mail" (direct_mail)

High 8.8 Published Updated

Authenticated attackers can inject configuration to achieve arbitrary code execution in TYPO3 Direct Mail extension.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-50461?

CVE-2023-50461 is a high-severity code injection vulnerability in TYPO3 direct_mail, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in the direct_mail (aka Direct Mail) extension through 9.5.1 for TYPO3. The Configuration backend module of the extension allows an authenticated user to write to an arbitrary TSConfig page for folders configured as Direct Mail. Exploiting this may lead to Configuration Injection (TYPO3 10.4 and above) and to Arbitrary Code Execution (TYPO3 9.5 and below). A valid backend user account, with access to the Direct Mail Configuration backend module, is needed to exploit this.

Weakness: CWE-863

Which versions are affected by CVE-2023-50461?

6 open source packages ship an affected version, including directmailteam/direct-mail.

PackageAffectedFixed in
directmailteam/direct-mail PackagistAll versions6.0.3
directmailteam/direct-mail PackagistAll versions6.0.3
directmailteam/direct-mail PackagistFrom 7.0.07.0.3
directmailteam/direct-mail PackagistFrom 7.0.07.0.3
directmailteam/direct-mail PackagistFrom 8.0.09.5.2
directmailteam/direct-mail PackagistFrom 8.0.09.5.2

How do I fix CVE-2023-50461?

Upgrade directmailteam/direct-mail to a fixed version for your release line: 6.0.3, 7.0.3 or 9.5.2.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-50461 being exploited?

There is no known exploitation of CVE-2023-50461 in the wild and no public exploit code.

Sources

Also known as GHSA-p6xx-fhfw-7mj7.

Is CVE-2023-50461 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free