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-2022-3787

CVE-2022-3787: Red Hat Device-mapper-multipath Escalation

CVE-2022-3787 is a privilege escalation vulnerability in Red Hat device-mapper-multipath that allows local users to gain root access by manipulating UNIX domain sockets. This post covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2022-3787 Overview

A local privilege escalation vulnerability was discovered in the device-mapper-multipath component, which is used to manage multipath block devices in Linux systems. This vulnerability allows local users to obtain root access by exploiting a flaw in access control handling. The issue can be exploited alone or in conjunction with CVE-2022-41973 for enhanced attack capabilities.

Local users with the ability to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. The root cause is an improper handling of repeated keywords, where arithmetic ADD is used instead of bitwise OR when processing options, leading to authorization bypass and ultimately local privilege escalation to root.

Critical Impact

Local attackers can escalate privileges to root by manipulating UNIX domain socket communications with the multipathd daemon, potentially gaining complete control over affected Red Hat Enterprise Linux systems.

Affected Products

  • Red Hat device-mapper-multipath
  • Red Hat Enterprise Linux 8.7
  • Red Hat Enterprise Linux 9.1

Discovery Timeline

  • 2023-03-29 - CVE-2022-3787 published to NVD
  • 2025-02-18 - Last updated in NVD database

Technical Details for CVE-2022-3787

Vulnerability Analysis

This vulnerability falls under the category of Authorization Bypass leading to Local Privilege Escalation. The device-mapper-multipath component is responsible for managing multipath I/O configurations, which allows systems to use multiple physical paths between a server and storage devices for redundancy and performance.

The core issue lies in how the multipathd daemon processes keyword options received through UNIX domain sockets. When parsing command options, the code uses arithmetic addition (ADD) instead of bitwise OR operations to combine flags. This implementation flaw means that by repeating certain keywords, an attacker can cause integer overflow or manipulation of the resulting flag values, effectively bypassing intended access control restrictions.

Once access controls are circumvented, an attacker with local access can manipulate the multipath configuration in ways that should be restricted to privileged users. This manipulation can be leveraged to achieve full root access on the affected system.

Root Cause

The vulnerability stems from an improper authorization check implementation (CWE-285: Improper Authorization). The multipathd daemon fails to properly validate access permissions when processing repeated keywords in socket communications. The use of arithmetic ADD instead of bitwise OR for combining authorization flags creates a logic flaw that allows attackers to craft malicious inputs that bypass the intended security checks.

Attack Vector

The attack requires local access to the system with the ability to write to the UNIX domain socket used by multipathd. An attacker would craft specially formatted messages with repeated keywords that exploit the arithmetic handling flaw. When the daemon processes these messages, the improper flag calculation results in elevated permissions being granted, allowing the attacker to execute privileged operations.

The vulnerability can be combined with CVE-2022-41973 for a more robust exploitation chain. The local nature of this attack means physical access or an existing foothold on the system is required, but once exploited, the attacker gains full root privileges.

Detection Methods for CVE-2022-3787

Indicators of Compromise

  • Unusual activity on UNIX domain sockets associated with multipathd (typically /run/multipathd.sock)
  • Unexpected multipath configuration changes not initiated by authorized administrators
  • Suspicious local processes attempting repeated connections to multipathd socket

Detection Strategies

  • Monitor system logs for unusual multipathd daemon activity or error messages indicating malformed requests
  • Implement file integrity monitoring on multipath configuration files (/etc/multipath.conf)
  • Deploy endpoint detection tools to identify privilege escalation attempts from non-privileged user accounts
  • Track socket communication patterns for anomalous keyword repetition in multipathd requests

Monitoring Recommendations

  • Enable audit logging for socket operations related to multipathd using auditd
  • Monitor for unexpected process privilege changes using tools like SentinelOne's behavioral AI
  • Review system authentication logs for successful privilege escalations following multipathd activity
  • Implement real-time alerting on changes to multipath device configurations

How to Mitigate CVE-2022-3787

Immediate Actions Required

  • Update device-mapper-multipath to the latest patched version provided by Red Hat
  • Restrict UNIX domain socket permissions for multipathd to limit access to authorized users only
  • Audit local user accounts and remove unnecessary access to systems running multipath configurations
  • Apply the principle of least privilege to all accounts on affected systems

Patch Information

Red Hat has acknowledged this vulnerability and tracks it in Red Hat Bug Report #2138959. Administrators should apply the security updates provided by Red Hat for Enterprise Linux 8.7 and 9.1 as soon as they become available. Consult the Red Hat Customer Portal for the latest security advisories and patch availability for your specific distribution version.

Workarounds

  • Restrict access to the multipathd UNIX domain socket by modifying file permissions to allow only root access
  • Disable multipathd service if multipath functionality is not required in your environment
  • Implement network segmentation to isolate systems requiring multipath until patches can be applied
  • Use mandatory access control (SELinux policies) to restrict which processes can communicate with multipathd
bash
# Restrict multipathd socket permissions
chmod 600 /run/multipathd.sock
chown root:root /run/multipathd.sock

# Verify multipath service status and disable if not needed
systemctl status multipathd
systemctl disable --now multipathd

# Check SELinux enforcement status
getenforce

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechRedhat

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

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

  • NVD-CWE-Other
  • Vendor Resources
  • Red Hat Bug Report #2138959
  • Related CVEs
  • CVE-2023-3972: Insights-client Privilege Escalation Flaw

  • CVE-2025-9784: Apache Camel Spring Boot DoS Vulnerability

  • CVE-2025-5318: OpenShift Information Disclosure Bug

  • CVE-2022-0996: 389 Directory Server Auth Bypass Flaw
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