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-2026-44204

CVE-2026-44204: Shelf Platform SQL Injection Vulnerability

CVE-2026-44204 is a SQL injection flaw in Shelf platform that lets authenticated users execute arbitrary SQL queries and access sensitive data across organizations. This article covers technical details, affected versions, and mitigations.

Published: May 17, 2026

CVE-2026-44204 Overview

CVE-2026-44204 is a SQL injection vulnerability in Shelf, an open-source platform for tracking physical assets. The flaw affects versions from 1.12 up to but not including 1.20.1. An authenticated user with any role can inject arbitrary SQL through the sortBy query parameter on the /assets route. Successful exploitation allows the attacker to read data from any table in the database, including records belonging to other organizations in multi-tenant deployments. The vulnerability is classified under [CWE-20: Improper Input Validation] and has been remediated in Shelf version 1.20.1.

Critical Impact

Any authenticated Shelf user can read arbitrary database tables across tenant boundaries by injecting SQL through the sortBy parameter on /assets.

Affected Products

  • Shelf (shelf.nu) versions 1.12 through 1.20.0
  • Self-hosted Shelf deployments prior to 1.20.1
  • Multi-tenant Shelf instances sharing a single database

Discovery Timeline

  • 2026-05-12 - CVE-2026-44204 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-44204

Vulnerability Analysis

The vulnerability resides in the asset listing endpoint /assets, which accepts a sortBy query parameter used to construct ORDER BY clauses in raw SQL queries. The application interpolates the user-supplied value directly into the SQL string without validating it as a safe identifier. PostgreSQL does not parameterize identifiers such as column names, table names, or aliases — they must be inlined into the query string. Without an allowlist check, an authenticated attacker can break out of the identifier context and append arbitrary SQL fragments.

Because the vulnerable code path uses Prisma.raw() together with $queryRaw or $executeRaw, the injected payload executes with the same database privileges as the application itself. The Shelf application connects with broad read access across all tenant tables, so the injection bypasses the row-level isolation that normally separates organizations.

Root Cause

The filter-parsing.ts module in apps/webapp/app/modules/asset/ accepted the sortBy value and forwarded it to raw SQL composition without enforcing a strict identifier pattern. No allowlist of sortable columns existed prior to the fix, and there was no rejection of characters outside the conservative SQL identifier set.

Attack Vector

Exploitation requires only a valid authenticated session of any role. The attacker issues a GET request to /assets with a crafted sortBy parameter containing SQL syntax. The injected fragment is concatenated into the ORDER BY clause and evaluated by PostgreSQL, returning rows from arbitrary tables via techniques such as boolean-based or UNION-based extraction.

typescript
// Patch: apps/webapp/app/utils/sql.ts (added in 1.20.1)
// Matches a conservative SQL identifier: must start with a letter or
// underscore, followed by letters, digits, or underscores. No quoting,
// no dots, no spaces, no operators, no Unicode.
const SAFE_SQL_IDENTIFIER = /^[a-zA-Z_][a-zA-Z0-9_]*$/;

/**
 * Returns true if `value` is safe to inline as a Postgres identifier.
 */
export function isSafeSqlIdentifier(value: string): boolean {
  return SAFE_SQL_IDENTIFIER.test(value);
}

Source: Shelf commit 5d35c15

The patch introduces an allowlist-based identifier validator and applies it in filter-parsing.ts before any value is passed to Prisma.raw(). Rejecting characters outside [a-zA-Z0-9_] neutralizes injection because the PostgreSQL parser cannot exit identifier context using only those characters.

Detection Methods for CVE-2026-44204

Indicators of Compromise

  • HTTP requests to /assets containing sortBy values with non-alphanumeric characters such as spaces, parentheses, commas, single quotes, or SQL keywords like UNION, SELECT, CASE, or --.
  • Unusually long sortBy query parameter values in web server or reverse proxy access logs.
  • PostgreSQL query logs showing ORDER BY clauses referencing tables or columns not part of the asset listing schema.
  • Authenticated sessions issuing high volumes of /assets requests with varying sortBy payloads, consistent with blind SQL injection enumeration.

Detection Strategies

  • Inspect application and reverse proxy logs for sortBy values that fail the ^[a-zA-Z_][a-zA-Z0-9_]*$ pattern.
  • Enable PostgreSQL log_statement = 'all' temporarily on non-production tiers to capture the exact raw queries generated by /assets requests.
  • Deploy a Web Application Firewall (WAF) rule that blocks SQL metacharacters in the sortBy parameter on the /assets endpoint.

Monitoring Recommendations

  • Alert on any /assets request whose sortBy parameter contains characters outside the safe identifier set.
  • Monitor application error logs for PostgreSQL syntax errors originating from the asset listing code path, which often indicate injection probing.
  • Track per-user request rates to /assets and flag accounts that generate anomalous query volume across short windows.

How to Mitigate CVE-2026-44204

Immediate Actions Required

  • Upgrade all Shelf instances to version 1.20.1 or later without delay.
  • Audit PostgreSQL audit logs and application logs for sortBy payloads containing SQL metacharacters since the upgrade window opened.
  • Rotate any secrets, tokens, or credentials stored in the Shelf database if injection activity is suspected.
  • Review tenant data access in multi-organization deployments to determine whether cross-tenant reads occurred.

Patch Information

The fix is included in Shelf 1.20.1. The remediation commit 5d35c15 introduces the isSafeSqlIdentifier allowlist utility in apps/webapp/app/utils/sql.ts and applies it within apps/webapp/app/modules/asset/filter-parsing.ts before any user-supplied identifier reaches Prisma.raw(). Details are documented in the GitHub Security Advisory GHSA-69xv-wmgg-3qp3 and the upstream commit.

Workarounds

  • If patching is not immediately possible, deploy a WAF or reverse proxy rule that rejects /assets requests where sortBy does not match ^[a-zA-Z_][a-zA-Z0-9_]*$.
  • Restrict access to the Shelf application to trusted networks or VPN users until the upgrade is completed.
  • Reduce the database role used by Shelf to the minimum privileges required, limiting the blast radius of any remaining injection paths.
bash
# Example NGINX rule to reject unsafe sortBy values on /assets
location /assets {
    if ($arg_sortBy !~ "^[a-zA-Z_][a-zA-Z0-9_]*$") {
        return 400;
    }
    proxy_pass http://shelf_upstream;
}

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechShelf

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.04%

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

  • GitHub Security Advisory GHSA-69xv-wmgg-3qp3
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
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