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
- 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.
Affected software
| Software | Affected versions |
|---|---|
REDAXOServers and applications · github:redaxo/core |
|
About REDAXO
Content management system
- 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
Vulnerabilities in REDAXO
- In our list
- 64
- Published in the last 12 months
- 42
- Critical, last 12 months
- 2
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-126318REDAXO before 5.21.6 Authorization Bypass of Live Version PermissionMedium 5.3 13 Nov 2026
- CVE-2026-117538REDAXO before 5.21.0 Reflected XSS via Packages API function ParameterLow 2.1 27 Oct 2026
- CVE-2026-117537REDAXO before 5.21.0 Reflected XSS via Metainfo API type ParameterLow 2.1 27 Oct 2026
- CVE-2026-117536REDAXO before 5.21.3 CSRF Token Bypass via users/users Privilege EscalationHigh 8.6 27 Oct 2026
- CVE-2026-117535REDAXO before 5.21.3 Reflected XSS via opener_link in Media PoolMedium 5.1 27 Oct 2026
- CVE-2026-117534REDAXO before 5.21.3 CSRF in Article History PluginMedium 5.1 27 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-53599
- GitHub Advisory Database https://github.com/advisories/GHSA-98pp-vccm-qm25
- github.com https://github.com/redaxo/core/security/advisories/GHSA-98pp-vccm-qm25