All reports
High

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

Affected versions

Affected versions
<= 5.2.2
Fixed version
5.2.3

Exploitation

CVE-2025-32957

Probability of exploitation in the next 30 days: 0.60%

FIRST EPSS · 2026-11-22

Description

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)

Links

Credits

  • MinhhhCuonggg
  • Vatvo69