# Kunstmaan CMS: MediaBundle extension blacklist bypass allows authenticated administrators to upload executable PHP files leading to remote code execution

High severity, published 2026-10-07. Update kunstmaan/media-bundle to 7.3.2 or later and kunstmaan/bundles-cms to 7.3.2 or later: composer update kunstmaan/media-bundle kunstmaan/bundles-cms.

Canonical URL: https://buzzphp.com/security/ghsa-p279-5wcv-45vq · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.2) |
| Published | 2026-10-07 |
| Updated | 2026-10-07 |
| CVE | [CVE-2026-104890](https://nvd.nist.gov/vuln/detail/CVE-2026-104890) |
| GHSA | [GHSA-p279-5wcv-45vq](https://github.com/advisories/GHSA-p279-5wcv-45vq) |
| Weakness | CWE-434 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| kunstmaan/media-bundle | < 7.3.2 | 7.3.2 |
| kunstmaan/bundles-cms | < 7.3.2 | 7.3.2 |

## What to do

Update kunstmaan/media-bundle to 7.3.2 or later and kunstmaan/bundles-cms to 7.3.2 or later: composer update kunstmaan/media-bundle kunstmaan/bundles-cms.

Check which version you run with `composer show kunstmaan/media-bundle`, and every affected package with `composer audit`.

## About this advisory

Summary

The MediaBundle blocks dangerous upload extensions with a blacklist that was matched case-sensitively, while the stored filename was lowercased afterwards. A file uploaded as webshell.pHp therefore bypassed the blacklist and was written to the web-accessible upload directory as webshell.php, where the web server executed it. Any authenticated backend user with access to the media section could obtain remote code execution.

Details



## Links

- [GHSA-p279-5wcv-45vq on GitHub](https://github.com/advisories/GHSA-p279-5wcv-45vq)
- [CVE-2026-104890 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-104890)
- [All Composer security advisories](https://buzzphp.com/security)
