banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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-28484

CVE-2026-28484: OpenClaw Option Injection RCE Vulnerability

CVE-2026-28484 is an option injection RCE flaw in OpenClaw versions before 2026.2.15 affecting git-hooks/pre-commit. Attackers can stage ignored files via malicious filenames. This article covers technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2026-28484 Overview

CVE-2026-28484 is a command injection vulnerability affecting OpenClaw versions prior to 2026.2.15. The vulnerability exists in the git-hooks/pre-commit hook, which fails to properly sanitize filenames when processing staged files. Attackers can exploit this flaw by creating maliciously-named files beginning with dashes, enabling them to inject git flags and potentially add sensitive ignored files like .env to git history.

Critical Impact

This vulnerability allows attackers to bypass gitignore rules and inject arbitrary git command flags through crafted filenames, potentially exposing sensitive credentials and configuration files committed to version control.

Affected Products

  • OpenClaw versions prior to 2026.2.15

Discovery Timeline

  • 2026-03-05 - CVE-2026-28484 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-28484

Vulnerability Analysis

This command injection vulnerability (CWE-77) occurs due to improper input validation in the pre-commit hook script. The vulnerable code pipes filenames through xargs to git add without using the standard -- separator that distinguishes options from positional arguments. This design flaw allows an attacker with the ability to create files in the repository to craft filenames that begin with dash characters, which are then interpreted as git command-line flags rather than file paths.

The impact of successful exploitation is significant. An attacker can force the staging of files that would normally be excluded by .gitignore rules, such as .env files containing API keys, database credentials, or other sensitive configuration data. Once these files are committed and pushed, the credentials become exposed in the repository history.

Root Cause

The root cause is the missing -- argument separator in the shell pipeline that processes filenames. In Unix/Linux command-line conventions, the -- separator signals the end of command options, ensuring that subsequent arguments are treated as literal values even if they begin with dashes. Without this separator, a filename like -f or --force is misinterpreted as a command flag, enabling option injection attacks.

Attack Vector

The attack vector is network-based, requiring the attacker to introduce a maliciously-named file into a repository that uses the vulnerable OpenClaw pre-commit hook. This could occur through:

  1. A malicious contributor submitting files with crafted names
  2. Compromised dependencies or build artifacts with injected filenames
  3. User-controlled input that influences file creation

When the pre-commit hook executes, the crafted filename is passed through xargs without proper sanitization, injecting attacker-controlled flags into the git add command. This can force ignored files to be staged, bypassing repository security configurations.

The vulnerability mechanism involves the unsafe piping of filenames through xargs to git add without the -- separator. When a file is created with a name starting with a dash (such as -A), the pre-commit hook interprets this as a git flag rather than a filename, allowing attackers to add all files including those in .gitignore. For complete technical details, see the GitHub Security Advisory.

Detection Methods for CVE-2026-28484

Indicators of Compromise

  • Presence of files with names beginning with dashes (e.g., -A, -f, --force) in repository directories
  • Unexpected sensitive files (.env, .secrets, credential files) appearing in git staging area or commit history
  • Anomalous git commit patterns showing previously-ignored files being staged

Detection Strategies

  • Audit repository history for commits containing files that should be in .gitignore
  • Implement file system monitoring to detect creation of dash-prefixed filenames
  • Review pre-commit hook execution logs for unusual git add behavior
  • Scan repositories for exposed credentials that may have been inadvertently committed

Monitoring Recommendations

  • Enable git audit logging to track all staging and commit operations
  • Implement secret scanning tools to detect accidentally committed credentials
  • Monitor for files with suspicious naming patterns in pull requests and commits
  • Set up alerts for modifications to .gitignore or pre-commit hook files

How to Mitigate CVE-2026-28484

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.15 or later immediately
  • Audit existing repositories for any exposed sensitive files in git history
  • Review recent commits for signs of exploitation
  • Rotate any credentials that may have been inadvertently committed

Patch Information

OpenClaw has released security patches to address this vulnerability. The fix implements proper argument separation using -- in the pre-commit hook to prevent option injection. The patches are available at:

  • Patch Commit b88f377
  • Patch Commit ba84b12

Additional information is available in the GitHub Security Advisory and the VulnCheck Advisory.

Workarounds

  • Manually modify the pre-commit hook to add -- before filename arguments in xargs/git add pipelines
  • Implement file naming policies that reject files beginning with dash characters
  • Use repository scanning tools to block commits containing suspicious filenames
  • Temporarily disable the vulnerable pre-commit hook until patches can be applied
bash
# Configuration example
# Manually fix the pre-commit hook by adding -- separator
# Before (vulnerable):
# git diff --cached --name-only | xargs git add
# After (fixed):
git diff --cached --name-only | xargs git add --

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenclaw

  • SeverityCRITICAL

  • CVSS Score9.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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-77
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory

  • VulnCheck Advisory
  • Related CVEs
  • CVE-2026-29610: OpenClaw Command Hijacking RCE Vulnerability

  • CVE-2026-28470: OpenClaw Allowlist Bypass RCE Vulnerability

  • CVE-2026-28456: OpenClaw Gateway RCE Vulnerability

  • CVE-2026-28393: OpenClaw Path Traversal RCE Vulnerability
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
  • English
  • 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