A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2026-28280

CVE-2026-28280: osctrl-admin Stored XSS Vulnerability

CVE-2026-28280 is a stored XSS vulnerability in osctrl-admin's on-demand query list that allows privilege escalation to administrator access. This article covers the technical details, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2026-28280 Overview

CVE-2026-28280 is a stored cross-site scripting (XSS) vulnerability in osctrl, an osquery management solution. The vulnerability exists in the osctrl-admin on-demand query list functionality, allowing attackers with query-level permissions to inject arbitrary JavaScript code via the query parameter. This malicious payload is stored and subsequently executes in the browser of any user—including administrators—who visits the query list page. When combined with CSRF token extraction techniques, this vulnerability can be chained to escalate privileges and perform actions as the authenticated user, potentially leading to full platform compromise.

Critical Impact

An attacker with the lowest privilege tier (query-level permissions) can execute arbitrary JavaScript in the browsers of all users who view the query list. If an administrator's session executes the malicious payload, this can lead to complete platform compromise.

Affected Products

  • osctrl versions prior to 0.5.0
  • osctrl-admin component (on-demand query list feature)

Discovery Timeline

  • 2026-02-26 - CVE-2026-28280 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-28280

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) arises from improper input validation and output encoding in the osctrl-admin web interface. When a user with query-level permissions submits an on-demand query, the application fails to properly sanitize the query parameter input before storing it in the database. Subsequently, when any user navigates to the query list page, the stored malicious payload is rendered without proper encoding, causing the injected JavaScript to execute within the victim's browser context.

The vulnerability is particularly concerning because query-level permissions represent the lowest privilege tier in osctrl's access control model. This means even users with minimal access rights can inject persistent malicious scripts that target all other users of the platform, including those with administrative privileges.

Root Cause

The root cause of this vulnerability is the lack of proper input sanitization on the query parameter during submission and insufficient output encoding when rendering stored queries on the query list page. The application trusts user-supplied input and reflects it directly into the HTML response without applying context-appropriate encoding, creating a classic stored XSS condition.

Attack Vector

The attack vector is network-based and requires the attacker to have authenticated access with at least query-level permissions. The attack unfolds in the following sequence:

  1. An attacker with query-level permissions crafts a malicious on-demand query containing JavaScript code within the query parameter
  2. The malicious payload is submitted through the osctrl-admin interface and stored in the application database
  3. When any authenticated user (including administrators) visits the query list page, the stored payload executes in their browser
  4. The attacker can chain this with CSRF token extraction to perform privileged actions as the victim user
  5. If an administrator triggers the payload, the attacker can potentially create new admin accounts or modify system configurations

The vulnerability does not require user interaction beyond the victim visiting the query list page, which is a common administrative action in osctrl deployments.

Detection Methods for CVE-2026-28280

Indicators of Compromise

  • Unusual JavaScript code patterns in query list entries (e.g., <script> tags, event handlers like onerror, onload)
  • Queries containing encoded script payloads or obfuscated JavaScript
  • Unexpected administrator account creation or privilege escalation events
  • Anomalous API calls or configuration changes following query list page visits

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS payloads in query submissions
  • Monitor application logs for queries containing HTML tags or JavaScript event handlers
  • Deploy browser-based XSS detection extensions for security team browsers
  • Review database records in the query storage tables for suspicious content patterns

Monitoring Recommendations

  • Enable detailed logging for all query submission and modification events
  • Configure alerts for new administrator account creation or privilege changes
  • Monitor for unusual session activity following query list page access
  • Implement Content Security Policy (CSP) headers to restrict inline script execution

How to Mitigate CVE-2026-28280

Immediate Actions Required

  • Upgrade osctrl to version 0.5.0 or later immediately
  • Audit existing query list entries for potentially malicious payloads
  • Review osctrl user accounts for any unauthorized administrators that may have been created through exploitation
  • Restrict query-level permissions to trusted users only until patching is complete

Patch Information

The vulnerability is fixed in osctrl version 0.5.0. The fix was implemented through two pull requests that address the input validation and output encoding issues:

  • GitHub Pull Request #778
  • GitHub Pull Request #780

For complete details on the vulnerability and remediation, refer to the GitHub Security Advisory GHSA-4rv8-5cmm-2r22.

Workarounds

  • Restrict query-level permissions to only trusted users within the organization
  • Manually monitor the query list for suspicious payloads containing script tags or JavaScript code
  • Conduct a security review of osctrl user accounts to identify and remove unauthorized administrators
  • Implement Content Security Policy headers to mitigate the impact of any injected scripts
  • Consider temporarily disabling the on-demand query feature until patching is complete
bash
# Upgrade osctrl to the patched version
# Pull the latest release from the official repository
git fetch --tags
git checkout v0.5.0

# Rebuild and redeploy osctrl-admin
make build
# Follow your deployment process to update the running instance

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOsctrl

  • SeverityMEDIUM

  • CVSS Score6.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Pull Request #778

  • GitHub Pull Request #780

  • GitHub Security Advisory GHSA-4rv8-5cmm-2r22
  • Related CVEs
  • CVE-2026-28279: osctrl Admin RCE Vulnerability
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
  • English
  • 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