GHSA-34p4-7w83-35g2
Formwork Improperly Managed Privileges in User creation
Quick fix
GHSA-34p4-7w83-35g2 — getformwork/formwork: upgrade to the fixed version with the command below.
composer require getformwork/formwork:^2.3.4Details
### 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](https://github.com/getformwork/formwork/releases/tag/2.3.4) properly assigns roles on user creation.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0Fixed in: 2.3.4composer require getformwork/formwork:^2.3.4References
- https://github.com/getformwork/formwork/security/advisories/GHSA-34p4-7w83-35g2[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-27198[ADVISORY]
- https://github.com/getformwork/formwork/commit/19390a0b408e084bdef86f3581e050f3ee51e7cd[WEB]
- https://github.com/getformwork/formwork[PACKAGE]
- https://github.com/getformwork/formwork/releases/tag/2.3.4[WEB]