Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28512

CVE-2026-28512: Pocket ID Auth Bypass Vulnerability

CVE-2026-28512 is an authentication bypass flaw in Pocket ID that allows attackers to redirect authorization codes through crafted callback URLs. This article covers the technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-28512 Overview

CVE-2026-28512 is an Open Redirect vulnerability (CWE-601) affecting Pocket ID, an OpenID Connect (OIDC) provider that enables passkey-based authentication. A flaw in callback URL validation allows crafted redirect_uri values containing URL userinfo (@) characters to bypass legitimate callback pattern checks. This vulnerability enables attackers to redirect authorization codes to attacker-controlled hosts, potentially compromising user authentication sessions.

Critical Impact

Authorization codes can be redirected to attacker-controlled servers, enabling account takeover and unauthorized access to services protected by Pocket ID authentication.

Affected Products

  • Pocket ID versions 2.0.0 through 2.3.x
  • Pocket ID OIDC authentication flows using callback URL validation
  • Services relying on Pocket ID for passkey authentication

Discovery Timeline

  • 2026-03-10 - CVE CVE-2026-28512 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-28512

Vulnerability Analysis

This vulnerability exploits a weakness in how Pocket ID validates OAuth 2.0/OIDC redirect_uri parameters during the authorization flow. The callback URL validation mechanism fails to properly handle URLs containing userinfo components (the @ character in URLs). In URL syntax, the userinfo component appears before the @ symbol and before the actual host, allowing attackers to craft malicious URIs that appear to match legitimate callback patterns while actually redirecting to attacker-controlled domains.

For example, a crafted URI like https://legitimate-site.com@attacker.com/callback would pass validation checks expecting legitimate-site.com but actually redirect to attacker.com. This is a classic URL parsing confusion attack that exploits differences in how URL components are interpreted.

Root Cause

The root cause lies in inadequate URL pattern matching within the callback validation logic. The original implementation used string-based or regex-based matching that failed to properly parse and validate the host component of URLs containing userinfo sections. The validation compared the apparent hostname without accounting for the userinfo-to-host separation defined in RFC 3986.

Attack Vector

The attack is network-based and requires user interaction. An attacker must trick a victim into clicking a malicious authorization link. The attack flow proceeds as follows:

  1. Attacker crafts an authorization URL with a malicious redirect_uri containing the @ bypass technique
  2. Victim clicks the malicious link, initiating an OIDC authentication flow
  3. Pocket ID validates the redirect_uri but incorrectly interprets the hostname
  4. After successful authentication, Pocket ID redirects the authorization code to the attacker's server
  5. Attacker captures the authorization code and can exchange it for access tokens

The security patch addresses this by implementing the go-urlpattern library for proper URL pattern matching:

text
 	github.com/cenkalti/backoff/v5 v5.0.3
 	github.com/disintegration/imageorient v0.0.0-20180920195336-8147d86e83ec
 	github.com/disintegration/imaging v1.6.2
+	github.com/dunglas/go-urlpattern v0.0.0-20241020164140-716dfa1c80b1
 	github.com/emersion/go-sasl v0.0.0-20241020182733-b788ff22d5a6
 	github.com/emersion/go-smtp v0.24.0
 	github.com/gin-contrib/slog v1.2.0

Source: GitHub Commit

The validation logic was refactored to properly parse URLs:

go
 package dto
 
 import (
-	"net/url"
 	"regexp"
-	"strings"
 	"time"
 
 	"github.com/pocket-id/pocket-id/backend/internal/utils"

Source: GitHub Commit

Detection Methods for CVE-2026-28512

Indicators of Compromise

  • Authorization requests containing @ characters in redirect_uri parameters
  • Unexpected callback redirections to external domains
  • Authorization codes being sent to domains not in the registered callback URL list
  • User complaints about unexpected redirects during authentication flows

Detection Strategies

  • Monitor OIDC authorization endpoint logs for redirect_uri parameters containing @ characters followed by unexpected domains
  • Implement alerting on authorization code exchanges from IP addresses not associated with legitimate callback servers
  • Review web application firewall (WAF) logs for suspicious URL patterns in OAuth flows
  • Analyze authentication server logs for patterns indicating open redirect exploitation attempts

Monitoring Recommendations

  • Enable detailed logging for all OAuth 2.0/OIDC authorization requests including full redirect_uri values
  • Configure SIEM rules to detect URL userinfo bypass patterns in authentication flows
  • Monitor for spikes in failed or unusual callback URL validation events
  • Track authorization code usage patterns to identify potential stolen code redemption

How to Mitigate CVE-2026-28512

Immediate Actions Required

  • Upgrade Pocket ID to version 2.4.0 or later immediately
  • Review OAuth client configurations for overly permissive callback URL patterns
  • Audit authentication logs for signs of exploitation during the vulnerability window
  • Notify users if suspicious authentication activity is detected

Patch Information

The vulnerability is fixed in Pocket ID version 2.4.0. The fix implements the go-urlpattern library (specifically github.com/dunglas/go-urlpattern) for robust URL pattern matching that correctly handles URL components including userinfo sections. Review the GitHub Security Advisory GHSA-9h33-g3ww-mqff for complete details and the security patch commit for implementation specifics.

Workarounds

  • If immediate upgrade is not possible, implement additional callback URL validation at the reverse proxy or WAF level to reject URLs containing @ characters
  • Restrict registered callback URLs to exact matches rather than wildcard patterns
  • Consider temporarily disabling public-facing authentication flows until patched
  • Implement strict Content Security Policy headers to limit redirect destinations
bash
# Configuration example - WAF rule to block suspicious redirect_uri patterns
# For nginx/ModSecurity:
SecRule ARGS:redirect_uri "@contains @" "id:1001,phase:1,deny,status:403,msg:'Suspicious redirect_uri pattern detected'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPocket Id

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-9h33-g3ww-mqff
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English