LiveActive security incident?Get immediate response
CVE Record

CVE-2021-3058: PAN-OS: OS Command Injection Vulnerability in Web Interface XML API

An OS command injection vulnerability in the Palo Alto Networks PAN-OS web interface enables an authenticated administrator with permissions to use XML API the ability to execute arbitrary OS commands to escalate privileges. This issue impacts: PAN-OS 8.1 versions earlier than PAN-OS 8.1.20-h1; PAN-OS 9.0 versions earlier than PAN-OS 9.0.14-h3; PAN-OS 9.1 versions earlier than PAN-OS 9.1.11-h2; PAN-OS 10.0 versions earlier than PAN-OS 10.0.8; PAN-OS 10.1 versions earlier than PAN-OS 10.1.3. This issue does not impact Prisma Access firewalls.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Palo Alto Networks PAN-OS can let a logged-in administrator with XML API permissions run operating-system commands and gain higher privileges. This is serious because firewall administrators already operate in a sensitive control plane, and successful abuse can affect confidentiality, integrity, and availability.

Executive priority

Treat as high priority for firewall environments running affected PAN-OS versions. This is not an unauthenticated internet-wide bug from the supplied evidence, but compromise of firewall administrative control can materially affect business operations and network security.

Technical view

CVE-2021-3058 is a CWE-78 OS command injection issue in the PAN-OS web interface XML API. It affects specified PAN-OS 8.1, 9.0, 9.1, 10.0, and 10.1 versions before the fixed releases. CVSS 3.1 is 8.8 with network attack vector, low complexity, low privileges, no user interaction, and high CIA impact.

Likely exposure

Exposure is limited to affected PAN-OS firewall versions where an authenticated administrator can use the XML API. Prisma Access firewalls are stated as not impacted. Organizations with older PAN-OS branches should prioritize version inventory and admin/API permission review.

Exploitation context

The provided sources do not state active exploitation, and the CVE is not marked KEV in the bundle. The vulnerability is still high risk because it is network-reachable, low complexity, and can escalate privileges after authenticated administrative API access.

Researcher notes

Focus validation on PAN-OS version, XML API authorization, and administrator account exposure. The source bundle does not provide exploit details, indicators of compromise, or active exploitation claims, so avoid asserting exploitation without additional evidence.

Mitigation direction

  • Upgrade PAN-OS to the fixed release for the deployed branch.
  • Prioritize 8.1.20-h1, 9.0.14-h3, 9.1.11-h2, 10.0.8, or 10.1.3 or later.
  • Review Palo Alto Networks advisory for branch-specific upgrade guidance.
  • Limit XML API permissions to administrators with a current business need.
  • Remove or disable unnecessary administrative accounts.

Validation and detection

  • Inventory all PAN-OS firewall versions and compare against the affected ranges.
  • Confirm Prisma Access firewalls are excluded from this CVE scope.
  • Review which administrators have XML API permissions.
  • Check whether each device is at or above the fixed PAN-OS release.
  • Review administrative and XML API activity for unexpected use.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-3058 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2021-3058Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Palo Alto NetworksPAN-OS10.1, 9.0, 8.1, 9.1, 10.0Listed
Palo Alto NetworksPrisma Access2.1 all, 2.2 allListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.