Skip to content

CVE-2026-52810 Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusion

HighCVSS 7.1 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known

Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string (so ?service=git-upload-pack is evaluated as read access) while routing still runs git receive-pack, allowing push where only read should be allowed. This vulnerability is fixed in 0.14.3.

Affected products

ProductAffected versionsFixed in
gogs = < 0.14.3 No fix listed
gogs.io/gogs(Go) < 0.14.3 0.14.3

References