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:
- Send a crafted HTTP request with a specifically sized overflow payload that overwrites a function pointer stored in an adjacent heap structure.
- The overwritten pointer is called during the request-completion phase, redirecting execution to attacker-controlled shellcode or a ROP gadget chain.
- Because
pan_httpdruns 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 Version | Affected | Fixed Version |
|---|---|---|
| 10.1 | 10.1.0 – 10.1.13 | 10.1.14 |
| 10.2 | 10.2.0 – 10.2.10 | 10.2.11 |
| 11.0 | 11.0.0 – 11.0.5 | 11.0.6 |
| 11.1 | 11.1.0 – 11.1.3 | 11.1.4 |
| 11.2 | 11.2.0 – 11.2.1 | 11.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:
-
Update PAN-OS: Navigate to
Device > Softwarein the PAN-OS web console and install the applicable fixed release. PA-Series devices require an HA pair failover to minimise downtime. -
Disable Captive Portal if unused: If Captive Portal authentication is not required, disable it via
Network > GlobalProtect > Portalsand remove any Captive Portal zone configurations. -
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. -
Rotate GlobalProtect credentials: All VPN user credentials should be considered compromised if the device was internet-exposed prior to patching.
-
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_httpdcrashes or restarts (visible inshow 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
| Date | Event |
|---|---|
| 2026-04-19 | First exploitation observed in targeted campaigns |
| 2026-04-30 | Palo Alto Networks releases patched PAN-OS versions |
| 2026-05-01 | CVE assigned, advisory published |
| 2026-05-05 | CISA adds to KEV catalogue, issues emergency directive |
| 2026-05-12 | Mass scanning observed across internet |
| 2026-05-21 | This analysis published |