PKCE Becomes Mandatory for OAuth Public Clients as RFC 9700 and OAuth 2.1 Close Authorization Code Interception Risks
The OAuth authorization code grant was designed to avoid exposing user passwords to applications by issuing short-lived codes instead of tokens directly. However, public clients such as native mobile apps and single-page applications cannot securely store a client_secret, leaving intercepted codes vulnerable to exchange for tokens.
PKCE (Proof Key for Code Exchange), defined in RFC 7636, solves this by requiring the client to generate a high-entropy code_verifier (43–128 characters) and send its SHA-256 hash as code_challenge during the initial authorization request. The authorization server stores the challenge and later verifies it against the verifier supplied at the token endpoint.
Why mobile apps cannot rely on client secrets
Server-side applications keep secrets in environment variables, but native Android or iOS apps can be decompiled and browser-based applications expose all source code. Even protected storage like iOS Keychain or Android Keystore can be bypassed on jailbroken or rooted devices, making any embedded secret effectively public.
The attack PKCE was created to stop
Multiple applications can register the same custom URI scheme such as myapp://callback. When the authorization server redirects the code, the operating system may deliver it to a malicious app that quietly declared the same scheme in its manifest. RFC 7636 notes that such code interception attacks have been observed in the wild.
How PKCE works in practice
The client creates a code_verifier using a cryptographically secure random generator, computes the code_challenge as BASE64URL(SHA256(verifier)), and includes it with code_challenge_method=S256. At token exchange the original verifier is sent over a secure channel; the server recomputes the hash and rejects any mismatch with an invalid_grant error.
The plain method offers only limited protection and is deprecated in favor of S256, which is mandatory to implement on servers. Omitting the method parameter defaults to plain, silently weakening security.
Three distinct threats often confused
- Code interception: malicious app steals the real user code via URI scheme collision.
- Code injection: attacker supplies its own code to bind a victim session to the attacker account; PKCE blocks this even for confidential clients.
- Downgrade: server accepts requests without a challenge, disabling verification entirely.
PKCE does not replace other safeguards
The state parameter still protects against CSRF, and nonce in OpenID Connect ensures ID token freshness. RFC 9700 allows relying on PKCE for CSRF protection only after confirming server support. PKCE also does not protect issued access tokens; sender-constrained mechanisms such as DPoP (RFC 9449) or mutual TLS (RFC 8705) address that layer.
Current status in 2025–2026
RFC 9700 (BCP) already requires PKCE for public clients and recommends it for confidential clients. The OAuth 2.1 draft (draft-ietf-oauth-v2-1-15) integrates PKCE into the core flow and removes implicit and ROPC grants. Providers differ in defaults: Auth0 and Okta enforce S256, while Microsoft Entra ID still documents both methods.
Even AI agent authorization frameworks such as the Model Context Protocol are adopting OAuth 2.1 with PKCE for HTTP transports where static secrets are impractical.
Related articles
WhatsApp to Force iOS Updates on Vulnerable iPhones to Block Spyware Attacks
WhatsApp, owned by Meta, will begin enforcing mandatory iOS updates for users running vulnerable versions of Apple's operating system. The policy responds to active campaigns deploying spyware through web-based attacks that require no user interaction beyond visiting a malicious site. Devices showing signs of compromise will have sessions terminated until the latest iOS patch is installed. The requirement will soon apply to all users with vulnerable iOS versions regardless of infection status and will also block new account registrations on affected devices. The move follows similar warnings issued by Telegram founder Pavel Durov regarding the same threat actors. Researchers have linked the activity to the Coruna and DarkSword exploit kits, which target specific iOS ranges and focus on stealing personal data and cryptocurrency wallet contents. iVerify reports that 75 percent of detected spyware incidents now stem from these mass criminal campaigns rather than targeted operations.
Yandex SmartCaptcha Fully Bypassed by Automated Audio Challenge Solver
A detailed reverse engineering report demonstrates that Yandex SmartCaptcha can be solved autonomously without human intervention. The researcher built a pipeline combining Vosk, Whisper large-v3-turbo and a spectral ensemble that passes the audio challenge on three consecutive attempts. The analysis reveals that the widget actually runs across three separate iframes, with all /check requests originating from a hidden backend iframe containing the 551 KB obfuscated PGreed fingerprinting library. Proof-of-Work, canvas fingerprints, mouse telemetry and 104 encrypted device attributes are collected, yet the audio branch proves weaker than intended. The static intro track and limited four-digit vocabulary allow the multi-engine consensus to outperform human listeners on the same distorted audio samples.
Linux 5.10 LTS and 5.15 LTS Reach End of Life with Thousands of Unpatched CVEs
Greg Kroah-Hartman has officially moved the Linux 5.10 LTS and Linux 5.15 LTS kernel branches to end-of-life status in early December 2026. The kernels, which received long-term support since 2020 and 2021 respectively, will no longer receive security updates after five to six years of maintenance. Hundreds of unpatched vulnerabilities remain in the final releases, with 2366 CVEs listed for version 5.10.276 and 2264 CVEs for 5.15.227. Kroah-Hartman strongly recommends migrating to currently supported LTS branches such as Linux 6.1 and Linux 6.6. The next long-term kernel is expected to be Linux 7.3 rather than the later Linux 7.4 release.
Critical OS Command Injection Flaw in Movable Type Already Under Active Exploitation
Six Apart has disclosed a severe vulnerability in its Movable Type content management system that allows remote attackers to execute arbitrary operating system commands. The flaw, tracked as CVE-2026-125615, resides in the installation wizard component mt-wizard.cgi and carries a CVSS v4.0 base score of 9.3 along with a CVSS v3.0 score of 9.8. Security updates addressing the issue were released on December 1, 2026, covering multiple versions of both Movable Type and Movable Type Premium. The vendor has already observed real-world attacks exploiting the vulnerability. All cloud-hosted environments have been automatically updated, while on-premises users are urged to apply the patches immediately. JVN has issued an urgent advisory highlighting the need for rapid remediation.