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-2023-22893

CVE-2023-22893: Strapi AWS Cognito Auth Bypass Vulnerability

CVE-2023-22893 is an authentication bypass flaw in Strapi through 4.5.5 using AWS Cognito login provider. Attackers can forge tokens to impersonate users. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-22893 Overview

CVE-2023-22893 is an authentication bypass vulnerability in Strapi, a popular open-source headless CMS, affecting versions through 4.5.5. The vulnerability exists in the OAuth flow when the AWS Cognito login provider is used for authentication. Strapi fails to properly verify access or ID tokens issued during the OAuth process, allowing remote attackers to forge JWT tokens using the 'None' type algorithm and bypass authentication entirely.

Critical Impact

Remote attackers can forge ID tokens to impersonate any user authenticated through AWS Cognito, potentially gaining unauthorized access to administrative functions, sensitive content, and backend systems without valid credentials.

Affected Products

  • Strapi versions up to and including 4.5.5
  • Strapi deployments using AWS Cognito as the OAuth authentication provider
  • Applications relying on Strapi's built-in OAuth token validation

Discovery Timeline

  • 2023-04-19 - CVE-2023-22893 published to NVD
  • 2025-11-07 - Last updated in NVD database

Technical Details for CVE-2023-22893

Vulnerability Analysis

This vulnerability represents a classic JWT algorithm confusion attack (CWE-287: Improper Authentication). The core issue stems from Strapi's failure to enforce strict algorithm validation when processing JWT tokens during the AWS Cognito OAuth authentication flow.

When a user authenticates via AWS Cognito, Strapi receives an ID token that should be cryptographically signed to verify its authenticity. However, the vulnerable versions of Strapi do not properly validate the signing algorithm specified in the JWT header. This oversight allows attackers to craft malicious tokens that specify the alg: none algorithm, effectively creating unsigned tokens that Strapi incorrectly accepts as valid.

The attack requires no prior authentication and can be executed remotely over the network. An attacker only needs to understand the expected JWT structure and the user identifiers used within the target Strapi deployment. Once a forged token is accepted, the attacker assumes the identity of the impersonated user with all associated privileges.

Root Cause

The root cause is insufficient validation of the JWT algorithm field in Strapi's OAuth token verification logic. When processing tokens from AWS Cognito, the application fails to:

  1. Explicitly reject tokens using the none algorithm
  2. Enforce a whitelist of acceptable signing algorithms
  3. Verify that the token's claimed algorithm matches the expected cryptographic verification method

This allows attackers to bypass the cryptographic signature verification by simply declaring that no signature is required, a technique known as the "algorithm none" attack that has affected numerous JWT implementations.

Attack Vector

The attack can be executed remotely over the network without any user interaction or prior authentication. An attacker crafts a malicious JWT token with the following characteristics:

  1. The JWT header specifies "alg": "none" to indicate no signature verification is needed
  2. The payload contains the victim's user identifier (such as email or user ID) obtained through reconnaissance
  3. The signature portion is left empty or omitted entirely

When this forged token is submitted to a vulnerable Strapi instance during an authentication request, the application incorrectly accepts it as valid, granting the attacker access as the impersonated user. The attacker can target any user account, including administrators, potentially leading to complete compromise of the Strapi deployment.

The attack does not require complex tooling—standard JWT manipulation utilities or even manual token construction is sufficient. Technical details of this vulnerability class are documented in the GhostCamm security research.

Detection Methods for CVE-2023-22893

Indicators of Compromise

  • JWT tokens in authentication requests with "alg": "none" or "alg": "None" in the header
  • Authentication requests containing JWT tokens with empty or missing signature sections
  • Unusual successful authentication events for AWS Cognito users without corresponding Cognito authentication logs
  • Access patterns from unfamiliar IP addresses immediately following suspicious authentication attempts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to inspect and block JWT tokens specifying the none algorithm
  • Monitor authentication logs for tokens where the signature component is absent or malformed
  • Correlate Strapi authentication events with AWS Cognito CloudTrail logs to identify forged tokens
  • Deploy network intrusion detection signatures targeting JWT algorithm manipulation patterns

Monitoring Recommendations

  • Enable detailed logging for all OAuth authentication flows in Strapi applications
  • Configure alerts for any authentication attempts using non-standard JWT algorithms
  • Implement real-time monitoring of successful authentications that lack corresponding IdP-side records
  • Review audit logs for privilege escalation or administrative actions following suspicious authentication events

How to Mitigate CVE-2023-22893

Immediate Actions Required

  • Upgrade Strapi to version 4.6.0 or later which includes the security fix for this vulnerability
  • Audit authentication logs to identify any potential exploitation attempts
  • Review user sessions and revoke any suspicious or unauthorized access
  • Consider temporarily disabling AWS Cognito authentication if immediate patching is not possible

Patch Information

Strapi has addressed this vulnerability in versions released after 4.5.5. Organizations should upgrade to the latest stable release to receive this and other security fixes. The official Strapi Release Notes provide detailed changelog information, and the Strapi Security Vulnerability Blog contains the vendor's security disclosure.

Workarounds

  • If upgrading is not immediately possible, implement a reverse proxy or WAF rule to reject requests containing JWT tokens with alg: none or alg: None
  • Consider switching to an alternative OAuth provider until the vulnerability is patched
  • Implement additional application-layer validation to verify tokens against AWS Cognito's public keys before accepting authentication
  • Restrict network access to the Strapi admin panel and API endpoints to trusted IP ranges
bash
# Example nginx configuration to block JWT none algorithm
# Add to server block protecting Strapi endpoints
location /api/auth/ {
    if ($http_authorization ~* "\"alg\":\s*\"[Nn]one\"") {
        return 403;
    }
    proxy_pass http://strapi_backend;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechStrapi

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability66.48%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Strapi Release Notes

  • GhostCamm Multi Strapi Vulnerabilities
  • Vendor Resources
  • Strapi Security Vulnerability Blog
  • Related CVEs
  • CVE-2023-22894: Strapi Information Disclosure 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