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
    • 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-2023-32571

CVE-2023-32571: Dynamic-linq Linq RCE Vulnerability

CVE-2023-32571 is a remote code execution vulnerability in Dynamic-linq Linq that allows attackers to execute arbitrary code when untrusted input is parsed. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-32571 Overview

CVE-2023-32571 is a critical remote code execution vulnerability affecting Dynamic LINQ versions 1.0.7.10 through 1.2.25. This vulnerability allows attackers to execute arbitrary code and commands when untrusted input is passed to methods including Where, Select, and OrderBy. Applications that accept user-controlled input and pass it to these Dynamic LINQ methods without proper sanitization are at risk of complete system compromise.

Critical Impact

Attackers can achieve remote code execution by injecting malicious expressions through Dynamic LINQ query methods, potentially leading to complete system compromise, data exfiltration, and lateral movement within affected environments.

Affected Products

  • Dynamic LINQ versions 1.0.7.10 through 1.2.25
  • Applications using System.Linq.Dynamic.Core library with vulnerable versions
  • .NET applications accepting user input in LINQ query expressions

Discovery Timeline

  • 2023-06-22 - CVE CVE-2023-32571 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-32571

Vulnerability Analysis

This vulnerability stems from improper input validation in Dynamic LINQ's expression parsing functionality. Dynamic LINQ extends standard LINQ by allowing string-based dynamic queries, which provides flexibility but introduces significant security risks when user input is not properly sanitized. The library fails to adequately restrict the types of expressions that can be constructed from user-controlled input, allowing attackers to craft malicious expressions that result in arbitrary code execution.

The vulnerability is classified under CWE-697 (Incorrect Comparison), indicating that the underlying issue relates to improper validation or comparison logic when processing dynamic expressions. When applications pass untrusted data directly to methods like Where(), Select(), or OrderBy(), an attacker can inject expressions that instantiate arbitrary types or invoke dangerous methods.

Root Cause

The root cause of this vulnerability lies in the Dynamic LINQ library's expression parser, which does not adequately restrict the construction of potentially dangerous expression trees. The library allows the instantiation of arbitrary .NET types and invocation of methods through the dynamic expression syntax. Without proper type restrictions or expression validation, attackers can leverage this functionality to execute arbitrary code on the server.

Attack Vector

The attack is conducted remotely over the network and requires no authentication or user interaction. An attacker identifies an application endpoint that accepts user input and passes it to Dynamic LINQ query methods. By crafting a malicious expression string, the attacker can instantiate dangerous types such as System.Diagnostics.Process or invoke methods that lead to code execution. The malicious input is processed by the Dynamic LINQ parser, which constructs an expression tree and executes the attacker's payload.

For example, an attacker might target a search or filtering endpoint where user input is used to construct dynamic queries. The injected expression could spawn processes, read sensitive files, or establish reverse shells depending on the application's execution context and permissions.

Technical details and exploitation methods can be found in the NCC Group CVE-2023-32571 Analysis.

Detection Methods for CVE-2023-32571

Indicators of Compromise

  • Unusual process spawning from web application worker processes (e.g., w3wp.exe, dotnet.exe)
  • Unexpected network connections originating from application servers
  • Log entries showing malformed or suspicious query parameters containing .NET type names or method calls
  • Evidence of command execution patterns in application logs or web server access logs

Detection Strategies

  • Monitor application logs for query parameters containing suspicious patterns such as type instantiation syntax or references to dangerous namespaces like System.Diagnostics
  • Implement Web Application Firewall (WAF) rules to detect and block requests containing Dynamic LINQ injection patterns
  • Deploy endpoint detection solutions to monitor for anomalous process creation from web application contexts
  • Use static code analysis tools to identify instances where user input flows into Dynamic LINQ methods without sanitization

Monitoring Recommendations

  • Enable detailed logging for all endpoints that utilize Dynamic LINQ functionality
  • Configure alerts for process creation events where the parent process is a web server or application host
  • Monitor for unusual file system access or network activity from application server contexts
  • Implement runtime application self-protection (RASP) to detect expression injection attempts

How to Mitigate CVE-2023-32571

Immediate Actions Required

  • Upgrade Dynamic LINQ (System.Linq.Dynamic.Core) to version 1.3.0 or later immediately
  • Audit all code paths where user input is passed to Dynamic LINQ methods
  • Implement strict input validation and allowlisting for any user-controlled query parameters
  • Consider disabling or restricting Dynamic LINQ functionality until patching is complete

Patch Information

The vulnerability has been addressed in Dynamic LINQ version 1.3.0. Organizations should upgrade to this version or later to remediate the vulnerability. The patched version implements additional restrictions on the types and methods that can be accessed through dynamic expressions.

For more information about the library and updates, refer to the GitHub Dynamic LINQ Library.

Workarounds

  • Avoid passing user-controlled input directly to Dynamic LINQ methods without strict validation
  • Implement allowlisting of permitted column names and operations rather than accepting arbitrary expressions
  • Use parameterized approaches where possible instead of dynamic string-based queries
  • Apply the principle of least privilege to application service accounts to limit the impact of potential exploitation
csharp
// Safe configuration example - use allowlisting
var allowedColumns = new HashSet<string> { "Name", "Date", "Status" };
var userInput = Request.Query["sortBy"];

// Validate input against allowlist before using in Dynamic LINQ
if (allowedColumns.Contains(userInput))
{
    var result = data.AsQueryable().OrderBy(userInput);
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDynamic Linq

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability60.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-697
  • Technical References
  • GitHub Dynamic LINQ Library

  • NCC Group CVE-2023-32571 Analysis
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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