Privilege escalation in Formwork Project
CVE-2026-27198
Formwork is a flat file-based Content Management System (CMS). In versions 2.0.0 through 2.3.3, the application fails to properly enforce role-based authorization during account creation. Although the system validates that the specified role exists, it does not verify whether the current user has sufficient privileges to assign highly privileged roles such as admin. As a result, an authenticated user with the editor role can create a new account with administrative privileges, leading to full administrative access and complete compromise of the CMS. This issue has been fixed in version 2.3.4.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 40.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Formwork Project
- Getformwork Formwork — versions >= 2.0.0, < 2.3.4
Weakness classification (CWE)
References
- https://github.com/getformwork/formwork/security/advisories/GHSA-34p4-7w83-35g2 (Patch, Vendor Advisory)
- https://github.com/getformwork/formwork/commit/19390a0b408e084bdef86f3581e050f3ee51e7cd (Patch)
- https://github.com/getformwork/formwork/releases/tag/2.3.4 (Product, Release Notes)