PAN-OS Captive Portal Zero-Day Exploit: Unauthenticated Remote Code Execution (2026)

In the ever-evolving landscape of cybersecurity, the discovery of a zero-day vulnerability in Palo Alto Networks' PAN-OS software has once again underscored the critical need for vigilance and proactive defense. This vulnerability, CVE-2026-0300, presents a significant risk to organizations, particularly those with edge-network assets like firewalls, routers, and IoT devices. The threat is not just theoretical; it has already been exploited in the wild, with Unit 42 tracking a cluster of state-sponsored activity leveraging this weakness. This incident serves as a stark reminder of the importance of staying ahead of emerging threats and the need for continuous security updates and patches.

The Vulnerability: CVE-2026-0300

CVE-2026-0300 is a buffer overflow vulnerability in the User-ID Authentication Portal (Captive Portal) service of Palo Alto Networks' PAN-OS software. This flaw allows unauthenticated attackers to execute arbitrary code with root privileges on PA-Series and VM-Series firewalls by sending specially crafted packets through network traffic. While Prisma Access, Cloud NGFW, and Panorama appliances are unaffected, the risk is heightened when the User-ID Authentication Portal is exposed to the public internet or untrusted networks.

The Attack: A Step-by-Step Breakdown

The attack unfolds in several stages, each designed to exploit the vulnerability and establish a foothold within the target network. Here's a breakdown of the key steps:

  • Initial Exploitation: Starting April 9, 2026, attackers made unsuccessful attempts against a PAN-OS device. A week later, they successfully achieved remote code execution (RCE) and injected shellcode.
  • Log Cleanup: Immediately following the compromise, the attackers conducted log cleanup to evade detection. They cleared crash kernel messages, deleted nginx crash entries, and removed crash core dump files.
  • Deployment of Tools: Four days after the initial compromise, the attackers deployed a suite of tools with root privileges, including EarthWorm and ReverseSocks5.
  • Active Directory Enumeration: The attackers used the firewall's service account credentials to conduct Active Directory (AD) enumeration, targeting domain root and DomainDnsZones.
  • SAML Flood: On April 29, 2026, the attackers conducted a Security Assertion Markup Language (SAML) flood, promoting a second device to Active status and inheriting internet-facing traffic. RCE was achieved on this second device, where EarthWorm and ReverseSocks5 were downloaded.

The Tools: EarthWorm and ReverseSocks5

  • EarthWorm: An open-source network tunneling tool written in C, EarthWorm operates on Windows, Linux, macOS, and ARM/MIPS-based platforms. It functions as a SOCKS v5 server and port transfer utility, enabling covert communication channels across restricted network boundaries. EarthWorm has been used in various high-profile attacks, including those by the threat actor behind CL-STA-0046, Volt Typhoon, UAT-8337, and APT41.
  • ReverseSocks5: An open-source networking tool, ReverseSocks5 bypasses firewalls or NAT by establishing an outbound connection from a target machine to a controller. Once the connection is established, it creates a SOCKS5 proxy tunnel, allowing the controller to route traffic into the target's internal network. This tool is frequently utilized by system administrators for remote management and by threat actors for pivoting during a breach.

Mitigation and Protection

Palo Alto Networks offers several measures to mitigate the risk of this vulnerability. Customers can restrict User-ID Authentication Portal access to trusted zones and disable Response Pages in the Interface Management Profile. For those with Advanced Threat Prevention subscriptions, enabling Threat ID 510019 from Applications and Threats content version 9097-10022 can block attacks. Palo Alto Networks also recommends following the guidance outlined in the security advisory for CVE-2026-0300.

The Broader Implications

This incident highlights a broader trend in the cybersecurity landscape. Nation-state threat actors have increasingly focused on edge-network technological assets, such as firewalls, routers, IoT devices, hypervisors, and VPN solutions. These assets provide high-privilege access while often lacking the robust logging and security agents found on standard endpoints. The reliance on open-source tooling, rather than proprietary malware, minimizes signature-based detection and facilitates seamless environment integration. This technical choice, combined with a disciplined operational cadence of intermittent interactive sessions over a multi-week period, intentionally remains below the behavioral thresholds of most automated alerting systems.

The Way Forward

The discovery of CVE-2026-0300 serves as a wake-up call for organizations to enhance their security posture. By staying informed about emerging threats, implementing robust security measures, and keeping software up-to-date, organizations can better protect themselves against sophisticated cyber attacks. The collaboration between Palo Alto Networks and the Cyber Threat Alliance (CTA) demonstrates the power of information sharing and coordinated defense in the face of evolving cyber threats.

PAN-OS Captive Portal Zero-Day Exploit: Unauthenticated Remote Code Execution (2026)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Laurine Ryan

Last Updated:

Views: 6225

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.