Skip to main content
← All vulnerabilities
CVE-2026-52810GHSA-WMFG-5P4H-5FW3GO-2026-5712

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.14.3
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.3

  • gogs.io/gogsGo

    fixed in 0.14.3

  • gogs.io/gogsGo

    All versions

References 5

GitHub · gogs/gogs

GitHub · HORKimhab/CVE-2026-52810