CVE-2026-27198: Getformwork/formwork Formwork Improperly Managed Privileges Vulnerability
HIGHCVE-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
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).
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.
Upgrade getformwork/formwork to 2.3.4
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
CVE-2026-27198 Affected Getformwork/formwork Versions
1 component(s)| 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?
Which Getformwork/formwork versions are affected?
What version fixes CVE-2026-27198?
Is getformwork/formwork affected?
What is the CVSS score of CVE-2026-27198?
What CWE is associated with CVE-2026-27198?
How can I check Packagist dependencies for CVE-2026-27198?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}