SecurityContext

CVE-2025-27092: GHOSTS - Path Traversal

  • Cve: CVE-2025-27092
  • Name: GHOSTS - Path Traversal
  • Description: GHOSTS is an open source user simulation framework for cyber experimentation, simulation, training, and exercise. A path traversal vulnerability was discovered in GHOSTS version 8.0.0.0 that allows an attacker to access files outside of the intended directory through the photo retrieval endpoint. The vulnerability exists in the /api/npcs/{id}/photo endpoint, which is designed to serve profile photos for NPCs (Non-Player Characters) but fails to properly validate and sanitize file paths. 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, potentially exposing sensitive system files. The vulnerability is particularly severe because it allows reading arbitrary files from the server's filesystem with the permissions of the web application process, which could include configuration files, credentials, or other sensitive data. This issue has been addressed in version 8.2.7.90 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
  • Impact: Attackers can read arbitrary files on the server, potentially exposing sensitive data or configuration files.
  • Remediation: Upgrade to version 8.2.7.90 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00647
  • Epss percentile: 0.51963
  • Assignee: [email protected]
  • Published at: 2025-02-19T23:15:15Z
  • Age in days: 643
  • Modified at: 2026-06-17T09:03:01Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27092
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3jnvd2025-02-19

References

UrlSourceTags
https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887nvdPatch
https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3jnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cmu:ghosts>= 8.0.0, < 8.2.7.90nonvd/v1/products/cmu/ghosts

Projects

RepositoryLink kindsIndexedUrl
cmu-sei/GHOSTScommit, fix, security_advisoryyes/v1/repositories/cmu-sei/GHOSTS

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-02-19
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts