8.8high
Formwork Improperly Manages Privileges During User Creation
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-34p4-7w83-35g2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getformwork formwork | >= 2.0.0, < 2.3.4 | CVE List |
| getformwork/formwork (Packagist) | from 2.0.0 before 2.3.4 | GitHub Advisory Database |
| formwork_project formwork | from 2.0.0 before 2.3.4 | NVD |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Formwork es un Sistema de Gestión de Contenidos (CMS) basado en archivos planos. En las versiones 2.0.0 a 2.3.3, la aplicación no logra aplicar correctamente la autorización basada en roles durante la creación de cuentas. Aunque el sistema valida que el rol especificado existe, no verifica si el usuario actual tiene privilegios suficientes para asignar roles altamente privilegiados como 'admin'. Como resultado, un usuario autenticado con el rol de 'editor' puede crear una nueva cuenta con privilegios administrativos, lo que lleva a un acceso administrativo completo y a un compromiso total del CMS. Este problema ha sido solucionado en la versión 2.3.4.
References
| https://github.com/getformwork/formwork/security/advisories/GHSA-34p4-7w83-35g2 | patch, vendor-advisory, web | |
| https://github.com/getformwork/formwork/commit/19390a0b408e084bdef86f3581e050f3ee51e7cd | patch, web | |
| https://github.com/getformwork/formwork/releases/tag/2.3.4 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-27198 | advisory | |
| https://github.com/getformwork/formwork | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27198 changed 2026-02-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-34p4-7w83-35g2 changed 2026-02-23 | CC-BY-4.0 |
| NVD | CVE-2026-27198 changed 2026-06-17 | Public domain |