F5 BIG-IP and BIG-IQ iControl REST Unauthenticated Remote Code Execution (RCE) Vulnerability (CVE-2021-22986) Analysis and Mitigation Guide
Executive & SecOps Summary
SECOPS ASSESSMENTF5 BIG-IP (16.0.x, 15.1.x, 14.1.x, 13.1.x, 12.1.x) and BIG-IQ (7.1.0.x, 7.0.0.x) management interfaces running iControl REST.
Unauthenticated remote attackers can execute arbitrary system commands with elevated privileges, leading to complete compromise of the target device.
Immediately upgrade to the patched versions provided by F5 and restrict access to the iControl REST interface (TCP 443) from untrusted networks.
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Official Patch & Version Upgrade Commands
Follow F5 official advisories to upgrade to a patched release. Below are the standard CLI commands to install and activate a new software volume on BIG-IP.
# Verify the uploaded ISO image on the system
tmsh show sys software
# Install the patched image to a new volume (e.g., HD1.2)
tmsh install sys software image BIGIP-16.0.1.1.0.0.6.iso volume HD1.2
# Monitor the installation progress
watch tmsh show sys software status
# Reboot into the newly patched volume
tmsh reboot volume HD1.22. Temporary Workaround & Hardening Configuration
If immediate patching is not feasible, restrict access to the iControl REST interface using Self IP port lockdown or httpd allowed lists.
# Disable management access on Self IPs
tmsh modify net self-ip [Self_IP_Name] allow-service none
# Restrict httpd access to trusted administrative subnets only
tmsh modify sys httpd allow replace-all-with { 10.10.10.0/24 192.168.100.0/24 }
tmsh save sys config3. Log Audit & IoC Verification Commands
Inspect system logs for indicators of compromise (IoCs) related to unauthorized API calls.
# Search restjavad logs for suspicious bash utility execution and SSRF patterns
grep -E '/mgmt/tm/util/bash|X-F5-Auth-Token' /var/log/restjavad.*.log
# Check httpd access logs for unauthorized POST requests to management endpoints
grep -i 'POST /mgmt/' /var/log/httpd/httpd_errorsStop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access
Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.
Technical Root Cause & Exploitation Mechanics
1. Vulnerability Overview & Root Cause
CVE-2021-22986 is a critical unauthenticated remote code execution (RCE) vulnerability in the iControl REST interface of F5 BIG-IP and BIG-IQ appliances. The root cause lies in the improper authentication validation and Server-Side Request Forgery (SSRF, CWE-918) flaws within the internal API communication channels. An attacker can bypass authentication controls by sending specially crafted HTTP requests to the iControl REST endpoints, allowing them to execute administrative commands without valid credentials.
2. Exploitation Mechanics & Attack Scenario
Attackers target the exposed iControl REST API port (typically HTTPS 443). The exploitation flow generally proceeds as follows:
- The attacker targets internal utility endpoints such as
/mgmt/shared/authn/loginor/mgmt/tm/util/bash. - By manipulating headers like
X-F5-Auth-Tokenor leveraging SSRF to route requests vialocalhost, the attacker bypasses the authentication filter. - Once bypassed, the attacker sends a JSON payload containing arbitrary shell commands to the
util/bashendpoint. - The BIG-IP system executes the command with root privileges and returns the output to the attacker.
3. Infrastructure & Business Impact
With a CVSS score of 9.8 and inclusion in the CISA KEV catalog, this vulnerability represents an extreme risk to enterprise infrastructure. Because BIG-IP devices function as critical Application Delivery Controllers (ADCs) and load balancers, compromise allows attackers to perform lateral movement into internal networks, intercept sensitive SSL/TLS traffic, steal private keys, and establish persistent backdoors.
Official Vendor Advisories & References
On BIG-IP versions 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.1.x before 12.1.5.3 amd BIG-IQ 7.1.0.x before 7.1.0.3 and 7.0.0.x before 7.0.0.2, the iControl REST interface has an unauthenticated remote command execution vulnerability. Note: Software versions which have reached End of Software Development (EoSD) are not evaluated.
Frequently Asked SecOps Questions (CVE-2021-22986)
FAQQ1. How critical is CVE-2021-22986 and is it actively exploited in the wild?
CVE-2021-22986 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 99.9%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.
Q2. Which vendors and products are affected by CVE-2021-22986?
Primary impacted vendors include f5 across big-ip, big-iq. Scope summary: F5 BIG-IP 16.0.0 to 16.0.1, 15.1.0 to 15.1.2, 14.1.0 to 14.1.3, 13.1.0 to 13.1.3, 12.1.0 to 12.1.5, and BIG-IQ 7.1.0.0 to 7.1.0.2, 7.0.0.0 to 7.0.0.1.
Q3. What temporary mitigations or workarounds exist for CVE-2021-22986 before patching?
[Mitigation] Immediately upgrade to the patched versions provided by F5 and restrict access to the iControl REST interface (TCP 443) from untrusted networks. Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.
Generate an Internal Engineering Notice or CISO Report for CVE-2021-22986
Instantly format this advisory into an executive CISO summary or engineering patch ticket.
🔗 Related Advisories in Similar Stack (f5)
View Category →F5 BIG-IP APM OAuth Authorization Server Remote Code Execution (RCE) Vulnerability (CVE-2026-94127)
[Affected Scope] F5 BIG-IP APM virtual servers configured with an OAuth Authorization Server profile.
SonicWall SMA1000 Work Place Pre-Authentication Server-Side Request Forgery (SSRF) Vulnerability (CVE-2026-83548)
[Affected Scope] SonicWall SMA1000 Series Appliance Work Place interface
SonicWall SMA1000 Work Place Unauthenticated Server-Side Request Forgery (SSRF) Vulnerability (CVE-2026-15409)
[Affected Scope] SonicWall SMA1000 Series Appliance Work Place interface
Cisco Unified Communications Manager (Unified CM) SSRF and Privilege Escalation Vulnerability (CVE-2026-20230)
[Affected Scope] Cisco Unified Communications Manager (Unified CM) and Session Management Edition (Unified CM SME) with WebDialer service enabled
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.