Critical · 10.0 Critical vulnerabilities CVE-2026-61738
SOCFortress CoPilot: Critical Path Traversal in ScoutSuite GCP Report Upload Allows Root File Write (CVE-2026-61738)
A path traversal flaw in SOCFortress CoPilot's ScoutSuite GCP report upload endpoint allows authenticated admin or analyst users to write files outside the intended directory, including into the application source tree on root-running installations.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in SOCFortress CoPilot, a security operations platform. The flaw, tracked as CVE-2026-61738, affects a file upload endpoint used for ScoutSuite GCP report generation and can result in arbitrary host file writes on affected deployments. This briefing summarizes what is known about the issue based on the published advisory.
What happened
A path traversal vulnerability was identified in the `POST /api/scoutsuite/generate-gcp-report` endpoint of SOCFortress CoPilot. The endpoint validates uploaded content against an expected GCP ScoutSuite JSON schema, but it passes the raw, caller-supplied filename from the multipart upload header directly into a file-writing function without sanitization. This allows a filename containing traversal sequences to cause the uploaded JSON content to be written outside the intended report storage directory.
Technical cause
The root cause (CWE-22, Path Traversal) lies in how the affected route handles the uploaded filename. The backend code combines the unsanitized `file.filename` value with a fixed directory name using a simple path-join operation, without resolving the final path or verifying that it remains within the intended report directory. As a result, a specially crafted filename can redirect the write operation to arbitrary locations on the filesystem that the backend process has permission to write to. On deployments where the backend runs as root, this was demonstrated to allow root-owned writes into the application's own source directory.
Why it matters
Because the write is root-owned on affected deployments and can target locations such as the application source directory, this issue can disrupt normal operation of the CoPilot installation and potentially affect its integrity. The advisory notes that the practical impact is bounded by the requirement that written content must pass validation as GCP ScoutSuite JSON; this limits, but does not eliminate, what an attacker can place in the overwritten file. Broader claims of unrestricted file content or direct code execution are explicitly not established by the available facts and require further confirmation.
Who is affected
The vulnerability requires authentication as either an admin or an analyst user of the CoPilot platform; the endpoint is not accessible without valid credentials. Organizations running affected versions of CoPilot with backend processes that execute with elevated (root) privileges face the most significant exposure, since the demonstrated impact included root-owned file writes.
Affected versions
Versions of SOCFortress CoPilot prior to 0.1.77 are affected by this vulnerability.
Fixes and mitigation
Version 0.1.77 removes caller-controlled filenames from the affected upload route, addressing the path traversal issue. The fact package marks this advisory as not having a confirmed general fix availability flag, so administrators should verify against their own deployment whether this update has been applied or is accessible to them.
Recommended action
Administrators running SOCFortress CoPilot should update to version 0.1.77 or later as soon as possible. Until the update can be applied, restrict access to the ScoutSuite GCP report upload functionality to trusted admin and analyst accounts only, and review backend process privileges to avoid running the application as root where feasible. Monitor for unexpected files or changes within the application directory structure.
PatchBriefing score
10.0 / 10 · Critical
Official CVSS: 10.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS 0.0088 (57 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
Version 0.1.77 removes caller-controlled filenames from the affected upload route, addressing the path traversal issue. The fact package marks this advisory as not having a confirmed general fix availability flag, so administrators should verify against their own deployment whether this update has been applied or is accessible to them.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated
- Published
- Generated