Home / Palo Alto Networks / Cortex XDR Agent / CVE-2021-3041
CVE-2021-3041: is it exploited, and which versions of Palo Alto Networks Cortex XDR Agent are affected and fixed?
CVE-2021-3041 is an uncontrolled search path (DLL or library hijacking) vulnerability in Palo Alto Networks Cortex XDR Agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Cortex XDR Agent from 5.0 before 5.0.11, Cortex XDR Agent from 6.1 before 6.1.8 and Cortex XDR Agent from 7.2 before 7.2.3 or without content update 171 or later (CVE record by palo_alto). Fixed in 5.0.11, 6.1.8 and 7.2.3 with content update 171 or later (CVE record by palo_alto). Severity: High (7.8, CVSS 3.1, from palo_alto).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.
What is CVE-2021-3041?
Cortex XDR Agent: Improper control of user-controlled file leads to local privilege escalation
A local privilege escalation vulnerability exists in the Palo Alto Networks Cortex XDR agent on Windows platforms that enables an authenticated local Windows user to execute programs with SYSTEM privileges. This requires the user to have the privilege to create files in the Windows root directory or to manipulate key registry values. This issue impacts: Cortex XDR agent 5.0 versions earlier than Cortex XDR agent 5.0.11; Cortex XDR agent 6.1 versions earlier than Cortex XDR agent 6.1.8; Cortex XDR agent 7.2 versions earlier than Cortex XDR agent 7.2.3; All versions of Cortex XDR agent 7.2 without content update release 171 or a later version.
From the CVE record by palo_alto, last updated September 16, 2024, 22:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Palo Alto Networks | Cortex XDR Agent | from 5.0 before 5.0.11 from 6.1 before 6.1.8 from 7.2 before 7.2.3 or without content update 171 or later | 5.0.11, 6.1.8, 7.2.3 with content update 171 or later |
As the CVE record by palo_alto states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| paloaltonetworks | cortex xdr agent | from 5.0 before 5.0.11 | application |
| paloaltonetworks | cortex xdr agent | from 6.1 before 6.1.8 | application |
| paloaltonetworks | cortex xdr agent | from 7.2 before 7.2.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:04 UTC.
How severe is CVE-2021-3041?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | palo_alto |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3041 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-427 Uncontrolled Search Path Element
How do I fix it? (from the CVE record)
This issue is fixed in Cortex XDR agent 5.0.11, Cortex XDR agent 6.1.8, Cortex XDR agent 7.2.3, and all later Cortex XDR agent versions. Content updates are required to resolve this issue and are automatically applied for the agent.
Is there a workaround? (from the CVE record)
This issue is mitigated 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.
Where are the vendor advisories and references?
- https://security.paloaltonetworks.com/CVE-2021-3041 x_refsource_MISC
Who found and reported it?
- This issue was found by Robert McCallum of Palo Alto Networks during internal security review. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 6, 2021
- Published
- June 10, 2021, 12:33 UTC
- CVE record updated
- September 16, 2024, 22:01 UTC by palo_alto
- NVD
- Modified, last modified June 17, 2026, 04:04 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Cortex XDR Agent?
- Apr 13, 2026CVE-2026-0232 Palo Alto Networks Cortex XDR Agent: external Control of System or Configuration Setting
- Mar 11, 2026CVE-2026-0230 Palo Alto Networks Cortex XDR Agent: unusual condition not checked
- Apr 11, 2025CVE-2025-0121 Palo Alto Networks Cortex XDR Agent: NULL pointer dereference (crash)
- Feb 19, 2025CVE-2025-0112 Palo Alto Networks Cortex XDR Agent: unusual condition not checked
- Oct 9, 2024CVE-2024-9469 Palo Alto Networks Cortex XDR Agent: unusual condition not checked
- Sep 11, 2024CVE-2024-8690 Palo Alto Networks Cortex XDR Agent: expected Behavior Violation
- Jul 10, 2024CVE-2024-5912 Palo Alto Networks Cortex XDR Agent: cryptographic signature not verified
- Jun 12, 2024CVE-2024-5909 Palo Alto Networks Cortex XDR Agent: privilege escalation (improper privilege management)
Questions about CVE-2021-3041
Is CVE-2021-3041 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Palo Alto Networks Cortex XDR Agent are affected by CVE-2021-3041?
Cortex XDR Agent from 5.0 before 5.0.11, Cortex XDR Agent from 6.1 before 6.1.8 and Cortex XDR Agent from 7.2 before 7.2.3 or without content update 171 or later, per the CVE record by palo_alto. The tables above give every range the sources list.
Which version fixes CVE-2021-3041?
5.0.11, 6.1.8 and 7.2.3 with content update 171 or later, per the CVE record by palo_alto. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3041?
High (7.8, CVSS 3.1, from palo_alto). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3041?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.