Detecting CVE-2026-0265 at Scale: PAN-OS CAS Authentication Bypass
A JWT algorithm confusion flaw in PAN-OS lets an unauthenticated attacker forge a token and log in as any user when Cloud Authentication Service is attached to an authentication profile. This can compromise GlobalProtect VPN sessions or, more severely, the PAN-OS administrator account.
bishopfox.com
Published on bishopfox.com
CVE-2026-0265 lets an unauthenticated, remote attacker forge a JWT and log in as any user the firewall trusts. Two interfaces are affected: attacks against the GlobalProtect portal can compromise virtual private network (VPN) user sessions, while attacks against the management interface can compromise the PAN-OS…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely JWT algorithm confusion: the signature verification function chose the algorithm from the attacker-controlled token header and accepted a symmetric algorithm even when the key was an asymmetric public key.
Impact
An attacker could log in as any trusted user, compromising VPN sessions or, if the management interface is exposed, gaining full administrator control of the firewall.
What the attacker needed
CAS attached to an authentication profile; PAN-OS version below the patched hotfix; Management interface exposed (for admin impact)
The fix
The bug was fixed in patched PAN-OS versions; as a workaround, detach CAS from authentication profiles.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A JSON Web Token (JWT) is a signed piece of data a server uses to prove who you are. The firewall checked the signature in a way that could be tricked into using a public key as a shared secret, so an attacker who knew that public key could create a valid-looking token for any user. This only worked if the firewall was set up to use Palo Alto's cloud login service.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.