Skip to content

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

CriticalCVSS 9.6 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

2 packages: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
zhenorzz github.com/zhenorzz/goploy(Go) < 1.18.0; <= 1.17.5; All versions 1.18.0 Partially fixed
zhenorzz github.com/zhenorzz/goploy = <= 1.17.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
zhenorzz github.com/zhenorzz/goploy(Go) < 1.18.0 1.18.0
zhenorzz github.com/zhenorzz/goploy(Go) All versions No fix listed
zhenorzz github.com/zhenorzz/goploy = <= 1.17.5 No fix listed
zhenorzz github.com/zhenorzz/goploy(Go) <= 1.17.5 No fix listed

References