Advisory

GHSA-34p4-7w83-35g2

Also known as: CVE-2026-27198

Summary

Formwork Improperly Managed Privileges in User creation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-19 20:31 UTC
Modified
2026-02-23 23:43 UTC

Affected packages and fixes

getformwork/formwork

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.3.4 (ecosystem)

Fixed versions

2.3.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences