CVE-2025-27092

Source
https://cve.org/CVERecord?id=CVE-2025-27092
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27092.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-27092
Aliases
  • GHSA-qr67-m6w9-wj3j
Published
2025-02-19T22:16:56.207Z
Modified
2026-02-13T02:49:34.530478Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Path Traversal Vulnerability in GHOSTS Photo Retrieval Endpoint
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27092.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/cmu-sei/ghosts

Affected ranges

Type
GIT
Repo
https://github.com/cmu-sei/ghosts
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed

Affected versions

8.*
8.0.0
8.1.0
8.2
v8.*
v8.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27092.json"