Gogs has Path Traversal in organization name that results in RCE through Git hooks

Date Jun 23, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product Go ยท gogs.io/gogs
CVE CVE-2026-52813
High-risk advisory CVE-2026-52813

Summary

Gogs has Path Traversal in organization name that results in RCE through Git hooks

Why it matters

GitHub has published a reviewed security advisory for gogs.io/gogs. Prioritize it with other application dependency updates.

Operator check

Check whether gogs.io/gogs is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.