CVE Catalog

CVE-2026-53552

CriticalCVSS 9.6
Published: Translated: NVD NIST

Summary

Goploy versions up to 1.17.5 fail to verify that a project belongs to the caller's namespace during file operations and project editing. A user with the manager role can read, write, or delete files in any project and change the git remote URL, leading to remote code execution on the next deploy.

Risk Assessment

An attacker can gain full control over the deployment system, modify projects, and execute arbitrary code on the server.

Recommendation

Update Goploy to the latest version as soon as a patch is available. Restrict manager role access and monitor API activity.

Other vulnerabilities in Goploy

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS