LiveActive security incident?Get immediate response
CVE Record

CVE-2021-3061: PAN-OS: OS Command Injection Vulnerability in the Command Line Interface (CLI)

An OS command injection vulnerability in the Palo Alto Networks PAN-OS command line interface (CLI) enables an authenticated administrator with access to the CLI 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. Prisma Access customers that have Prisma Access 2.1 firewalls are impacted by this issue.

MediumCVSS 6.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This vulnerability lets a trusted PAN-OS administrator with CLI access run unintended operating system commands and potentially gain higher privileges. It is not a remote unauthenticated perimeter bug, but it matters because firewalls and Prisma Access are high-value control points.

Executive priority

Treat as a scheduled but important firewall maintenance item unless evidence of admin compromise exists. Prioritize internet-facing, shared-admin, and high-trust network control environments first.

Technical view

CVE-2021-3061 is CWE-78 command injection in the PAN-OS CLI. It affects PAN-OS versions before 8.1.20-h1, 9.0.14-h3, 9.1.11-h2, 10.0.8, and 10.1.3, plus impacted Prisma Access deployments identified by Palo Alto guidance.

Likely exposure

Exposure is likely where affected PAN-OS versions remain deployed and administrators can access the CLI. Risk is higher if admin accounts are shared, overprivileged, externally administered, or not strongly monitored.

Exploitation context

The provided bundle does not show KEV listing, public exploitation, or in-the-wild activity. Abuse requires authenticated administrator CLI access and high-complexity local conditions, so the main concern is compromised admin accounts or malicious insiders.

Researcher notes

The source data supports privilege escalation through authenticated CLI command injection, not unauthenticated remote compromise. Prisma Access version impact appears advisory-dependent, so validate exact tenant and firewall train status with Palo Alto documentation.

Mitigation direction

  • Upgrade PAN-OS to the fixed versions listed in the advisory.
  • Check Palo Alto guidance for Prisma Access remediation specifics.
  • Restrict CLI access to required administrators only.
  • Enforce MFA and least privilege for administrative accounts.
  • Review administrator activity for suspicious CLI use or privilege changes.

Validation and detection

  • Inventory PAN-OS versions across firewalls and management systems.
  • Confirm no affected versions remain below the fixed releases.
  • Verify Prisma Access exposure against Palo Alto’s advisory.
  • Review admin account access paths to the CLI.
  • Check logs for unexpected administrative CLI activity.
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-3061 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
Medium
CVSS
6.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:H/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
6.4CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H0.55.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.4Medium
CVSS 3.1 vector shape for CVE-2021-3061Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:H/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-OS8.1, 9.0, 10.0, 10.1, 9.1Listed
Palo Alto NetworksPrisma Access2.2 all, 2.1 Preferred, 2.1 InnovationListed
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.