Skip to main content
← All vulnerabilities
CVE-2026-53552GO-2026-5936GHSA-26RH-24RG-J3VV

Goploy: Cross-namespace IDOR and RCE via body-supplied row id in project and project_file handlers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Goploy is an open-source automation deployment system. In versions 1.17.5 and prior, Project.AddFile, Project.EditFile, Project.RemoveFile, and Project.Edit in cmd/server/api/project/handler.go accept a project or project-file row id from the JSON body and act on it without checking that the project belongs to the caller's namespace. The corresponding model.ProjectFile.GetData and model.Project.GetData queries filter only by row id. A user holding the manager role (or any role that includes the FileSync / EditProject permission) in their own namespace can read, write, or delete files in any project across the install, and can rewrite any project's git remote URL by submitting the foreign id in the body. The git-URL primitive escalates to RCE on the next deploy because Edit runs git remote set-url on the project's working tree. At time of publication, there are no known publicly available patches.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • zhenorzz goploy

    through 1.17.5

  • github.com/zhenorzz/goployGo

    All versions

  • github.com/zhenorzz/goployGo

    fixed in 1.18.0

References 1

GitHub · zhenorzz/goploy