CVE-2021-3041
Cortex XDR vulnerability analysis and mitigation

Overview

A local privilege escalation vulnerability (CVE-2021-3041) was discovered in the Palo Alto Networks Cortex XDR agent on Windows platforms. The vulnerability was found during an internal security review by Robert McCallum of Palo Alto Networks and was disclosed on June 9, 2021. The vulnerability affects multiple versions of Cortex XDR agent including versions 5.0 (earlier than 5.0.11), 6.1 (earlier than 6.1.8), 7.2 (earlier than 7.2.3), and all versions of 7.2 without content update release 171 or later (Palo Advisory).

Technical details

The vulnerability allows an authenticated local Windows user to execute programs with SYSTEM privileges. The exploitation requires the user to have privileges to create files in the Windows root directory or to manipulate key registry values. The vulnerability has been classified with a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The weakness type is identified as CWE-427 Uncontrolled Search Path Element (Palo Advisory).

Impact

If exploited, this vulnerability allows attackers with local Windows user access to elevate their privileges to SYSTEM level, potentially gaining complete control over the affected system. This could lead to unauthorized access to sensitive data, system modifications, and full system compromise (Palo Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Cortex XDR agent versions 5.0.11, 6.1.8, 7.2.3, and all later versions. Content updates are required to resolve this issue and are automatically applied for the agent. As a workaround, organizations can mitigate the vulnerability by preventing local authenticated Windows users from creating files in the Windows root directory (such as C:) and ensuring they are unable to manipulate the Windows registry (Palo Advisory).

Additional resources


SourceThis report was generated using AI

Related Cortex XDR vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-0121MEDIUM6.8
  • Cortex XDRCortex XDR
  • cpe:2.3:a:paloaltonetworks:cortex_xdr_agent
NoYesApr 11, 2025
CVE-2025-0112MEDIUM6.8
  • Cortex XDRCortex XDR
  • cpe:2.3:a:paloaltonetworks:cortex_xdr_agent
NoYesFeb 20, 2025
CVE-2024-5912MEDIUM6.8
  • Cortex XDRCortex XDR
  • cpe:2.3:a:paloaltonetworks:cortex_xdr_agent
NoYesJul 10, 2024
CVE-2024-9469MEDIUM5.7
  • Cortex XDRCortex XDR
  • cpe:2.3:a:paloaltonetworks:cortex_xdr_agent
NoYesOct 09, 2024
CVE-2024-8690MEDIUM5.6
  • Cortex XDRCortex XDR
  • cpe:2.3:a:paloaltonetworks:cortex_xdr_agent
NoNoSep 11, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management