High

baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)

  • Disclosed: 31.03.2026
  • Updated: 11.10.2026 10:22

Details

The application's restore function allows users to upload a .zip file, which is then automatically extracted. A PHP file inside the archive is included using require_once without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included.

Vector: Malicious ZIP upload + insecure require_once

PoC

  1. Restore backup image
  2. Load file shell (insecure require_once) image image

Impact

Remote Code Execution (RCE)

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package baserproject/basercms < 5.2.3 5.2.3

References

CVSS score 8.7/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Weakness (CWE)
CWE-434
Platform
Composer
Package
baserproject/basercms
Disclosed
31.03.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hv78-cwp4-8r7r - CC BY 4.0

Vulnerability history: baserproject/basercms

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (56) in the archive
Total entries
56
First → latest
08.2020 03.2026
Without a fix
7
Exploited in attacks
0

Severity breakdown

  • Critical 7
  • High 15
  • Medium 29
  • Low 5

Disclosures per year

  1. 2020: 6
  2. 2021: 6
  3. 2022: 21
  4. 2023: 7
  5. 2024: 7
  6. 2025: 0
  7. 2026: 9
Severity:
  1. High · 7.1 CVE-2026-32734 < 5.2.3 5.2.3
  2. Critical CVE-2026-30880 < 5.2.3 5.2.3
  3. Critical · 9.1 CVE-2026-30877 < 5.2.3 5.2.3
  4. baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE) this entry
    High · 8.7 CVE-2025-32957 < 5.2.3 5.2.3
  5. Critical · 9.8 CVE-2023-25655 < 4.7.5 4.7.5
  6. Critical · 9.8 CVE-2023-25654 < 4.7.5 4.7.5
  7. High · 8.8 CVE-2016-4881 < 3.0.11 3.0.11
  8. High · 8.8 CVE-2016-4878 < 3.0.11 3.0.11
  9. High · 8.8 CVE-2018-0569 >= 4.0.0, <= 4.1.0.1, <= 3.0.15 no fix
  10. Critical · 9.8 CVE-2017-10842 < 3.0.15, >= 4.0.0, < 4.0.6 3.0.15, 4.0.6
  11. High · 8.8 CVE-2017-10844 <= 3.0.14, >= 4.0.0, <= 4.0.5 no fix
  12. High · 8.1 CVE-2018-0572 >= 4.0.0, < 4.1.1, < 3.0.16 4.1.1, 3.0.16
  13. High · 7.5 CVE-2017-10843 < 3.0.15, >= 4.0.0, < 4.0.6 3.0.15, 4.0.6
  14. High · 8.8 CVE-2016-4879 <= 3.0.10 no fix
  15. High · 7.2 CVE-2018-18942 < 4.1.4 4.1.4
  16. High · 7.7 CVE-2021-41279 < 4.5.4 4.5.4
  17. High · 8.7 CVE-2021-39136 < 4.5.1 4.5.1
Show more (2) Showing 20 of 22

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.