Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-27995

CVE-2023-27995: Fortinet FortiSOAR RCE Vulnerability

CVE-2023-27995 is a remote code execution vulnerability in Fortinet FortiSOAR that allows authenticated attackers to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2023-27995 Overview

CVE-2023-27995 is a template engine injection vulnerability affecting Fortinet FortiSOAR, a security orchestration, automation, and response (SOAR) platform. The vulnerability stems from improper neutralization of special elements used in a template engine, allowing authenticated remote attackers to execute arbitrary code on affected systems through crafted payloads.

Critical Impact

Authenticated attackers can achieve remote code execution on FortiSOAR servers, potentially compromising the entire security operations infrastructure and gaining access to sensitive incident response data.

Affected Products

  • Fortinet FortiSOAR version 7.3.0
  • Fortinet FortiSOAR version 7.3.1
  • Fortinet FortiSOAR versions between 7.3.0 and 7.3.1

Discovery Timeline

  • 2023-04-11 - CVE-2023-27995 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-27995

Vulnerability Analysis

This vulnerability is classified under CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine). Template injection vulnerabilities occur when user-controlled input is embedded into templates without proper sanitization, allowing attackers to inject template directives that are then interpreted by the template engine.

In the context of FortiSOAR, the platform processes template-based content for various automation and reporting functions. The vulnerable code path fails to properly neutralize special characters and template syntax elements before processing, enabling an authenticated attacker to inject malicious template directives that result in arbitrary code execution on the underlying server.

The attack requires network access and valid authentication credentials, but once authenticated, the attacker can leverage the template injection to break out of the template sandbox and execute system-level commands. Given FortiSOAR's role as a central security orchestration platform, successful exploitation could provide attackers with access to sensitive security data, incident response workflows, and potentially pivot access to integrated security tools.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and sanitization of user-supplied data before it is processed by the template engine. The application fails to properly escape or neutralize template-specific syntax and special characters, allowing the template engine to interpret malicious payloads as legitimate template directives rather than treating them as plain text.

Attack Vector

The attack is conducted remotely over the network by an authenticated user. The attacker crafts a malicious payload containing template engine directives and submits it through a vulnerable input field or API endpoint. When the application processes this input through its template engine without proper sanitization, the injected directives are executed, allowing the attacker to run arbitrary code with the privileges of the FortiSOAR application.

The vulnerability mechanism involves injecting template syntax that the engine interprets as executable code. For SOAR platforms that commonly use Python-based template engines like Jinja2, attackers may leverage object introspection techniques to access dangerous functions and execute system commands. Technical details regarding specific exploitation methods can be found in the FortiGuard PSIRT Advisory FG-IR-23-051.

Detection Methods for CVE-2023-27995

Indicators of Compromise

  • Unusual template-related error messages in FortiSOAR application logs
  • Unexpected process spawning or command execution originating from FortiSOAR service processes
  • Network connections from FortiSOAR servers to unusual external destinations
  • Modifications to system files or configurations on the FortiSOAR host

Detection Strategies

  • Monitor FortiSOAR application logs for template parsing errors or suspicious input patterns
  • Implement web application firewall (WAF) rules to detect template injection payload patterns in HTTP requests
  • Review authentication logs for unusual login activity followed by suspicious API calls
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous process execution on FortiSOAR servers

Monitoring Recommendations

  • Enable detailed logging for all FortiSOAR user actions and API requests
  • Configure alerts for any command execution or subprocess spawning from FortiSOAR application processes
  • Monitor network traffic from FortiSOAR servers for unusual outbound connections
  • Implement user behavior analytics to detect credential compromise or insider threats

How to Mitigate CVE-2023-27995

Immediate Actions Required

  • Upgrade FortiSOAR to a patched version as specified in the vendor advisory
  • Review FortiSOAR user accounts and remove unnecessary access privileges
  • Implement network segmentation to limit access to FortiSOAR management interfaces
  • Enable comprehensive logging and monitoring on FortiSOAR systems

Patch Information

Fortinet has released security patches to address this vulnerability. Administrators should consult the FortiGuard PSIRT Advisory FG-IR-23-051 for specific patch information and upgrade instructions. Organizations should prioritize upgrading to FortiSOAR versions newer than 7.3.1 that contain the security fix.

Workarounds

  • Restrict network access to FortiSOAR management interfaces using firewall rules or network ACLs
  • Implement strict input validation at the network perimeter using WAF rules targeting template injection patterns
  • Review and minimize the number of users with FortiSOAR access privileges
  • Monitor for exploitation attempts while preparing for patch deployment
bash
# Network access restriction example using iptables
# Restrict FortiSOAR management access to trusted admin networks only
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFortinet Fortisoar

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability2.33%

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

  • NVD-CWE-Other
  • Vendor Resources
  • FortiGuard PSIRT Advisory FG-IR-23-051
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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