Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27198

CVE-2026-27198: Formwork CMS Privilege Escalation Flaw

CVE-2026-27198 is a privilege escalation vulnerability in Formwork CMS that allows editor-level users to create admin accounts. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-27198 Overview

CVE-2026-27198 is a privilege escalation vulnerability affecting Formwork, a flat file-based Content Management System (CMS). The vulnerability exists in versions 2.0.0 through 2.3.3 where the application fails to properly enforce role-based authorization during account creation. Although the system validates that a specified role exists, it does not verify whether the current user has sufficient privileges to assign highly privileged roles such as admin. This allows an authenticated user with the editor role to create a new account with administrative privileges, leading to a complete compromise of the CMS.

Critical Impact

An authenticated attacker with minimal privileges (editor role) can escalate to full administrative access, enabling complete control over the CMS including content manipulation, user management, and system configuration.

Affected Products

  • Formwork CMS versions 2.0.0 through 2.3.3
  • Self-hosted Formwork installations using default user management
  • Environments with multiple user roles configured

Discovery Timeline

  • 2026-02-21 - CVE-2026-27198 published to NVD
  • 2026-02-23 - Last updated in NVD database

Technical Details for CVE-2026-27198

Vulnerability Analysis

This vulnerability is classified under CWE-269 (Improper Privilege Management). The root issue lies in the UsersController.php file within the Formwork panel, where the user creation logic accepts a role parameter from form data without verifying whether the requesting user has the authority to assign that role.

When an editor-level user submits a request to create a new user account, the system checks whether the specified role exists in the roles registry but fails to validate if the current user should be allowed to assign roles with higher privileges than their own. This architectural flaw enables vertical privilege escalation through the legitimate account creation interface.

Root Cause

The vulnerability stems from missing authorization checks in the user creation workflow. The original code retrieves the role directly from form data using $form->data()->get('role', 'user') and only validates that the role exists via $this->site->users()->roles()->has($roleId). The critical missing step is verifying that the authenticated user's privilege level permits assigning the requested role.

Attack Vector

The attack is network-accessible and requires low-privilege authentication. An attacker with editor credentials can exploit this vulnerability by:

  1. Authenticating to the Formwork admin panel with editor credentials
  2. Navigating to the user creation interface
  3. Intercepting or modifying the form submission to specify role=admin
  4. Submitting the request to create a new administrative user
  5. Logging in with the newly created admin account

The following patch demonstrates the security fix implemented in version 2.3.4:

php
             return $this->redirect($this->generateRoute('panel.users'));
         }
 
-        // Get the role
-        $roleId = $form->data()->get('role', 'user');
+        $currentUser = $this->panel->user();
 
-        if (!$this->site->users()->roles()->has($roleId)) {
+        // Prevent non-admins from escalating privileges by assigning a role different from their own
+        $role = $currentUser->isAdmin() ? $form->data()->get('role') : $currentUser->role()->id();
+
+        if (!$this->site->users()->roles()->has($role)) {
             $this->panel->notify($this->translate('panel.users.user.cannotCreate.invalidRole'), 'error');
             return $this->redirect($this->generateRoute('panel.users'));
         }
 
         $user = $userFactory->make([]);
 
         try {
-            $user->setMultiple($form->data()->toArray());
+            $user->setMultiple([...$form->data()->toArray(), 'role' => $role]);
             $user->save();
         } catch (TranslatedException $e) {
             $this->panel->notify($this->translate($e->getLanguageString()), 'error');

Source: GitHub Commit Reference

The fix introduces a check using $currentUser->isAdmin() to determine whether the requesting user can specify arbitrary roles. Non-admin users are now restricted to creating accounts with their own role level, preventing privilege escalation.

Detection Methods for CVE-2026-27198

Indicators of Compromise

  • Unexpected administrative user accounts in the Formwork user database
  • User creation logs showing accounts with admin role created by non-admin users
  • Authentication events from newly created admin accounts following suspicious user creation activity
  • Audit trail anomalies showing privilege changes without corresponding admin approval

Detection Strategies

  • Monitor user creation events and alert when non-admin users create accounts with elevated privileges
  • Implement log analysis rules to detect role assignment patterns inconsistent with user permissions
  • Review the Formwork user directory for recently created accounts with administrative privileges
  • Enable verbose logging for the admin panel to capture role assignment attempts

Monitoring Recommendations

  • Configure SIEM rules to correlate user creation events with the creating user's role level
  • Establish baseline behavior for user management operations in the CMS
  • Implement file integrity monitoring on Formwork user configuration files
  • Set up alerts for authentication from newly created administrative accounts

How to Mitigate CVE-2026-27198

Immediate Actions Required

  • Upgrade Formwork CMS to version 2.3.4 or later immediately
  • Audit existing user accounts for unauthorized administrative privileges
  • Review user creation logs for evidence of prior exploitation
  • Temporarily restrict user creation privileges to trusted administrators only

Patch Information

The vulnerability has been addressed in Formwork version 2.3.4. The security patch modifies the UsersController.php file to enforce proper authorization checks during account creation. Non-admin users are now restricted to creating accounts with their own role level, preventing privilege escalation attacks.

For detailed patch information, refer to:

  • GitHub Release Version 2.3.4
  • GitHub Security Advisory GHSA-34p4-7w83-35g2

Workarounds

  • Disable user creation functionality for non-admin users until the patch is applied
  • Implement network-level access controls to restrict admin panel access to trusted IP addresses
  • Remove or disable editor-level accounts that do not require user creation privileges
  • Monitor and log all user management operations for manual review
bash
# Configuration example
# Restrict admin panel access at the web server level (Apache example)
<Directory "/path/to/formwork/panel">
    Require ip 10.0.0.0/8 192.168.1.0/24
</Directory>

# Or using .htaccess if permitted
# Deny access to user creation endpoint for non-admin IPs
<Files "users">
    Require ip 10.0.0.0/8
</Files>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechFormwork

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-269
  • Technical References
  • GitHub Commit Reference

  • GitHub Release Version 2.3.4

  • GitHub Security Advisory GHSA-34p4-7w83-35g2
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English