CVE-2026-27198
JSON

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 packageVersionsReported by
getformwork formwork>= 2.0.0, < 2.3.4CVE List
getformwork/formwork (Packagist)from 2.0.0 before 2.3.4GitHub Advisory Database
formwork_project formworkfrom 2.0.0 before 2.3.4NVD

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-269

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

Sources

SourceRecordLicence
CVE ListCVE-2026-27198 changed 2026-02-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-34p4-7w83-35g2 changed 2026-02-23CC-BY-4.0
NVDCVE-2026-27198 changed 2026-06-17Public domain