CVE-2026-27198: Formwork Improperly Managed Privileges in User creation
Summary 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.
Published Feb 19, 2026 · Updated Feb 23, 2026
Affected packages
getformwork/formwork
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.0.0, <= 2.3.3
- Fixed in
- 2.3.4
- Check
composer show getformwork/formwork
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
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.
Impact
Successful exploitation allows an attacker to:
- Gain full administrative control over the CMS.
- Access all site data and user information.
- Modify system configuration and security settings.
- Create, modify, or delete any user account, including legitimate administrators.
Patches
Formwork 2.3.4 properly assigns roles on user creation.
Credited to G3XAR.
References
- https://github.com/getformwork/formwork/security/advisories/GHSA-34p4-7w83-35g2
- https://github.com/getformwork/formwork/commit/19390a0b408e084bdef86f3581e050f3ee51e7cd
- https://github.com/getformwork/formwork/releases/tag/2.3.4
- https://nvd.nist.gov/vuln/detail/CVE-2026-27198
- https://github.com/advisories/GHSA-34p4-7w83-35g2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2025-65956
Formwork CMS has Stored Cross-Site Scripting Vulnerebility in Blog Tags
medium6.5Nov 24, 2025GHSA-c85w-x26q-ch87
Formwork improperly validates input of User role preventing site and panel availability
high8.2Mar 1, 2025GHSA-vf6x-59hh-332f
Formwork has a cross-site scripting (XSS) vulnerability in Site title
medium4.7Mar 1, 2025CVE-2024-37160
Cross-site scripting (XSS) vulnerability in Description metadata
medium4.8Jun 7, 2024CVE-2024-35621
formwork Cross-site scripting vulnerability in Markdown fields
medium4.8May 28, 2024
