The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2021-47761

CVE-2021-47761: MilleGPG5 Privilege Escalation Flaw

CVE-2021-47761 is a local privilege escalation vulnerability in MilleGPG5 5.7.2 that lets authenticated users replace MariaDB executables with malicious code running at system level upon restart.

Published: January 23, 2026

CVE-2021-47761 Overview

CVE-2021-47761 is a local privilege escalation vulnerability affecting MilleGPG5 version 5.7.2. The vulnerability exists due to insecure file permissions (CWE-276) that allow authenticated users to modify service executable files in the MariaDB bin directory. An attacker with local access can replace the mysqld.exe with a malicious executable, which will execute with SYSTEM privileges when the computer restarts.

Critical Impact

Authenticated local users can escalate privileges to SYSTEM level by replacing the MariaDB service executable, enabling complete system compromise upon restart.

Affected Products

  • MilleGPG5 5.7.2
  • MariaDB bin directory components bundled with MilleGPG5
  • Windows systems running vulnerable MilleGPG5 installations

Discovery Timeline

  • 2026-01-15 - CVE CVE-2021-47761 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2021-47761

Vulnerability Analysis

This vulnerability stems from improper permission configuration (CWE-276: Incorrect Default Permissions) in the MilleGPG5 application. The MariaDB bin directory installed as part of MilleGPG5 5.7.2 contains overly permissive access controls that allow low-privileged authenticated users to write to the directory and modify executable files.

The core issue is that the mysqld.exe service executable can be replaced by any authenticated user on the system. Since the MariaDB service runs with SYSTEM privileges and automatically starts during system boot, this creates a trivial privilege escalation path. An attacker can substitute the legitimate service binary with a malicious payload, which will then execute with the highest available Windows privileges upon system restart.

Root Cause

The root cause is insecure default file permissions on the MariaDB bin directory where mysqld.exe resides. During installation, MilleGPG5 5.7.2 fails to properly restrict write access to this directory, allowing authenticated users to modify critical service executables that run with elevated privileges.

Attack Vector

The attack vector is local, requiring an authenticated user account on the target system. The exploitation process involves several steps:

  1. The attacker identifies the MilleGPG5 installation and locates the MariaDB bin directory
  2. The attacker creates or obtains a malicious executable designed to run with SYSTEM privileges
  3. The attacker replaces mysqld.exe with the malicious payload
  4. Upon system restart, the Windows service manager launches the malicious binary as the MariaDB service
  5. The malicious code executes with SYSTEM-level privileges, providing complete system compromise

This attack requires no special tools beyond filesystem access and basic knowledge of Windows service behavior. Technical details and proof-of-concept information are available through the Exploit-DB #50558 entry.

Detection Methods for CVE-2021-47761

Indicators of Compromise

  • Unexpected modifications to mysqld.exe in the MariaDB bin directory
  • Hash mismatches for MariaDB service executables compared to known-good baselines
  • Unusual processes spawned by the MariaDB service after system restart
  • Unauthorized write events to the MilleGPG5 MariaDB bin directory

Detection Strategies

  • Implement file integrity monitoring (FIM) on the MariaDB bin directory and all service executables
  • Monitor Windows Event Logs for changes to service binary paths (Event ID 7040, 7045)
  • Configure endpoint detection rules to alert on executable replacements in service directories
  • Establish baseline hashes for legitimate MilleGPG5 binaries and monitor for deviations

Monitoring Recommendations

  • Enable detailed auditing on the MilleGPG5 installation directory, specifically write and delete operations
  • Monitor service startup events for the MariaDB service to detect anomalous behavior
  • Implement process monitoring to identify unexpected child processes spawned by mysqld.exe
  • Review access control lists on service directories during regular security assessments

How to Mitigate CVE-2021-47761

Immediate Actions Required

  • Audit file permissions on the MariaDB bin directory within MilleGPG5 installations
  • Restrict write access to service executable directories to Administrators and SYSTEM only
  • Verify the integrity of mysqld.exe by comparing against known-good hashes
  • Consider temporarily disabling the MariaDB service if not required for operations

Patch Information

Contact the vendor for updated software or security patches. Refer to the MilleGPG product page for official advisories and updates. No vendor patch information was available in the CVE data at the time of publication.

Workarounds

  • Manually correct file permissions on the MariaDB bin directory to restrict write access to privileged accounts only
  • Implement application whitelisting to prevent unauthorized executables from running as services
  • Deploy file integrity monitoring solutions to detect and alert on unauthorized modifications
  • Use Windows Local Security Policy to restrict which users can modify files in service directories
bash
# Windows PowerShell - Restrict permissions on MariaDB bin directory
# Run as Administrator to secure the vulnerable directory
icacls "C:\Program Files\MilleGPG5\MariaDB\bin" /inheritance:r
icacls "C:\Program Files\MilleGPG5\MariaDB\bin" /grant:r "SYSTEM:(OI)(CI)F"
icacls "C:\Program Files\MilleGPG5\MariaDB\bin" /grant:r "Administrators:(OI)(CI)F"
icacls "C:\Program Files\MilleGPG5\MariaDB\bin" /grant:r "Users:(OI)(CI)RX"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMariadb

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-276
  • Technical References
  • Millegpg Security Overview

  • Exploit-DB #50558
  • Related CVEs
  • CVE-2022-24051: MariaDB Privilege Escalation Vulnerability

  • CVE-2022-24048: MariaDB Privilege Escalation Vulnerability

  • CVE-2026-32710: MariaDB Server RCE Vulnerability

  • CVE-2026-3494: MariaDB Audit Logging Bypass 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