A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-52871

CVE-2024-52871: Flagsmith Auth Bypass Vulnerability

CVE-2024-52871 is an authentication bypass flaw in Flagsmith that allows attackers to bypass the ALLOW_REGISTRATION_WITHOUT_INVITE setting. This article covers technical details, affected versions, impact, and mitigation.

Published: June 2, 2026

CVE-2024-52871 Overview

CVE-2024-52871 is an authorization bypass vulnerability in Flagsmith, an open-source feature flag and remote configuration platform. Versions prior to 2.134.1 allow attackers to bypass the ALLOW_REGISTRATION_WITHOUT_INVITE setting. Administrators rely on this setting to restrict account creation to invited users only. The flaw lets unauthenticated attackers register accounts even when the setting is explicitly disabled. This undermines the access control posture of Flagsmith deployments that depend on invitation-only onboarding.

Critical Impact

Remote attackers can create accounts on Flagsmith instances that should be closed to public registration, exposing the platform to unauthorized access.

Affected Products

  • Flagsmith versions prior to 2.134.1
  • Self-hosted Flagsmith deployments using ALLOW_REGISTRATION_WITHOUT_INVITE=false
  • Flagsmith instances exposing the registration API endpoint to untrusted networks

Discovery Timeline

  • 2024-11-17 - CVE-2024-52871 published to the National Vulnerability Database
  • 2025-07-07 - Last updated in NVD database

Technical Details for CVE-2024-52871

Vulnerability Analysis

Flagsmith exposes a configuration option named ALLOW_REGISTRATION_WITHOUT_INVITE. Administrators set this flag to false to require an invitation before a user can create an account. The vulnerability allows attackers to bypass this control entirely. An unauthenticated request to the registration endpoint succeeds even when the setting prohibits open registration.

The weakness is classified as a broken access control issue. The CWE classification is NVD-CWE-noinfo because the upstream advisory did not provide a specific CWE mapping. The fix was merged in pull request #4454 and released in Flagsmith 2.134.1.

The EPSS score is 0.066%, reflecting low observed exploitation activity. The flaw still poses a meaningful risk to organizations that rely on registration restrictions to enforce tenant boundaries or limit attack surface on internet-facing deployments.

Root Cause

The root cause is incomplete enforcement of the ALLOW_REGISTRATION_WITHOUT_INVITE configuration value in the registration request path. The server-side check that should reject unsolicited sign-ups does not cover all registration code paths. The patch in pull request #4454 closes the gap so that the registration handler honors the setting consistently.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends a crafted HTTP request to the Flagsmith registration endpoint on an exposed instance. The server processes the request and provisions an account despite the invitation-only configuration. The attacker then logs in with the newly created credentials and accesses functionality intended for invited users.

No public proof-of-concept exploit is currently published. Refer to the Flagsmith pull request #4454 and the v2.134.0 to v2.134.1 diff for the exact code paths affected.

Detection Methods for CVE-2024-52871

Indicators of Compromise

  • Unexpected new user accounts created on Flagsmith instances configured with ALLOW_REGISTRATION_WITHOUT_INVITE=false
  • HTTP POST requests to /api/v1/auth/users/ or related registration endpoints from untrusted source IPs
  • Account creation events with no corresponding invitation record in the Flagsmith database

Detection Strategies

  • Audit the Flagsmith user table for accounts created after deployment that lack a matching invitation entry
  • Review reverse-proxy and application logs for 2xx responses on registration endpoints when registration should be disabled
  • Compare the running Flagsmith version against 2.134.1 and flag any instance running an earlier release

Monitoring Recommendations

  • Forward Flagsmith application logs to a centralized logging or SIEM platform and alert on new user registrations
  • Monitor authentication events for first-time logins from newly registered accounts on internet-facing instances
  • Track configuration drift on the ALLOW_REGISTRATION_WITHOUT_INVITE environment variable across deployments

How to Mitigate CVE-2024-52871

Immediate Actions Required

  • Upgrade Flagsmith to version 2.134.1 or later on all self-hosted deployments
  • Audit existing accounts and disable or delete any user that was not provisioned through an invitation
  • Restrict network access to the Flagsmith registration endpoint using firewall rules or reverse-proxy ACLs until patching is complete

Patch Information

The fix is delivered in Flagsmith 2.134.1. Review the GitHub version comparison and the pull request #4454 discussion for the full set of code changes. Apply the upgrade following the standard Flagsmith deployment process for your environment, whether Docker, Helm, or source-based installation.

Workarounds

  • Place the Flagsmith application behind a reverse proxy that blocks unauthenticated POST requests to the registration endpoint
  • Restrict the Flagsmith instance to internal networks or VPN-only access until the upgrade is applied
  • Continuously review the user table and remove unauthorized accounts on a scheduled basis
bash
# Upgrade Flagsmith using Docker
docker pull flagsmith/flagsmith:2.134.1
docker stop flagsmith
docker rm flagsmith
docker run -d --name flagsmith \
  -e ALLOW_REGISTRATION_WITHOUT_INVITE=false \
  -p 8000:8000 \
  flagsmith/flagsmith:2.134.1

# Verify the running version
docker exec flagsmith python -c "import flagsmith; print(flagsmith.__version__)"

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechFlagsmith

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • 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
  • NVD-CWE-noinfo
  • Vendor Resources
  • GitHub Version Comparison

  • GitHub Pull Request Discussion
  • Latest CVEs
  • CVE-2026-49199: Acer Predator Connect W6x Firmware RCE Flaw

  • CVE-2026-46344: Openquantumsafe Liboqs DOS Vulnerability

  • CVE-2026-44518: Openquantumsafe Liboqs DoS Vulnerability

  • CVE-2026-42951: MacGregor VDR Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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