
Passive, read-only remote detection tool for CVE-2026-0257, an authentication bypass in Palo Alto Networks PAN-OS GlobalProtect. Fingerprints PAN-OS versions and checks for auth-override cookie indicators to identify vulnerable systems.
Detection only. No exploitation. No credentials submitted. No cookies forged.
CVE-2026-0257 is an authentication bypass vulnerability (CWE-565 — Reliance on Cookies without Validation and Integrity Checking) in the GlobalProtect portal and gateway of Palo Alto Networks PAN-OS. When authentication override cookies are enabled and a specific certificate configuration exists, an unauthenticated attacker can bypass security restrictions and establish an unauthorized VPN connection.
The vulnerability only applies when authentication override cookies are enabled on the portal or gateway. To check:
Portal: Network → GlobalProtect → Portals → Agent → Agent Config → Authentication tab
Gateway: Network → GlobalProtect → Gateways → Agent → Client Settings → Authentication Override tab
cve_2026_0257_check.py performs passive, read-only remote detection:
/global-protect/portal/config.esp XML response# Single target (default port 443)
python3 cve_2026_0257_check.py vpn.example.com
# Custom port
python3 cve_2026_0257_check.py vpn.example.com:8443
# Multiple targets
python3 cve_2026_0257_check.py host1 host2 host3
# JSON output
python3 cve_2026_0257_check.py vpn.example.com --json
# Adjust timeout
python3 cve_2026_0257_check.py vpn.example.com --timeout 15
============================================================
Target : vpn.example.com:443
Verdict : LIKELY_VULNERABLE
============================================================
GP Portal reachable : True
GP Gateway reachable : True
PAN-OS version : 11.2.7-h3
Auth-cookie indicator: True
Version vulnerable : True
Notes:
• GlobalProtect portal page found at /global-protect/login.esp (HTTP 200)
• GlobalProtect gateway endpoint present (HTTP 400)
• Version from /global-protect/portal/config.esp: 11.2.7-h3
• portal/config.esp returned HTTP 200 with body — may indicate auth-override cookie acceptance is enabled
[!] Host appears to run a vulnerable PAN-OS version.
Verify auth-override cookie config per the advisory:
https://security.paloaltonetworks.com/CVE-2026-0257
| Verdict | Meaning |
|---|---|
LIKELY_VULNERABLE | GP exposed + version in known-vulnerable range |
Per the official advisory:
After patching, users will need to re-authenticate once as the cookie is regenerated using a more secure method.
This tool is intended for use on systems you own or have explicit written authorization to test. Unauthorized use against systems you do not own is illegal. The authors assume no liability for misuse.
| Branch | Vulnerable | Fixed |
|---|
| PAN-OS 10.2 | < 10.2.7-h34, < 10.2.10-h36, < 10.2.13-h21, < 10.2.16-h7, < 10.2.18-h6 | See advisory |
| PAN-OS 11.1 | < 11.1.4-h33, < 11.1.6-h32, < 11.1.7-h6, < 11.1.10-h25, < 11.1.13-h5, < 11.1.15 | See advisory |
| PAN-OS 11.2 | < 11.2.4-h17, < 11.2.7-h14, < 11.2.10-h7, < 11.2.12 | See advisory |
| PAN-OS 12.1 | < 12.1.4-h6, < 12.1.7 | See advisory |
| Cloud NGFW | Not affected | — |
| Panorama | Not affected | — |
LIKELY_PATCHED| GP exposed + version confirmed patched |
POSSIBLE_TARGET_VERSION_UNKNOWN | GP exposed but version could not be read |
NOT_GP_TARGET | No GlobalProtect portal or gateway detected |