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-2024-1741

CVE-2024-1741: Lunary Auth Bypass Vulnerability

CVE-2024-1741 is an authorization bypass flaw in Lunary that allows removed members to access prompt templates using old tokens. This article covers technical details, affected versions, impact, and mitigation.

Published: April 8, 2026

CVE-2024-1741 Overview

CVE-2024-1741 is a critical improper authorization vulnerability affecting lunary-ai/lunary version 1.0.1, an AI observability and analytics platform. The vulnerability allows removed organization members to continue accessing and manipulating prompt templates using previously captured authorization tokens. Despite having their membership revoked from an organization, malicious actors can exploit this flaw to read, create, modify, and delete sensitive prompt template data by sending HTTP requests with their old authorization tokens.

Critical Impact

Removed organization members can maintain unauthorized access to sensitive prompt templates, enabling data theft, tampering, and potential manipulation of AI workflows within affected organizations.

Affected Products

  • Lunary version 1.0.1
  • Lunary AI observability platform (versions prior to patch)

Discovery Timeline

  • 2024-04-10 - CVE-2024-1741 published to NVD
  • 2025-01-31 - Last updated in NVD database

Technical Details for CVE-2024-1741

Vulnerability Analysis

This vulnerability stems from a fundamental flaw in the authorization mechanism within Lunary's access control system. When organization administrators remove a member from their organization, the application fails to properly invalidate or revoke the associated authorization tokens. This creates a window of persistent unauthorized access where former members can continue to interact with organization resources as if they were still active members.

The vulnerability is classified under CWE-863 (Incorrect Authorization), which describes scenarios where a product performs an authorization check that does not correctly determine whether the actor is authorized to perform an action. In this case, the token validation logic does not verify whether the token owner's membership status is currently valid within the organization context.

Root Cause

The root cause of this vulnerability lies in the inadequate token lifecycle management and missing membership verification checks during API request authorization. When a user's organization membership is revoked, the system fails to:

  1. Invalidate existing authorization tokens associated with that user-organization relationship
  2. Verify current membership status during token-based authorization checks
  3. Implement proper session termination or token revocation mechanisms

This architectural oversight allows stale tokens to remain valid and functional, granting continued access to organization-scoped resources like prompt templates.

Attack Vector

The attack vector is network-based and requires no user interaction. An attacker who was previously a legitimate member of an organization needs only to have captured their authorization token during their membership period. After being removed from the organization, the attacker can craft HTTP requests targeting the prompt template endpoints, including the old authorization token in the request headers. The server processes these requests without verifying whether the token owner is still an active member, granting full CRUD (Create, Read, Update, Delete) access to prompt templates.

The attack flow involves an attacker capturing their authorization token while still an organization member, then being removed from the organization by an administrator. Subsequently, the attacker sends authenticated HTTP requests to prompt template endpoints using the captured token, and the server accepts the requests and performs the requested operations without membership validation.

Detection Methods for CVE-2024-1741

Indicators of Compromise

  • API requests to prompt template endpoints from IP addresses not associated with current organization members
  • Unusual access patterns to prompt templates following user removal events
  • Audit log entries showing template modifications by users no longer in the organization roster
  • High-frequency API calls from tokens associated with removed members

Detection Strategies

  • Implement correlation rules comparing user removal events with subsequent API activity from those users
  • Monitor for authorization token usage patterns that continue after membership revocation
  • Deploy anomaly detection on prompt template access patterns to identify unauthorized modifications
  • Enable detailed API request logging with user identity and organization membership verification status

Monitoring Recommendations

  • Enable comprehensive audit logging for all prompt template operations including read, create, update, and delete actions
  • Correlate user management events (removal, suspension) with subsequent API authentication attempts
  • Monitor for API requests using tokens that should have been invalidated
  • Set up alerts for prompt template modifications occurring outside normal business patterns

How to Mitigate CVE-2024-1741

Immediate Actions Required

  • Upgrade to the patched version of Lunary that includes commit d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2
  • Invalidate all existing authorization tokens for users who have been removed from organizations
  • Review audit logs for any unauthorized access by former organization members
  • Regenerate authorization tokens for all current organization members as a precautionary measure

Patch Information

Lunary has released a security patch addressing this vulnerability. The fix is available in the GitHub commit d8e2e73. Organizations running Lunary should immediately update to a version containing this patch. The vulnerability was reported through the Huntr bug bounty program, which contains additional technical details about the disclosure.

Workarounds

  • Implement additional authorization layers at the network or application gateway level to verify organization membership
  • Regularly rotate all authorization tokens and enforce short token expiration times
  • Deploy API gateway rules that cross-reference user tokens against current organization membership before forwarding requests
  • Consider implementing session-based authentication with immediate revocation capabilities as an interim measure
bash
# Token rotation and member audit example
# Review current organization members
lunary-cli org list-members --org-id YOUR_ORG_ID

# Force token rotation for all members
lunary-cli tokens rotate --org-id YOUR_ORG_ID --all-members

# Review audit logs for removed member activity
lunary-cli audit-log query --org-id YOUR_ORG_ID --include-removed-members

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLunary

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Commit Changes

  • Huntr Bounty Report
  • Related CVEs
  • CVE-2024-5386: Lunary Auth Bypass Vulnerability

  • CVE-2024-7475: Lunary Auth Bypass Vulnerability

  • CVE-2024-1740: Lunary Authentication Bypass Vulnerability

  • CVE-2025-5352: Lunary Analytics Stored 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