CVE-2022-42948: Fortra Cobalt Strike User Interface Remote Code Execution Vulnerability
CVE-2022-42948 is a critical-severity flaw (CVSS 9.8) affecting cobalt strike, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components. By injecting crafted HTML code, it is possible to remotely execute code in the Cobalt Strike UI.
Why this priority
- Critical severity
- Exploited in the wild (CISA KEV)
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.7% (top 14%) |
| CISA exploited list | Yes, fix due 2023-04-20 |
| Weakness | CWE-116 |
| Published | 2023-03-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: thesecmaster.com/how-to-fix-cve-2022-42948-a-critical-rce-vulnerability-in-cobalt-strike/
- Write-up: www.cobaltstrike.com/blog/
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-42948?
cobalt strike: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-42948 being exploited?
Yes. CVE-2022-42948 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-42948 affect?
CVE-2022-42948 affects cobalt strike. Severity is critical (CVSS 9.8). Cobalt Strike 4.7.1 fails to properly escape HTML tags when they are displayed on Swing components. By injecting crafted HTML code, it is possible to remotely execute code in the Cobalt Strike UI.
How urgent is CVE-2022-42948?
Priority 89/100. Critical severity; Exploited in the wild (CISA KEV); CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-39197 MEDIUM 6.1 EXPLOITED UPGRADE Fortra Cobalt Strike Teamserver Cross-Site Scripting (XSS) Vulnerability