Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🛡️
CISA KEV · ACTIVELY EXPLOITED
CRITICAL severity

CVE-2024-21887 — Connect Secure

CRITICAL

CVE-2024-21887 is a critical-severity (CVSS 9.1) CWE-77 vulnerability in ivanti connect secure. It is in CISA's Known Exploited Vulnerabilities catalog (added 2024-01-10) and has been used in ransomware campaigns — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially…

Published
Updated
Affected
2 products
Patched
See advisory
Exploits
18 known
Exploitation data as of Oct 5, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2024-01-10 — including use in ransomware campaigns. Federal agencies were required to remediate by 2024-01-22.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2024-21887.

EPSS Exploitation Probability

via FIRST.org ↗
100.0%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
92.7%95.2%97.6%100.0%94.4%100.0%100.0%100.0%Jun 26Sep 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2024-21887 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 383,485 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

Description

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.

Affected Products

2 products · 81 configurations
Application
connect secureivanti
8 versions
9.09.122.122.222.322.422.522.6
Application
policy secureivanti
8 versions
9.09.122.122.222.322.422.522.6
Exploits & PoCs
18

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every ivanti connect secure deployment and check each version against the affected-products list above.

  2. Remediation status

    No patch has shipped for CVE-2024-21887 yet — track the ivanti connect secure advisory for a fixed release and apply the workarounds below in the meantime.

  3. Mitigate without a patch

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

How to detect CVE-2024-21887

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2024-21887 -u https://target
Template
Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) - Command Injection
Severity
critical
Impact
Authenticated administrators can execute arbitrary OS commands on the Ivanti appliance, leading to complete system compromise.
Remediation
Update Ivanti Connect Secure and Policy Secure to versions 9.1R14.4, 9.1R17.2, 9.1R18.3, 22.4R2.2, 22.5R1.1 or later.

Template by ProjectDiscovery nuclei-templates (pdresearch, parthmalhotra, iamnoooob), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

A command injection vulnerability in web components of Ivanti Connect Secure (9.x, 22.x) and Ivanti Policy Secure (9.x, 22.x) allows an authenticated administrator to send specially crafted requests and execute arbitrary commands on the appliance.
O3 Security · Runtime Protection

Is CVE-2024-21887 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.

CVE-2024-21887: Connect Secure (Critical 9.1, KEV)