CVE-2021-3041: Cortex XDR Agent: Improper control of user-controlled file leads to local privilege escalation

Published Jun 10, 2021
·
Updated

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.

Affected Software

8 affected components
Palo Alto Networks Cortex XDR Agent>=5.0<5.0.11
Palo Alto Networks Cortex XDR Agent>=6.1<6.1.8
Palo Alto Networks Cortex XDR Agent>=7.2<7.2.3
Microsoft Windows
All of the following
Any of the following
Palo Alto Networks Cortex XDR Agent>=5.0<5.0.11
Palo Alto Networks Cortex XDR Agent>=6.1<6.1.8
Palo Alto Networks Cortex XDR Agent>=7.2<7.2.3
Microsoft Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 5.0.11
  2. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 6.1.8
  3. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 7.2.3
  4. Configuration

    Ensure Cortex XDR Agent content updates are applied so the fix is included; the provided content updates are required to resolve the issue and are automatically applied for the agent.

    Palo Alto Networks Cortex XDR agent (Windows) content updates = automatically apply for the agent

Event History

Jun 10, 2021
CVE Published
via MITRE·12:33 PM
Data Sourced
via MITRE·12:33 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3041?

CVE-2021-3041 is a local privilege escalation vulnerability in the Palo Alto Networks Cortex XDR agent on Windows platforms.

2

How does CVE-2021-3041 work?

CVE-2021-3041 allows an authenticated local Windows user to execute programs with SYSTEM privileges by creating files in the Windows root directory.

3

What is the severity of CVE-2021-3041?

CVE-2021-3041 has a severity rating of 7.8 out of 10 (high).

4

Which software versions are affected by CVE-2021-3041?

Versions 5.0 to 5.0.11, 6.1 to 6.1.8, and 7.2 to 7.2.3 of the Palo Alto Networks Cortex XDR agent on Windows platforms are affected by CVE-2021-3041.

5

How can I fix CVE-2021-3041?

To fix CVE-2021-3041, update the Palo Alto Networks Cortex XDR agent to a version that is not vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203