The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-4147

CVE-2024-4147: Lunary AI Auth Bypass Vulnerability

CVE-2024-4147 is an authentication bypass flaw in Lunary AI version 1.2.13 that enables unauthorized prompt deletion across organizations through ID manipulation. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 6, 2026

CVE-2024-4147 Overview

A critical insufficient granularity of access control vulnerability (CWE-1220) has been identified in lunary-ai/lunary version 1.2.13, allowing unauthorized users to delete prompts created by other organizations through ID manipulation. This Broken Access Control vulnerability enables attackers to bypass ownership validation and remove resources belonging to other users' projects or organizations.

Critical Impact

Attackers can delete prompts belonging to other organizations, causing data loss, service disruption, and information inconsistencies across the platform.

Affected Products

  • lunary-ai/lunary version 1.2.13
  • Potentially other versions prior to the security patch

Discovery Timeline

  • 2026-02-02 - CVE-2024-4147 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2024-4147

Vulnerability Analysis

This vulnerability represents a classic Broken Access Control flaw where the application fails to properly validate resource ownership before performing destructive operations. The lunary-ai/lunary application implements permission checks to verify whether a user has the capability to delete prompt resources, but critically omits validation of whether the targeted prompt actually belongs to the user's organization or project.

The insufficient granularity of access control allows any authenticated user with prompt deletion permissions to manipulate resource identifiers (IDs) to target prompts outside their organizational boundary. This design flaw creates a horizontal privilege escalation scenario where users can affect resources belonging to peer organizations.

Root Cause

The root cause stems from incomplete authorization logic in the prompt deletion functionality. The application only verifies that a user possesses the generic permission to delete prompts, without implementing the necessary ownership check to confirm the prompt belongs to the requesting user's organization or project. This represents a missing authorization check at the object level, a common pattern in Insecure Direct Object Reference (IDOR) vulnerabilities.

Attack Vector

The attack vector for this vulnerability is network-based and requires no user interaction. An authenticated attacker can exploit this flaw by:

  1. Obtaining or enumerating prompt IDs belonging to other organizations
  2. Crafting a deletion request with the target prompt ID
  3. Submitting the request through the standard API endpoint
  4. Successfully deleting prompts outside their organizational scope

The exploitation does not require elevated privileges beyond basic authenticated access with prompt deletion capabilities. Attackers can systematically enumerate and delete prompts across the platform, causing widespread data loss and service disruption for legitimate users.

Detection Methods for CVE-2024-4147

Indicators of Compromise

  • Unusual patterns of prompt deletion requests targeting sequential or enumerated IDs
  • API audit logs showing deletion attempts for resources outside the authenticated user's organization
  • User complaints about missing prompts that were not deleted by authorized personnel
  • Spike in 404 or resource-not-found errors following deletion operations

Detection Strategies

  • Implement audit logging for all prompt deletion operations including the requesting user's organization ID and the target prompt's organization ID
  • Create alerts for deletion requests where the prompt's organization does not match the requester's organization
  • Monitor for enumeration patterns in API requests targeting prompt resources
  • Correlate deletion events with user session data to identify cross-boundary access attempts

Monitoring Recommendations

  • Enable detailed API request logging for all destructive operations (DELETE methods)
  • Implement real-time alerting on authorization boundary violations
  • Establish baseline metrics for normal prompt deletion rates per organization and alert on anomalies
  • Review access control audit logs regularly for signs of IDOR exploitation attempts

How to Mitigate CVE-2024-4147

Immediate Actions Required

  • Update lunary-ai/lunary to the patched version containing commit 0755dde1afc2a74ec23b55eee03e4416916cf48f
  • Audit existing prompt deletion logs to identify potential exploitation
  • Review and verify the integrity of prompt data across all organizations
  • Implement additional authorization checks at the application gateway level if immediate patching is not possible

Patch Information

A security fix has been committed to the lunary-ai/lunary repository. The patch is available in GitHub Commit 0755dde1afc2a74ec23b55eee03e4416916cf48f. Organizations should update to a version containing this commit. Additional details about this vulnerability can be found in the Huntr Bounty Listing.

Workarounds

  • Implement a reverse proxy or API gateway rule to validate that deletion requests only target resources within the authenticated user's organization scope
  • Temporarily restrict prompt deletion permissions to administrative users only until the patch can be applied
  • Enable strict audit logging for all prompt operations to detect and respond to exploitation attempts
  • Consider implementing rate limiting on deletion endpoints to slow potential enumeration attacks
bash
# Example: Review recent prompt deletion activity for anomalies
# Check application logs for cross-organization deletion attempts
grep -E "DELETE.*prompt" /var/log/lunary/api.log | \
  awk '{print $1, $2, $NF}' | \
  sort | uniq -c | sort -rn | head -20

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 Ai

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1220
  • Technical References
  • GitHub Commit Update

  • Huntr Bounty Listing
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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