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-31749

CVE-2022-31749: WatchGuard Fireware Path Traversal Flaw

CVE-2022-31749 is a path traversal vulnerability in WatchGuard Fireware OS that allows authenticated attackers to upload or read files in arbitrary locations. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2022-31749 Overview

An argument injection vulnerability exists in the diagnose and import pac commands in WatchGuard Fireware OS. This flaw allows an authenticated remote attacker with unprivileged credentials to upload or read files to limited, arbitrary locations on WatchGuard Firebox and XTM appliances. The vulnerability affects versions before 12.8.1, 12.1.4, and 12.5.10.

Critical Impact

Authenticated attackers can exploit argument injection in diagnostic commands to perform unauthorized file read and write operations on WatchGuard firewall appliances, potentially leading to configuration theft or malicious file placement.

Affected Products

  • WatchGuard Fireware OS before version 12.8.1
  • WatchGuard Fireware OS before version 12.1.4
  • WatchGuard Fireware OS before version 12.5.10
  • WatchGuard Firebox appliances
  • WatchGuard XTM appliances

Discovery Timeline

  • 2025-01-28 - CVE CVE-2022-31749 published to NVD
  • 2025-01-28 - Last updated in NVD database

Technical Details for CVE-2022-31749

Vulnerability Analysis

This vulnerability is classified as CWE-88 (Improper Neutralization of Argument Delimiters in a Command), commonly known as argument injection. The flaw exists within the diagnose and import pac commands available through the WatchGuard Fireware OS management interface. When authenticated users execute these commands, the system fails to properly sanitize or validate command-line arguments, allowing malicious actors to inject additional arguments that alter the intended behavior of the underlying operations.

The vulnerability requires network access and authenticated credentials to exploit, though even unprivileged user accounts can leverage this weakness. While the scope is limited to the vulnerable system itself, successful exploitation enables attackers to read sensitive configuration files or write malicious files to specific locations on the appliance. This could facilitate further attacks, including persistence mechanisms or extraction of sensitive security configurations from the firewall.

Root Cause

The root cause lies in improper neutralization of argument delimiters within the diagnose and import pac command handlers. User-supplied input is passed to underlying system commands without adequate sanitization, allowing attackers to inject additional arguments. The command parsing logic fails to properly escape or validate special characters and argument separators, enabling manipulation of the command execution flow.

Attack Vector

The attack is conducted remotely over the network by an authenticated user. The attacker must first obtain valid credentials for the WatchGuard appliance, even with minimal privileges. Once authenticated, the attacker crafts malicious input to the vulnerable diagnose or import pac commands, injecting additional arguments that redirect file operations to arbitrary locations. This allows reading sensitive files from the system or writing attacker-controlled content to specific paths on the appliance.

The vulnerability mechanism involves supplying specially crafted arguments that break out of the intended command context. For detailed technical analysis, refer to the Rapid7 Blog Post which provides in-depth coverage of the exploitation mechanics.

Detection Methods for CVE-2022-31749

Indicators of Compromise

  • Unusual file access patterns in WatchGuard system logs, particularly involving the diagnose or import pac commands
  • Unexpected files appearing in restricted directories on the appliance
  • Authentication events followed by suspicious command execution from low-privilege accounts
  • Log entries showing abnormal argument patterns or special characters in diagnostic commands

Detection Strategies

  • Monitor WatchGuard appliance logs for commands containing unexpected argument sequences or path traversal patterns
  • Implement alerting on diagnose and import pac command usage, especially from accounts that would not normally use these functions
  • Deploy network monitoring to detect anomalous traffic patterns to the WatchGuard management interface
  • Review user account activity for privilege abuse patterns

Monitoring Recommendations

  • Enable verbose logging on WatchGuard Firebox and XTM appliances to capture detailed command execution records
  • Configure SIEM integration to correlate authentication events with subsequent command execution
  • Establish baseline behavior for administrative command usage to identify anomalies
  • Regularly audit files in sensitive directories for unauthorized modifications

How to Mitigate CVE-2022-31749

Immediate Actions Required

  • Update WatchGuard Fireware OS to version 12.8.1, 12.1.4, or 12.5.10 or later immediately
  • Review and restrict access to the WatchGuard management interface to trusted networks only
  • Audit user accounts and remove unnecessary privileged access from the appliance
  • Monitor for any signs of exploitation in historical logs

Patch Information

WatchGuard has released patched versions of Fireware OS that address this vulnerability. Organizations should upgrade to version 12.8.1, 12.1.4, or 12.5.10 or later depending on their current branch. Detailed patch information is available in the WatchGuard Security Advisory.

Workarounds

  • Restrict management interface access to trusted internal networks or VPN-only connections until patching is complete
  • Implement network segmentation to limit exposure of WatchGuard management interfaces
  • Enable multi-factor authentication for all administrative access to the appliance
  • Reduce the number of user accounts with access to diagnostic commands
bash
# Restrict management interface access (example network ACL)
# Apply on upstream network devices or WatchGuard policy configuration
# Limit access to specific trusted administrator IP ranges
# Consult WatchGuard documentation for specific configuration syntax

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWatchguard Fireware

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-88
  • Technical References
  • Rapid7 Blog Post

  • WatchGuard Security Advisory
  • Related CVEs
  • CVE-2026-4315: WatchGuard Fireware OS CSRF Vulnerability

  • CVE-2026-4266: WatchGuard Fireware OS RCE Vulnerability

  • CVE-2026-3342: WatchGuard Fireware OS RCE Vulnerability

  • CVE-2026-3343: WatchGuard Fireware XSS 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
  • 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