Skip to main content
CVE-2026-0300 Critical Patch Available

CVE-2026-0300: Palo Alto PAN-OS Out-of-Bounds Write Leads to Root RCE on Firewalls

CVE Details

CVE ID CVE-2026-0300
CVSS Score 9.8
Severity Critical
Vendor Palo Alto Networks
Product PAN-OS
Patch Status Available
Published May 6, 2026
EPSS Score 32.1%
CISA Patch Deadline ⚠ May 27, 2026 Federal deadline passed

Background

PAN-OS powers Palo Alto Networks’ PA-Series hardware firewalls and VM-Series virtualised firewalls — among the most widely deployed next-generation firewall platforms in enterprise and government networks. These devices sit at network perimeters, so root-level RCE on them is about as bad as it gets: the attacker owns a device that sees every packet crossing the network boundary.

CVE-2026-0300 affects the Captive Portal feature and the User-ID service, both commonly enabled in corporate environments for user authentication and identity-based policy enforcement. No credentials are required.

Technical Mechanism

The vulnerability is an out-of-bounds write in the HTTP request handling component of the PAN-OS GlobalProtect/Captive Portal listener. When processing certain HTTP headers — specifically a crafted X-Forwarded-For value combined with an oversized cookie — the internal buffer allocated to hold the parsed header values is smaller than the data being written.

The root cause is in a C-language string copy operation within the pan_httpd daemon. The code uses strcpy() rather than a length-bounded equivalent, with the destination buffer statically sized at 1024 bytes. A header value exceeding this length writes past the buffer boundary into adjacent heap memory.

The heap layout in affected PAN-OS versions is predictable due to deterministic allocation patterns in the daemon’s startup sequence. An attacker can:

  1. Send a crafted HTTP request with a specifically sized overflow payload that overwrites a function pointer stored in an adjacent heap structure.
  2. The overwritten pointer is called during the request-completion phase, redirecting execution to attacker-controlled shellcode or a ROP gadget chain.
  3. Because pan_httpd runs as root to bind privileged ports, the resulting execution context has full root access.

The Captive Portal listener is accessible on the management interface by default and on the data-plane interface in many deployments where Captive Portal authentication is configured for end-user traffic. That data-plane exposure is why the CVSS score reaches 9.8: unauthenticated, network-accessible, no user interaction, root impact.

Real-World Exploitation Evidence

Palo Alto’s Unit 42 team confirmed in-the-wild exploitation concurrent with the CVE’s public disclosure. Exploitation preceded the advisory by an estimated 11 days — implying an adversary had access to vulnerability details before patching was available, consistent with targeted supply-chain intelligence or uncoordinated disclosure.

Documented post-exploitation activity includes:

  • Installation of reverse shells as systemd services on VM-Series appliances in cloud environments
  • Interception of GlobalProtect VPN credentials transiting the firewall
  • Deployment of a kernel rootkit designed to survive PAN-OS software upgrades (persisting via the management plane partition)
  • Lateral movement to internal networks by creating static routes through the compromised firewall

Nation-state affiliated actors were attributed in at least three confirmed incidents affecting critical infrastructure organisations.

Impact Assessment

Root RCE on a firewall is categorically severe:

  • Complete perimeter bypass: The attacker controls the inspection engine. Traffic rules, SSL decryption, threat prevention — all become advisory.
  • Credential harvest: VPN and Captive Portal authentication sessions are visible at the data plane.
  • Persistence mechanisms: PAN-OS’s limited attestation means a skilled attacker can persist through most remediation steps short of hardware replacement or secure wipe.
  • Pivot platform: The firewall’s trusted network position enables man-in-the-middle attacks against internal communications.

Cloud deployments (VM-Series on AWS, Azure, GCP) face additional risk because the management interface is often reachable from broader internet ranges due to misconfigured security groups.

Affected Versions

PAN-OS VersionAffectedFixed Version
10.110.1.0 – 10.1.1310.1.14
10.210.2.0 – 10.2.1010.2.11
11.011.0.0 – 11.0.511.0.6
11.111.1.0 – 11.1.311.1.4
11.211.2.0 – 11.2.111.2.2

PAN-OS 9.x and 10.0.x are end-of-life. No patches available for those branches.

Remediation Steps

Critical priority — patch immediately:

  1. Update PAN-OS: Navigate to Device > Software in the PAN-OS web console and install the applicable fixed release. PA-Series devices require an HA pair failover to minimise downtime.

  2. Disable Captive Portal if unused: If Captive Portal authentication is not required, disable it via Network > GlobalProtect > Portals and remove any Captive Portal zone configurations.

  3. Restrict management interface access: In Device > Setup > Management > Management Interface Settings, restrict permitted IP ranges to known management hosts. Never expose the management interface to the internet.

  4. Rotate GlobalProtect credentials: All VPN user credentials should be considered compromised if the device was internet-exposed prior to patching.

  5. Run the Compromise Assessment: Use Palo Alto’s published IOC list to search for known indicators on the device filesystem.

Interim workaround: Disable the Captive Portal listener on data-plane interfaces (set zone <zone-name> network layer3 enable-captive-portal no) until patching is complete.

Detection Guidance

Examine PAN-OS system logs for:

  • Unexpected pan_httpd crashes or restarts (visible in show log system)
  • Connections from non-management IPs to TCP/443 on management interfaces
  • New services or cronjobs not part of standard PAN-OS configuration
  • Unexpected outbound connections from the firewall management IP

Snort/Suricata signature (informational — not a substitute for patching):

alert tcp any any -> $MGMT_NETS 443 (msg:"CVE-2026-0300 PAN-OS OOB Write probe"; content:"X-Forwarded-For|3A|"; pcre:"/X-Forwarded-For\s*:\s*.{600,}/"; sid:20260300; rev:1;)

Timeline

DateEvent
2026-04-19First exploitation observed in targeted campaigns
2026-04-30Palo Alto Networks releases patched PAN-OS versions
2026-05-01CVE assigned, advisory published
2026-05-05CISA adds to KEV catalogue, issues emergency directive
2026-05-12Mass scanning observed across internet
2026-05-21This analysis published

References