CVE-2024-21887
Ivanti Connect Secure and Policy Secure Command Injection Vulnerability
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.
- CVSS 3.1
- 9.1
- Exploit probability
- >99%
- Known exploited
- Yes
- Published
- 12 Jan 2024
Exploited in the wild
Confirmed exploitation of Ivanti Connect Secure and Policy Secure, added to the known-exploited catalogue on 10 Jan 2024.
- Fix by
- 22 Jan 2024
- Used in ransomware campaigns
- Yes
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Scores
Severity from the official assessment; exploit probability is the chance of exploitation activity in the next 30 days.
- Severity
- Critical
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Exploit probability
- >99%, in the top 1% of CVEs
- Weakness
- CWE-77
- Status
- Analyzed, last modified 4 Aug 2026
Affected software
Products and version ranges listed as vulnerable.
| Product | Versions |
|---|---|
| ivanti connect secure | version 9.0; version 9.1; version 22.1; version 22.2; version 22.3; version 22.4 |
| ivanti policy secure | version 9.0; version 9.1; version 22.1; version 22.2; version 22.3; version 22.4 |
References
Advisories, patches and write-ups. Links leave Tohou.
- http://packetstormsecurity.com/files/176668/Ivanti-Connect-Secure-Unauthenticated-Remote-Code-Execution.htmlExploit · Third Party Advisory · VDB Entry
- https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways?language=en_USVendor Advisory
- http://packetstormsecurity.com/files/176668/Ivanti-Connect-Secure-Unauthenticated-Remote-Code-Execution.htmlExploit · Third Party Advisory · VDB Entry
- https://forums.ivanti.com/s/article/CVE-2023-46805-Authentication-Bypass-CVE-2024-21887-Command-Injection-for-Ivanti-Connect-Secure-and-Ivanti-Policy-Secure-Gateways?language=en_USVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21887US Government Resource
Is CVE-2024-21887 on your attack surface?
Sonar records the software running on your assets and alerts you when a new CVE matches it, without waiting for the next scan.
From public vulnerability feeds, refreshed every 12 hours. As JSON: https://api.tohou.io/v1/cves/CVE-2024-21887 (needs a Tohou API key; free accounts included). Exploit probability is the EPSS score. This product uses data from the NVD API but is not endorsed or certified by the NVD.