CVE-2026-27198 Formwork Improperly Manages Privileges During User Creation
An authenticated editor can create admin accounts due to missing authorization checks, leading to full CMS compromise.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-27198?
CVE-2026-27198 is a high-severity vulnerability in getformwork formwork, published on 21 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-269
Which versions are affected by CVE-2026-27198?
2 open source packages ship an affected version, including getformwork/formwork. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
getformwork/formwork Packagist | From 2.0.0 | 2.3.4 |
getformwork/formwork Packagist | From 2.0.0 | 2.3.4 |
Products include Formwork Project Formwork.
How do I fix CVE-2026-27198?
Upgrade getformwork/formwork to 2.3.4 or later.
Is CVE-2026-27198 being exploited?
There is no known exploitation of CVE-2026-27198 in the wild and no public exploit code.
Other vulnerabilities in getformwork formwork
Sources
Also known as GHSA-34p4-7w83-35g2.