CISA Sounds Alarm: PAN-OS GlobalProtect “Zero-Trust” Nightmare—Attackers Forge VPN Cookies for Unauthorized Access

Listen to this Post

Featured Image

Introduction:

A critical authentication bypass vulnerability within the PAN-OS operating system has been weaponized in the wild, permitting unauthenticated attackers to forge VPN authentication cookies and compromise enterprise perimeters. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added CVE-2026-0257 to its Known Exploited Vulnerabilities (KEV) catalog, mandating immediate remediation for federal agencies and issuing a stark warning for all organizations employing Palo Alto Networks firewalls.

Learning Objectives:

– Understand the technical root cause and mechanics of the CVE-2026-0257 authentication bypass.
– Identify vulnerable PAN-OS versions and assess organizational exposure through detection commands.
– Learn step-by-step mitigation, patching procedures, and active exploitation hunting techniques.

You Should Know:

1. Deep-Dive: How the Authentication Override Cookie Exploit Works (CVE-2026-0257)
The vulnerability abuses the GlobalProtect portal and gateway “Authentication Override” feature, which issues bearer-like authentication cookies after initial user login. Unlike typical security tokens, the PAN-OS appliance decrypts these cookies using a configured private key and blindly trusts the decrypted content without performing any signature or integrity validation (CWE-565). Attackers can retrieve the public certificate used for VPN encryption from the TLS handshake; if that certificate is reused (shared) for cookie encryption instead of a dedicated one, they can encrypt a forged cookie using the same public key. The appliance, lacking validation, decrypts it with its private key and accepts it as legitimate, granting full VPN network access. This bypasses multi-factor authentication (MFA) and all credential checks.

Step-by-step guide explaining what this does and how to use it:
To understand the attack chain for internal security assessments, a Python-based Proof-of-Concept (PoC) script has been published. WARNING: Use only on authorized, owned systems. Unauthorized access is illegal.

1. Identify Target: Find a publicly accessible GlobalProtect portal (typically listening on TCP 443).

2. Clone PoC (example from a public repository):

git clone https://github.com/bolubey/CVE-2026-0257
cd CVE-2026-0257

3. Install Dependencies: ensure `python3` and `pip` are installed, then run:

pip install -r requirements.txt

4. Launch Exploitation: run the PoC against a target IP/Domain:

python exploit_poc.py --target vpn.yourcompany.com

The script will retrieve the certificate chain, forge an authentication cookie for each discovered key, and test it against the `/ssl-vpn/login.esp` endpoint.
5. Analyze Output: a successful exploitation message indicates a vulnerable configuration where the device accepted a forged cookie, potentially granting network access.

2. Rapid Threat Assessment: Conditional but Widespread Exposure

The vulnerability is not universal; exploitation requires both “Authentication Override” being enabled and the encryption certificate being shared with another service (like the HTTPS web interface). However, such configurations are common in legacy or poorly audited deployments, making many internet-facing firewalls vulnerable. Exploitation has been observed in two waves: starting May 17, 2026 (from Vultr hosting), with attackers testing authentication probes; and a second wave starting May 21 (from Dromatics Systems), where attackers successfully obtained VPN IP addresses, gaining direct internal network access. Affected Versions include PAN-OS 10.2 (earlier than 10.2.18-h6), 11.1 (earlier than 11.1.15), 11.2 (earlier than 11.2.12), and 12.1 (earlier than 12.1.7).

Step-by-step detection guide:

To identify vulnerable appliances or active compromises, network defenders can utilize the following methods:

– Check PAN-OS Version via CLI (on the firewall):

show system info | match version

If the version appears in the vulnerable list above, immediate action is required.
– Network Scanning (Nuclei Template) : Use a community-driven template to scan for exposed GlobalProtect portals:

nuclei -t exposures/configs/paloalto-globalprotect-detect.yaml -target https://[bash]

– Log Forensics for Exploitation: Search GlobalProtect authentication logs for anomalous patterns indicating cookie acceptance without prior credential exchange. On a centralized logging system (Linux), you can grep access logs:

sudo grep -i "globalprotect.authenticated.vpn" /var/log/pan/device.log | grep -v "login attempt"

Focus on entries lacking an associated `USERID` or credential entry.
– Check Certificate Configuration via Web UI: navigate to `Network > GlobalProtect > Gateways > [Gateway Name] > Authentication > Authentication Override Cookie`. If the “Cookie Certificate” is the same as the SSL/TLS Service Certificate, the device is vulnerable.

3. Urgent Mitigation, Patching & Remediation Steps

Given active exploitation, CISA requires federal agencies to remediate by June 1, 2026, but all organizations must act immediately. The primary solution is to upgrade to a fixed PAN-OS version: 12.1.4-h6 (or 12.1.7+), 11.2.4-h17 (or 11.2.12+), 11.1.4-h33 (or 11.1.15+), or 10.2.7-h34 (or 10.2.18-h6+).

Step-by-step patching and mitigation guide:

1. Immediate Mitigation (If Patching is Delayed) : If unable to patch immediately, apply one of the following vendor-recommended workarounds:
– Disable Authentication Override: In the GlobalProtect gateway configuration, uncheck “Enable Authentication Override Cookie”.
– Dedicate a Unique Certificate: Generate a new, separate certificate exclusively for authentication override. Do not reuse it with any other service (e.g., SSL/TLS).
2. Apply Patches (CLI Method) : Download the appropriate hotfix from the Palo Alto Networks support portal and transfer it to the firewall. Then, apply using:

request system software install file <patch-file-1ame>

After installation, reboot the device:

request restart system

3. Post-Patch Validation: After applying patches, verify the new version:

show system info | match "sw-version"

4. Incident Response (If Compromised) : If indicators of compromise (IoC) are found (e.g., suspicious VPN assignments), immediately rotate all VPN credentials, revoke all existing authentication cookies, and conduct a full network compromise assessment. Isolate the affected firewall from the network if active malicious traffic is detected.
5. Cloud/Prisma Access : Customers on Prisma Access should automatically receive vendor upgrades; however, confirm the upgrade to versions 10.2.10-h36 or 11.2.7-h13.

4. Related PAN-OS Vulnerabilities Adding to the Threat Landscape
CVE-2026-0257 is not an isolated incident. Threat actors are actively chaining vulnerabilities on PAN-OS devices, using one flaw to stage a more devastating attack. Organizations must harden their management interfaces, as previous CVEs remain a risk:

– CVE-2025-0108 (CVSS 9.1): Authentication Bypass in the management web interface, allowing unauthenticated attackers to invoke certain PHP scripts due to an Nginx/Apache path confusion.
– CVE-2025-0111: Authenticated file read vulnerability allowing attackers to read files on the PAN-OS filesystem.
– CVE-2024-0012 & CVE-2024-9474: Older, critical authentication bypass and command injection vulnerabilities actively chained with newer exploits to compromise unpatched devices.

Step-by-step guide to harden against current and legacy threats:
Given the history of chained exploits on PAN-OS, take these steps to harden the management plane:

1. Restrict Management Access: Implement access lists to allow management web interface (typically TCP/443) only from authorized internal IPs or dedicated jump hosts.

configure
set deviceconfig system ip-address <mgmt-ip> allowed-ip <trusted-ip>
commit

2. Disable Internet-Facing Management: Ensure the management interface is not exposed to the public internet. Use the CLI to verify:

show interface management

If the gateway is `0.0.0.0`, it is exposed.

3. Enable Threat Prevention: Deploy the latest Applications and Threats content version (e.g., Threat ID 95187) to block known exploit patterns.
4. Continuous Monitoring: Deploy IDS/IPS signatures to detect double-encoded path traversal attempts (`/%252e%252e/`) indicative of CVE-2025-0108 exploitation.

What Undercode Say:

– Key Takeaway 1: Patching is not optional. With CISA-mandated deadlines and confirmed active exploitation yielding full network access, delay invites compromise. Treat CVSS 7.8 vulnerabilities as critical in practice when they reside on edge VPN appliances.
– Key Takeaway 2: Defense-in-depth fails when trust is implicit. The root cause (lack of cookie signature validation) highlights a recurring architectural flaw: assuming that encrypted implies authentic. Organizations must review any system that relies on bearer tokens without verification.

Prediction:

– -1: Increased Ransomware Deployment. Successful VPN authentication bypass offers threat actors the ideal initial access vector. Expect ransomware groups to aggressively integrate CVE-2026-0257 into their toolkits, leading to a surge in compromised networks and high-impact data extortion campaigns.
– -1: Legislative Pressure for “Secure by Design.” CISA’s aggressive addition of multiple PAN-OS flaws to the KEV catalog within months will accelerate regulatory demands for manufacturers to eliminate entire classes of vulnerabilities (like improper cookie validation) through secure development lifecycles.
– +1: Accelerated Adoption of Zero-Trust Network Access (ZTNA). The erosion of trust in traditional VPN appliances will drive enterprises to pivot faster toward modern ZTNA solutions that offer device posture checks, micro-segmentation, and continuous verification, reducing the attack surface inherent in monolithic VPN gateways.

🎯Let’s Practice For Free:

🎓 Live Courses & Certifications:

[Join Undercode Academy for Verified Certifications](https://undercode.co.uk/certifications/)

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[[email protected]](mailto:[email protected])
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

IT/Security Reporter URL:

Reported By: [Cybersecuritynews Share](https://www.linkedin.com/posts/cybersecuritynews-share-7467600304897814528-wHb2/) – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

[💬 Whatsapp](https://undercode.help/whatsapp) | [💬 Telegram](https://t.me/UndercodeCommunity)

📢 Follow UndercodeTesting & Stay Tuned:

[𝕏 formerly Twitter 🐦](https://x.com/undercodeupdate) | [@ Threads](https://www.threads.net/@undercodetesting) | [🔗 Linkedin](https://www.linkedin.com/company/undercodetesting/) | [🦋BlueSky](https://bsky.app/profile/undercode.bsky.social)