Technical impact
Prior to version 0.1.77, the endpoint POST /api/scoutsuite/generate-gcp-report allowed admin and analyst users to upload a GCPScoutSuiteJSON file. The filename supplied in the multipart header was concatenated with the base report directory using os.path.join without sanitization or a resolved-path containment check. This flaw enabled a path-traversal vector that permitted an attacker to write a JSON file outside the intended directory, including into the application source tree when the backend ran as root. The resulting host-file overwrite could disrupt application operation and, if an attacker supplies an executable payload, might lead to remote code execution.
Affected Systems
All releases of SOCFortress CoPilot before version 0.1.77 contain the vulnerability. Administrators and analysts who can access the vulnerable endpoint are affected.
Risk and Exploitability
The CVSS score for this vulnerability is 10, indicating a maximum severity. No EPSS score is publicly available and the issue is not listed in the CISA KEV catalog. Exploitation requires remote access to the backend with credentials that carry the admin or analyst role, and the full impact materialises only when the backend is executed with root privileges. Given the high score and potential for root-level file overwrite, the risk remains maximal for systems that have not applied the 0.1.77 fix.