CVE-2026-27198: Getformwork/formwork Formwork Improperly Managed Privileges Vulnerability

HIGH
Advisory Identifier: GHSA-34p4-7w83-35g2
CVSS 8.8
CWE-269
Published
Advisory Summary

CVE-2026-27198 is a HIGH (CVSS 8.8) formwork improperly managed privileges vulnerability (CWE-269: Improper Privilege Management) affecting Getformwork/formwork libraries in the Packagist ecosystem. The issue involves formwork improperly managed privileges in user creation. Remediation is available by upgrading affected packages to version 2.3.4.

CVE-2026-27198 at a Glance

CVE Identifier CVE-2026-27198
GHSA Identifier GHSA-34p4-7w83-35g2
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-269: Improper Privilege Management
Affected Product Getformwork/formwork
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-27198

To remediate this vulnerability, upgrade all affected Getformwork/formwork dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

getformwork/formwork fixed: 2.3.4
Upgrade getformwork/formwork to 2.3.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for getformwork/formwork

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-27198, inspect your project dependencies for Getformwork/formwork:

inspect dependencies for getformwork/formwork

Analyze the terminal output to locate any version of Getformwork/formwork in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Getformwork/formwork, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-27198 Affected Getformwork/formwork Versions

1 component(s)
Fixed Versions:
2.3.4
Product / Package Ecosystem Affected Versions Fixed Version
getformwork/formwork
Packagist
≥ 2.0.0
< 2.3.4
2.3.4

References

Frequently Asked Questions

What is CVE-2026-27198?
CVE-2026-27198 is a security vulnerability in Getformwork/formwork involving Formwork Improperly Managed Privileges in User creation under CWE-269: Improper Privilege Management.
Which Getformwork/formwork versions are affected?
Affected versions include releases prior to 2.3.4 across affected packages: getformwork/formwork.
What version fixes CVE-2026-27198?
Upgrading to 2.3.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is getformwork/formwork affected?
Yes, getformwork/formwork is affected in releases prior to 2.3.4. Upgrade your dependency to 2.3.4 or later.
What is the CVSS score of CVE-2026-27198?
CVE-2026-27198 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-27198?
CVE-2026-27198 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Packagist dependencies for CVE-2026-27198?
Run the dependency tree command: 'inspect dependencies for getformwork/formwork'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-34p4-7w83-35g2",
  "modified" : "2026-02-23T22:27:29Z",
  "published" : "2026-02-19T20:31:07Z",
  "aliases" : [ "CVE-2026-27198" ],
  "summary" : "Formwork Improperly Managed Privileges in User creation",
  "details" : "### Summary\n\nThe 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.\n\n### Impact\n\nSuccessful exploitation allows an attacker to:\n- Gain full administrative control over the CMS.\n- Access all site data and user information.  \n- Modify system configuration and security settings.\n- Create, modify, or delete any user account, including legitimate administrators.\n\n### Patches\n\n[Formwork 2.3.4](https://github.com/getformwork/formwork/releases/tag/2.3.4)  properly assigns roles on user creation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "getformwork/formwork"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.3.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.3.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/getformwork/formwork/security/advisories/GHSA-34p4-7w83-35g2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27198"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/getformwork/formwork/commit/19390a0b408e084bdef86f3581e050f3ee51e7cd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/getformwork/formwork"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/getformwork/formwork/releases/tag/2.3.4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-19T20:31:07Z",
    "nvd_published_at" : "2026-02-21T06:17:00Z"
  }
}