baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434.
Summary
baserCMS is a website development framework. Prior to version 5.2.3, 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. This issue has been patched in version 5.2.3.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| baserproject | basercms | before 5.2.3 | 5.2.3 | Patch available | CNA |
| — | baserproject/basercms (Packagist) | before 5.2.3 | 5.2.3 | Patch available | GHSA-hv78-cwp4-8r7r |
- basercms Vendorbaserproject Affected before 5.2.3 Fixed in 5.2.3 Patch available CNA
- baserproject/basercms (Packagist) Vendor— Affected before 5.2.3 Fixed in 5.2.3 Patch available GHSA-hv78-cwp4-8r7r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* | before 5.2.3 | Vulnerable | baserproject |
- cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:* Versions before 5.2.3 Vulnerable ·baserproject
Remediation
- Fix · CNA basercms (baserproject) Fixed in 5.2.3
- Fix · GHSA-hv78-cwp4-8r7r baserproject/basercms (Packagist) Fixed in 5.2.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-32957
- 2026-10-03 Alias added: GHSA-hv78-cwp4-8r7r
References
More baserproject Basercms vulnerabilities
- TI-2026-17563 baserCMS: OS Command Injection Leading to Remote Code Execution (RCE) CVSS 3.1CRITICAL 9.1
- TI-2026-23707 baserCMS: Mail Form Acceptance Bypass via Public API CVSS 3.1MEDIUM 5.3
- TI-2023-10935 baserCMS File Uploader Remote Code Execution (RCE) vulnerability CVSS 3.1CRITICAL 9.8
- TI-2023-10936 baserCMS allows any file to be uploaded CVSS 3.1CRITICAL 9.8
- TI-2023-23483 baserCMS Code Injection Vulnerability in Mail Form Feature CVSS 3.1CRITICAL 9.8
- TI-2026-23709 baserCMS: OS command injection vulnerability in installer CVSS 4.0CRITICAL 9.2
Sources
- CVE-2025-32957 · CVE Program
- CVE-2025-32957 · NVD
- FIRST EPSS
- GHSA-hv78-cwp4-8r7r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences