{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61738","published":"2026-10-30T15:16:53.507000Z","last_modified":"2026-11-05T22:18:50.907000Z","status":"Deferred","cvss":{"version":"3.1","score":10.0,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-22","CWE-73","CWE-434"],"cpes":[],"cpes_truncated":false,"vendors":["socfortress"],"products":["socfortress/copilot"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2026-61738/","html_en":"/en/cve/CVE-2026-61738/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61738","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61738"},"untrusted":{"vendor_name":"socfortress","product_name":"CoPilot","desc_en":"SOCFortress CoPilot focuses on providing a single pane of glass for all your security operations needs. Prior to 0.1.77, `POST /api/scoutsuite/generate-gcp-report` in `backend/app/integrations/scoutsuite/routes/scoutsuite.py` admits admin and analyst users and validates the uploaded content as `GCPScoutSuiteJSON`, but passes raw `file.filename` from the multipart header to `save_file_to_directory` in `backend/app/integrations/scoutsuite/services/scoutsuite.py`. The writer combines this filename with `scoutsuite-report` using `os.path.join` without sanitization or a resolved-path containment check. A traversal filename therefore writes the supplied JSON outside the intended report directory. In the reported root-running backend, the researcher demonstrated root-owned writes outside that directory and into the application source directory. This permits host-file overwrite subject to the accepted JSON-content constraint and can disrupt application operation; the demonstrated primitive does not establish unrestricted executable contents or unconditional cross-tenant confidentiality loss. Version 0.1.77 removes caller-controlled filenames from the affected route; unrestricted-content and direct-code-execution claims require separate curator reconciliation.","affected":[{"untrusted_vendor":"socfortress","untrusted_product":"CoPilot","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"06c5eb15b5d49c65ed8e1defb4d6fac9","generated":"2026-11-26T22:44:55.605512Z","es":{"untrusted_title":"Traversal de directorios en carga de reportes GCP en SOCFortress CoPilot","untrusted_summary":"SOCFortress CoPilot anterior a versión 0.1.77 es vulnerable a traversal de directorios en el endpoint POST /api/scoutsuite/generate-gcp-report. Un usuario autenticado puede manipular el nombre de archivo en la carga de reportes para escribir archivos fuera del directorio previsto, permitiendo sobrescribir archivos del sistema y afectar la operación de la aplicación."},"en":{"untrusted_title":"Directory traversal in GCP report upload in SOCFortress CoPilot","untrusted_summary":"SOCFortress CoPilot prior to version 0.1.77 is vulnerable to directory traversal in the POST /api/scoutsuite/generate-gcp-report endpoint. An authenticated user can manipulate the filename during report upload to write files outside the intended directory, allowing system file overwrite and disrupting application operation."},"remediation":{"status":"fix","fixed_versions":["0.1.77"],"untrusted_action_es":"Actualiza SOCFortress CoPilot a versión 0.1.77 o superior, que elimina los nombres de archivo controlados por el usuario del endpoint afectado.","untrusted_action_en":"Update SOCFortress CoPilot to version 0.1.77 or later, which removes caller-controlled filenames from the affected endpoint.","vendor_url":"https://github.com/socfortress/CoPilot/security/advisories/GHSA-q3g8-3cf7-744f"},"reviewed":false},"references":[{"url":"https://github.com/socfortress/CoPilot/commit/1881ef8d28bc7f45ffa88d7ba4fcca7302355508","tags":[]},{"url":"https://github.com/socfortress/CoPilot/commit/bfa630b65d554670c7462a32ce6fd4e3cbd0254c","tags":[]},{"url":"https://github.com/socfortress/CoPilot/pull/940","tags":[]},{"url":"https://github.com/socfortress/CoPilot/pull/941","tags":[]},{"url":"https://github.com/socfortress/CoPilot/security/advisories/GHSA-q3g8-3cf7-744f","tags":[]},{"url":"https://github.com/socfortress/CoPilot/tree/v0.1.77","tags":[]}]}}