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-2025-9803

CVE-2025-9803: Lunary Authentication Bypass Vulnerability

CVE-2025-9803 is an authentication bypass flaw in Lunary that allows account takeover via improper Google OAuth validation. This article covers the technical details, affected versions, and mitigation steps.

Published: April 29, 2026

CVE-2025-9803 Overview

CVE-2025-9803 is an authentication bypass vulnerability in lunary-ai/lunary version 1.9.34 that enables account takeover through improper validation in the Google OAuth integration. The application fails to verify the 'aud' (audience) field in access tokens issued by Google, a critical security check that ensures tokens are intended for the legitimate application. This oversight allows attackers to leverage tokens issued to malicious applications to gain unauthorized access to user accounts on the Lunary platform.

Critical Impact

Attackers can exploit this OAuth misconfiguration to completely take over user accounts by using access tokens from malicious applications, potentially gaining full access to sensitive AI/LLM observability data and configurations.

Affected Products

  • lunary-ai/lunary version 1.9.34
  • Lunary AI observability platform deployments using Google OAuth authentication
  • Self-hosted and cloud instances running vulnerable versions

Discovery Timeline

  • 2025-11-25 - CVE-2025-9803 published to NVD
  • 2025-12-30 - Last updated in NVD database

Technical Details for CVE-2025-9803

Vulnerability Analysis

This authentication bypass vulnerability stems from a fundamental flaw in OAuth 2.0 token validation within the Lunary application. When a user authenticates via Google OAuth, the application receives an access token that contains several claims, including the 'aud' (audience) field. This field specifies which application the token was originally issued for and serves as a critical security control to prevent token misuse across different applications.

The vulnerable code in Lunary 1.9.34 accepts Google OAuth tokens without verifying that the audience claim matches the legitimate Lunary application's client ID. This creates a scenario where an attacker can register their own malicious OAuth application with Google, obtain a valid access token from an unsuspecting user (perhaps through a phishing attack or malicious app), and then replay that token against Lunary's authentication endpoint.

The vulnerability is classified under CWE-287 (Improper Authentication) and CWE-863 (Incorrect Authorization), as it represents both a failure in the authentication mechanism and improper access control enforcement.

Root Cause

The root cause is the missing validation of the 'aud' (audience) claim in the Google OAuth token verification process. OAuth 2.0 security best practices require applications to verify that received tokens were specifically issued for their application by checking that the audience field matches their registered client ID. Without this check, the authentication flow cannot distinguish between legitimate tokens issued for Lunary and tokens that were issued for completely different applications but happen to belong to the same Google user.

Attack Vector

The attack follows a token confusion pattern that exploits the missing audience validation:

  1. Attacker Setup: The attacker creates a malicious OAuth application registered with Google, obtaining their own client ID and secret.

  2. User Interaction: The attacker lures a target user to their malicious application and requests Google OAuth authentication. The user, not realizing the implications, grants access to the attacker's application.

  3. Token Acquisition: The attacker's malicious application receives a valid Google access token for the victim user, but this token's audience field points to the attacker's application client ID.

  4. Token Replay: The attacker submits this token to Lunary's Google OAuth authentication endpoint. Because Lunary fails to validate the audience claim, it accepts the token as valid.

  5. Account Takeover: Lunary authenticates the attacker as the victim user, granting full access to the victim's account, including AI/LLM logs, API keys, and project configurations.

The attack requires some user interaction (the victim must authenticate to the attacker's malicious application), but does not require any privileges on the Lunary platform itself. The fix implemented in version 1.9.35 adds proper audience validation to ensure tokens are only accepted if they were explicitly issued for Lunary's OAuth client ID. For technical details, see the security patch commit.

Detection Methods for CVE-2025-9803

Indicators of Compromise

  • Authentication events where the same user account is accessed from multiple disparate IP addresses or geographic locations in a short timeframe
  • Unusual OAuth token usage patterns, particularly tokens with mismatched audience claims if logging is enabled
  • Account activity anomalies such as unexpected API key generation, configuration changes, or data exports
  • User reports of unauthorized access or unexpected session activity

Detection Strategies

  • Implement logging of OAuth token metadata including the audience claim to identify potential token confusion attacks
  • Monitor authentication logs for accounts that suddenly become active from new or suspicious IP addresses
  • Deploy User and Entity Behavior Analytics (UEBA) to detect anomalous account access patterns
  • Review audit logs for sensitive operations following Google OAuth authentication events

Monitoring Recommendations

  • Enable comprehensive authentication logging that captures OAuth token validation details
  • Set up alerts for account activity from new devices or locations following OAuth authentication
  • Monitor for bulk data access or API key creation that may indicate post-compromise reconnaissance
  • Implement session monitoring to detect concurrent sessions from inconsistent locations

How to Mitigate CVE-2025-9803

Immediate Actions Required

  • Upgrade lunary-ai/lunary to version 1.9.35 or later immediately
  • Audit recent authentication logs for any suspicious OAuth-based logins
  • Consider temporarily disabling Google OAuth authentication until the patch is applied if upgrade is delayed
  • Notify users to review their account activity and regenerate API keys if suspicious activity is detected
  • Force re-authentication for all active sessions after applying the patch

Patch Information

The vulnerability is resolved in lunary-ai/lunary version 1.9.35. The security fix adds proper validation of the 'aud' (audience) claim in Google OAuth tokens, ensuring that only tokens explicitly issued for the Lunary application are accepted during authentication. The patch can be reviewed at the GitHub commit. Additional details about the vulnerability discovery are available at the Huntr bounty listing.

Workarounds

  • Disable Google OAuth integration entirely and use alternative authentication methods until the patch can be applied
  • Implement network-level restrictions to limit OAuth authentication endpoints to trusted IP ranges
  • Deploy a Web Application Firewall (WAF) with custom rules to inspect OAuth flows for anomalies
  • Enable multi-factor authentication as an additional layer of protection for sensitive accounts
bash
# Upgrade Lunary to the patched version
npm update lunary@1.9.35

# Alternatively, if using Docker, pull the latest image
docker pull lunary/lunary:1.9.35

# Verify the installed version after upgrade
npm list lunary

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

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-287

  • CWE-863
  • Technical References
  • GitHub Commit Changes

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

  • CVE-2024-7475: Lunary Auth Bypass Vulnerability

  • CVE-2024-1741: Lunary Auth Bypass Vulnerability

  • CVE-2024-1740: Lunary Authentication Bypass 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