CVE-2025-27092: Path Traversal Vulnerability in GHOSTS Photo Retrieval Endpoint

Published Feb 19, 2025
·
Updated

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.

Affected Software

3 affected components
GHOSTS GHOSTS
GHOSTS GHOSTS<8.2.7.90
cmu Ghosts>=8.0.0<8.2.7.90

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GHOSTS to a version that resolves this vulnerability.

    Fixed in 8.2.7.90

Event History

Feb 19, 2025
CVE Published
via MITRE·10:16 PM
Data Sourced
via MITRE·10:16 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-27092?

CVE-2025-27092 is considered a medium severity vulnerability due to its potential for unauthorized file access.

2

How do I fix CVE-2025-27092?

To fix CVE-2025-27092, update GHOSTS to version 8.2.7.90 or later, which addresses the path traversal issue.

3

What versions of GHOSTS are affected by CVE-2025-27092?

CVE-2025-27092 affects GHOSTS version 8.0.0.0 up to but not including 8.2.7.90.

4

What type of vulnerability is CVE-2025-27092?

CVE-2025-27092 is a path traversal vulnerability that permits access to files outside the intended directory.

5

Who is the vendor for the affected product in CVE-2025-27092?

The vendor for the affected product related to CVE-2025-27092 is GHOSTS.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203