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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 58% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-19T22:16:56.207Z
- Modified: 2026-06-17T09:03:01.047Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cmu-sei GHOSTS: >= 8.0.0, < 8.2.7.90
- cmu ghosts: from 8.0.0 before 8.2.7.90

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/cmu-sei/GHOSTS/security/advisories/GHSA-qr67-m6w9-wj3j> (exploit, vendor-advisory)
- <https://github.com/cmu-sei/GHOSTS/commit/e69827556a52ff813de00e1017c4b62598d2c887> (patch)

## Sources

- CVE List: [CVE-2025-27092](https://www.cve.org/CVERecord?id=CVE-2025-27092), CVE Terms of Use, modified 2025-02-20
- NVD: [CVE-2025-27092](https://nvd.nist.gov/vuln/detail/CVE-2025-27092), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27092 · Whole record: https://cve.day/CVE-2025-27092.json · Rebuilt by cve.day 2026-11-25T22:58:54.190Z
