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-3502

CVE-2024-3502: Lunary Information Disclosure Vulnerability

CVE-2024-3502 is an information disclosure flaw in Lunary that exposes account recovery hashes to authenticated users. This article covers the technical details, affected versions up to 1.2.5, and mitigation strategies.

Published: June 2, 2026

CVE-2024-3502 Overview

CVE-2024-3502 is an information disclosure vulnerability in lunary-ai/lunary versions up to and including 1.2.5. The application inadvertently returns account recovery hashes in API responses from the GET /v1/users/me and GET /v1/users/me/org endpoints. Any authenticated user can inspect these responses and retrieve recovery hash material belonging to their own account context. While the exposed hashes are not user passwords, they constitute sensitive credential-adjacent material that should remain server-side. The issue was remediated in version 1.2.6.

Critical Impact

Authenticated attackers can harvest account recovery hashes from standard user profile endpoints, enabling downstream account recovery abuse and identity compromise in Lunary AI deployments.

Affected Products

  • Lunary AI lunary versions up to and including 1.2.5
  • Self-hosted Lunary deployments exposing /v1/users/me endpoints
  • Lunary instances using account recovery workflows

Discovery Timeline

  • 2024-11-14 - CVE-2024-3502 published to the National Vulnerability Database (NVD)
  • 2025-10-15 - Last updated in NVD database

Technical Details for CVE-2024-3502

Vulnerability Analysis

Lunary is an observability and analytics platform for large language model (LLM) applications. The vulnerability falls under Information Exposure to an Unauthorized Actor [CWE-201] and Insertion of Sensitive Information into Externally-Accessible File or Directory [CWE-922]. Authenticated requests against GET /v1/users/me and GET /v1/users/me/org return serialized user objects that include recoveryHash fields. The server-side controller fails to strip these sensitive properties before returning the JSON payload to the client.

The attack requires only low-privilege authenticated access. There is no requirement for administrative roles, multi-step interaction, or user assistance. An attacker holding any valid session can issue a single HTTP request to retrieve the hash material associated with the response context.

Root Cause

The root cause is missing output filtering on user serialization. The Lunary backend returns the full user database record rather than a sanitized data transfer object. Sensitive columns such as the recovery hash are included alongside benign profile fields like name and email. The fix in commit 17e95f6c99c7d5ac4ee5451c5857b97a12892c74 removes these fields from the response model.

Attack Vector

The attack vector is network-based against the Lunary HTTP API. An attacker authenticates with valid credentials, then issues GET /v1/users/me or GET /v1/users/me/org. The JSON response contains the recoveryHash value. The attacker can then attempt offline hash analysis or replay the value against account recovery flows that accept the hash as a proof of possession.

No verified public proof-of-concept code is available. Refer to the Huntr Bounty Listing and the GitHub Commit Details for remediation context.

Detection Methods for CVE-2024-3502

Indicators of Compromise

  • HTTP 200 responses from /v1/users/me or /v1/users/me/org containing a recoveryHash JSON field on Lunary versions 1.2.5 or earlier
  • Unusual volumes of authenticated requests to user profile endpoints from a single session or token
  • Subsequent account recovery requests that succeed without normal email-based challenge flows

Detection Strategies

  • Inspect application logs and web application firewall (WAF) telemetry for repeated GET /v1/users/me* calls correlated to single accounts.
  • Deploy response-body inspection rules that flag outbound JSON payloads containing the literal key recoveryHash from Lunary hosts.
  • Compare deployed Lunary commit hash against the patched version 1.2.6 or later during configuration audits.

Monitoring Recommendations

  • Enable verbose API access logging on the Lunary backend and forward logs to a centralized analytics platform.
  • Alert on access pattern anomalies for self-service profile endpoints, especially from service accounts or automation tokens.
  • Monitor account recovery completion events for accounts that did not initiate a recovery request through standard channels.

How to Mitigate CVE-2024-3502

Immediate Actions Required

  • Upgrade all Lunary deployments to version 1.2.6 or later without delay.
  • Rotate account recovery hashes and force password resets for users who accessed the affected endpoints during the vulnerable window.
  • Audit access logs for /v1/users/me and /v1/users/me/org calls predating the upgrade and review accounts with abnormal access patterns.

Patch Information

The vulnerability is fixed in Lunary version 1.2.6. The patch removes the recoveryHash field from API responses returned by the affected endpoints. Review the GitHub Commit Details for the exact code changes applied in commit 17e95f6c99c7d5ac4ee5451c5857b97a12892c74.

Workarounds

  • Restrict network access to the Lunary API to trusted internal networks until the upgrade is completed.
  • Apply a reverse-proxy response filter that strips recoveryHash keys from JSON bodies returned by /v1/users/me and /v1/users/me/org.
  • Invalidate existing recovery hashes by triggering credential rotation procedures across the user base.
bash
# Upgrade Lunary to the patched release
git fetch --tags
git checkout v1.2.6
npm install
npm run build
# Restart the Lunary backend service after deployment

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLunary

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.23%

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

  • CWE-922
  • Vendor Resources
  • GitHub Commit Details

  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2024-9095: Lunary Information Disclosure Vulnerability

  • CVE-2024-5386: Lunary Auth Bypass Vulnerability

  • CVE-2025-9803: 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 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