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-27092

CVE-2025-27092: Cmu Ghosts Path Traversal Vulnerability

CVE-2025-27092 is a path traversal vulnerability in Cmu Ghosts that allows attackers to access arbitrary files outside intended directories. This article covers technical details, affected versions, impact, and mitigation.

Published: April 21, 2026

CVE-2025-27092 Overview

CVE-2025-27092 is a path traversal vulnerability discovered in GHOSTS, an open source user simulation framework developed by Carnegie Mellon University (CMU) for cyber experimentation, simulation, training, and exercise. The vulnerability exists in version 8.0.0.0 and allows an attacker to access files outside of the intended directory through the photo retrieval endpoint, potentially exposing sensitive system files including configuration files and credentials.

Critical Impact

This path traversal vulnerability allows attackers to read arbitrary files from the server's filesystem with the permissions of the web application process, potentially exposing sensitive configuration files, credentials, and other critical data.

Affected Products

  • GHOSTS version 8.0.0.0 (all versions prior to 8.2.7.90)
  • CMU GHOSTS user simulation framework deployments
  • Systems running the vulnerable /api/npcs/{id}/photo endpoint

Discovery Timeline

  • February 19, 2025 - CVE-2025-27092 published to NVD
  • February 27, 2025 - Last updated in NVD database

Technical Details for CVE-2025-27092

Vulnerability Analysis

The vulnerability resides in the /api/npcs/{id}/photo endpoint, which is designed to serve profile photos for NPCs (Non-Player Characters) within the GHOSTS simulation framework. The endpoint fails to properly validate and sanitize file paths provided through the photoLink parameter when creating or modifying NPC records.

When an NPC is created with a specially crafted photoLink value containing path traversal sequences (../, ..\, etc.), the application processes these sequences without proper sanitization. This allows an attacker to traverse directory structures and access files outside of the intended photo directory. The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as Path Traversal or Directory Traversal.

Root Cause

The root cause of this vulnerability is improper input validation in the photo retrieval functionality. The application directly uses user-supplied path values without verifying that the resolved path remains within the intended application scope. The lack of path canonicalization and boundary checking enables attackers to escape the designated photo directory.

Attack Vector

This vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can exploit this flaw by:

  1. Creating an NPC record with a malicious photoLink value containing path traversal sequences
  2. Requesting the photo endpoint for that NPC
  3. The server processes the path traversal sequences and returns files from arbitrary locations on the filesystem

The attack could be used to exfiltrate sensitive files such as /etc/passwd, application configuration files containing database credentials, or any other file readable by the web application process.

csharp
// Security patch implementing path validation
// Source: https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887

+// Copyright 2017 Carnegie Mellon University. All Rights Reserved. See LICENSE.md file for terms.
+
+using System;
+using System.IO;
+
+namespace ghosts.api.Infrastructure.Extensions;
+
+public static class DirectoryExtensions
+{
+    public static bool IsPathWithinAppScope(this string targetPath, string root)
+    {
+        try
+        {
+            var fullRootPath = Path.GetFullPath(root).TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar;
+            var fullTargetPath = Path.GetFullPath(Path.Combine(fullRootPath, targetPath));
+
+            return fullTargetPath.StartsWith(fullRootPath, StringComparison.OrdinalIgnoreCase);
+        }
+        catch
+        {
+            return false;
+        }
+    }
+}

Source: GitHub GHOSTS Commit Update

The patch introduces the IsPathWithinAppScope extension method that properly validates whether a target path remains within the allowed root directory by comparing canonicalized paths.

Detection Methods for CVE-2025-27092

Indicators of Compromise

  • Unusual requests to /api/npcs/{id}/photo endpoints containing ../ or ..\ sequences
  • NPC records with photoLink values containing path traversal patterns
  • Web server logs showing attempts to access system files like /etc/passwd or Windows configuration files
  • Application errors or exceptions related to file access outside the photo directory

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block path traversal sequences in requests
  • Monitor API access logs for patterns matching directory traversal attempts (../, ..\, %2e%2e%2f, %2e%2e/)
  • Enable detailed logging on the GHOSTS API endpoints to capture suspicious file access attempts
  • Deploy intrusion detection systems (IDS) with signatures for path traversal attacks

Monitoring Recommendations

  • Set up alerts for any requests to the /api/npcs/*/photo endpoint containing encoded or literal path traversal sequences
  • Monitor file system access patterns from the GHOSTS web application process for reads outside expected directories
  • Review NPC creation and modification requests for suspicious photoLink values
  • Implement anomaly detection for unusual file access patterns from the web server process

How to Mitigate CVE-2025-27092

Immediate Actions Required

  • Upgrade GHOSTS to version 8.2.7.90 or later immediately
  • Audit existing NPC records for any entries containing path traversal sequences in the photoLink field
  • Review application logs for evidence of exploitation attempts
  • Consider restricting network access to the GHOSTS API while patching

Patch Information

CMU has addressed this vulnerability in GHOSTS version 8.2.7.90. The fix implements proper path validation using the IsPathWithinAppScope method that canonicalizes both the root directory and target path, then verifies the target path starts with the root directory. This prevents attackers from escaping the intended photo directory regardless of the traversal technique used.

For detailed patch information, see the GitHub Security Advisory GHSA-qr67-m6w9-wj3j.

Workarounds

  • There are no known workarounds for this vulnerability; upgrading is the only remediation option
  • As a temporary measure, restrict network access to the GHOSTS API to trusted IP addresses only
  • Implement a reverse proxy with WAF rules to filter requests containing path traversal patterns
  • Consider disabling the photo retrieval functionality if not critical to operations until patching is complete
bash
# Upgrade GHOSTS to patched version
# Clone the latest version from GitHub
git clone https://github.com/cmu-sei/GHOSTS.git
cd GHOSTS
git checkout v8.2.7.90

# Rebuild and redeploy the application following CMU documentation
# Verify the patch by checking for DirectoryExtensions.cs
ls -la src/Ghosts.Api/Infrastructure/Extensions/DirectoryExtensions.cs

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCmu Ghosts

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.57%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub GHOSTS Commit Update

  • GitHub Security Advisory GHSA-qr67-m6w9-wj3j
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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