CVE-2026-72557: Cockpit CMS Cockpit CMS - Unrestricted File Upload

Published Aug 11, 2026
·
Updated

An unrestricted file upload vulnerability in Cockpit CMS 2.6.0 allows authenticated users to upload files of any extension including PHP scripts via the asset upload endpoint. The alloweduploads configuration defaults to wildcard () and uploaded files are stored in a web-accessible directory. An attacker with any authenticated account can upload a PHP webshell and execute arbitrary OS commands on the server.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Change Cockpit CMS configuration setting allowed_uploads from the default wildcard (*) to an explicit allow-list of permitted upload extensions so that PHP (and other executable script types) cannot be uploaded via the asset upload endpoint.

    Cockpit CMS allowed_uploads = (restrict from wildcard '*')
  2. Configuration

    Move uploaded asset files out of the web-accessible directory (or otherwise ensure uploaded files cannot be executed/retrieved directly) because the configuration defaults store uploaded files in a web-accessible location.

    Cockpit CMS asset upload storage location (web-accessible directory) = (not web-accessible)

Event History

Aug 11, 2026
CVE Published
via MITRE·11:11 AM
Data Sourced
via MITRE·11:11 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-72557 - Cockpit CMS Cockpit CMS - Unrestricted File Upload - SecAlerts