All vulnerabilities

Servers and applications

CVE-2026-53599

Mediapool isAllowedExtension bypass via multi-segment filename leads to authenticated RCE on Apache mod_php multi-extension handlers

Severity
High 7.5
Published
9 Jun 2026
Last changed
9 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.21.1
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Unrestricted file upload (CWE-434)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-98pp-vccm-qm25
Sources
Project advisories (GitHub)

Description

rex_mediapool::isAllowedExtension in redaxo/src/addons/mediapool/lib/mediapool.php accepts filenames that contain a blocked extension as a non-terminal segment of a longer extension chain, for example shell.php.any.jpg. The check only catches the blocked extension when it appears at the end of the filename or immediately before the final extension. An authenticated backend user with mediapool upload permission can upload a JPEG/PHP polyglot named shell.php.any.jpg and, on web servers whose PHP handler matches .php as any segment (mod_mime AddHandler-style, or any FilesMatch regex without an end anchor), request the file from the public media/ directory to execute arbitrary PHP as the web-server user.

The vulnerable check is a regression introduced in commit 9d008697d (PR #6213, Feb 7 2025), which weakened a previously correct str_contains check into a pair of str_ends_with checks.

From redaxo/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
REDAXOServers and applications · github:redaxo/core
  • From 5.18.2 before 5.21.1

About REDAXO

Content management system

From Wikidata, CC0 1.0.
GitHub stars
356GitHub, 15 Nov 2026
Forks
115GitHub, 15 Nov 2026
Latest release
5.21.6GitHub, 15 Nov 2026
Released
25 Oct 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
4 Jul 2010GitHub

References