CVE-2024-21887: 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…

CVE-2024-21887 affects 54 listed versions of Ivanti Connect Secure, Ivanti Policy Secure in the Dawnsentry catalogue. It is known to be exploited in the wild.

9.1CVSS critical
In CISA's KEV catalogue since 2024-01-10exploitation
100%EPSS (next 30 days)
12 January 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Ivanti Connect Secure

29 of 171 listed versions are affected. No fixed release is named. The newest release, 25.1.3.1, is not affected.

22.6R2 22.6R1 22.6 22.5R2.1 22.4R2.1 22.4R1 22.3R1 22.2R1 22.2 22.1R6 22.1R1 9.1R18 9.1R17.1 9.1R17 9.0-rx 9.0R6.0 9.0R5.0 9.0R4.1 9.0R4.0 9.0R4 9.0R3.5 9.0R3.3 9.0R3.2 9.0R3.1 9.0R3.0 9.0R3 9.0R2.1 9.0R2.0 9.0R2

Ivanti Policy Secure

25 of 53 listed versions are affected. No fixed release is named. The newest release, 22.7R1.6, is not affected.

22.6R1 22.5R2.1 22.5R1 22.4R2.1 22.4R2 22.4R1 22.3R3 22.3R1 22.2R3 22.2R1 22.1R6 22.1R1 9.1R18 9.1R17 9.1R16 9.1R15 9.1R14 9.1R13.1 9.0R4 9.0R3.1 9.0R3 9.0R2.1 9.0R2 9.0R1 9.0

What it is

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/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (NVD)

Published by Hackerone on 12 January 2024. Last changed 4 August 2026. CISA lists it as used in ransomware campaigns. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2024-21887 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.