A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-40061

CVE-2026-40061: BIG-IP DNS Privilege Escalation Flaw

CVE-2026-40061 is a privilege escalation vulnerability in BIG-IP DNS that allows authenticated administrators to execute arbitrary system commands with elevated privileges. This article covers technical details, impact, and mitigation.

Published: May 17, 2026

CVE-2026-40061 Overview

CVE-2026-40061 is a command injection vulnerability [CWE-77] in F5 BIG-IP when the DNS module is provisioned. An undisclosed iControl REST endpoint and BIG-IP TMOS Shell (tmsh) command fail to properly sanitize input, allowing authenticated attackers with the Resource Administrator or Administrator role to execute arbitrary system commands at elevated privileges. In Appliance mode deployments, successful exploitation crosses a security boundary that is otherwise intended to restrict administrative shell access. Software versions that have reached End of Technical Support (EoTS) were not evaluated by F5.

Critical Impact

Authenticated administrators can escalate privileges and execute arbitrary system commands on BIG-IP devices with DNS provisioned, bypassing Appliance mode restrictions.

Affected Products

  • F5 BIG-IP with the DNS module provisioned
  • F5 BIG-IP TMOS Shell (tmsh)
  • F5 BIG-IP iControl REST interface

Discovery Timeline

  • 2026-05-13 - CVE-2026-40061 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-40061

Vulnerability Analysis

The flaw resides in an undisclosed tmsh command and a corresponding iControl REST endpoint that becomes reachable when BIG-IP DNS is provisioned. The command path passes attacker-influenced input to the underlying operating system without adequate neutralization of shell metacharacters, mapping to [CWE-77] Improper Neutralization of Special Elements used in a Command. An authenticated attacker holding the Resource Administrator or Administrator role can inject additional commands that execute with privileges higher than the role normally permits. In Appliance mode, where direct shell access is intentionally restricted to preserve a hardened security boundary, this primitive enables the attacker to break out of the restricted management context and run arbitrary commands as a higher-privilege system identity.

Root Cause

The root cause is unsafe construction of an operating system command from user-controllable parameters supplied through tmsh or the iControl REST API. Input that should be treated as data is concatenated into a command string and dispatched to a shell, allowing metacharacter-driven command chaining.

Attack Vector

Exploitation requires network access to the management interface and valid credentials for an account with Resource Administrator or Administrator privileges. The attacker sends a crafted iControl REST request or invokes the affected tmsh command with payload-bearing arguments. The injected commands execute outside the constraints of the user's assigned role and, in Appliance mode, outside the intended security boundary. No public proof-of-concept is currently available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

No verified exploit code is publicly available. Refer to the F5 Security Advisory K000160788 for vendor technical details.

Detection Methods for CVE-2026-40061

Indicators of Compromise

  • Unexpected tmsh command invocations containing shell metacharacters such as ;, |, &, backticks, or $()
  • iControl REST requests to DNS-related endpoints originating from unusual source addresses or service accounts
  • New or modified files in system directories following administrative API activity
  • Audit log entries showing privileged command execution that does not correlate with documented change tickets

Detection Strategies

  • Enable verbose iControl REST audit logging and forward /var/log/audit and /var/log/restjavad*.log to a central log platform for correlation.
  • Baseline normal tmsh usage per administrator and alert on commands containing shell injection patterns or atypical argument structures.
  • Restrict management interface exposure and monitor for authentication from accounts holding Resource Administrator or Administrator roles outside business hours.

Monitoring Recommendations

  • Alert on iControl REST POST/PUT calls to DNS module endpoints that include encoded shell metacharacters in JSON bodies or query parameters.
  • Monitor child processes spawned by restjavad, tmsh, and related management daemons for shells (/bin/sh, /bin/bash) or interpreters that are not part of expected workflows.
  • Track creation of cron entries, SSH keys, or setuid binaries on BIG-IP appliances after administrative sessions.

How to Mitigate CVE-2026-40061

Immediate Actions Required

  • Apply the fixed software versions published in F5 Security Advisory K000160788 as soon as a maintenance window permits.
  • Audit accounts assigned the Resource Administrator and Administrator roles, removing or downgrading any that do not require that level of access.
  • Rotate credentials and API tokens for any administrative account that may have been exposed.
  • Restrict management plane access to a dedicated out-of-band network and a small set of jump hosts.

Patch Information

F5 has published patched versions in security advisory K000160788. Versions that have reached End of Technical Support were not evaluated and should be upgraded to a supported, patched release. Consult the advisory for the version matrix that applies to your branch and platform.

Workarounds

  • If immediate patching is not possible, limit the number of users assigned Resource Administrator or Administrator roles to the minimum operationally required.
  • Block iControl REST access from any network segment that does not require it using management interface access control lists.
  • For deployments where BIG-IP DNS is not required, consider de-provisioning the DNS module until the patch can be applied.
  • Require multi-factor authentication and source IP allow-listing for all administrative access to the BIG-IP management interface.
bash
# Configuration example: restrict management access by source
tmsh modify sys httpd allow replace-all-with { 10.0.0.0/24 192.168.50.10/32 }
tmsh save sys config

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechBig Ip

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-77
  • Technical References
  • F5 Security Advisory K000160788
  • Related CVEs
  • CVE-2026-41953: BIG-IP Privilege Escalation Vulnerability

  • CVE-2026-42919: BIG-IP Privilege Escalation Vulnerability

  • CVE-2026-41217: BIG-IP TMOS Privilege Escalation Flaw

  • CVE-2026-40698: BIG-IP Privilege Escalation Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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