CVE-2026-56702: Adminer before 5.4.3 Unrestricted File Upload via AdminerFileUpload
Adminer versions before 5.4.3 contain an unrestricted file upload vulnerability in the AdminerFileUpload plugin that allows authenticated users to upload PHP files by exploiting a permissive default extension allowlist. Attackers can upload PHP webshells to columns ending in path and execute arbitrary code as the web-server user when uploadPath is web-served.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Adminerto a version that resolves this vulnerability.Fixed in 5.4.3 - Configuration
Remove/deny PHP from the AdminerFileUpload plugin’s default extension allowlist so uploaded files cannot be PHP webshells.
AdminerFileUpload plugin default extension allowlist (permissive) = tighten to disallow PHP (e.g., remove/deny .php uploads) - Compensating control
Ensure AdminerFileUpload uploadPath is not web-served (do not allow uploaded files to be reachable via the web server); prevent execution by keeping uploaded files outside the document root or otherwise blocking direct web access.