Live threats

All CVEs / Gogs

CVE-2026-23632Gogs

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Feb 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862, CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, the endpoint "PUT /repos/:owner/:repo/contents/*" does not require write permissions and allows access with read permission only via repoAssignment(). After passing the permission check, PutContents() invokes UpdateRepoFile(), which results in commit creation and the execution of git push. As a result, a token with read-only permission can be used to modify repository contents. This issue has been patched in versions 0.13.4 and 0.14.0+dev.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gogs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs < 0.13.4 0.13.4 go get gogs.io/gogs@v0.13.4
Go gogs.io/gogs all no fixed version —

Per OSV / GitHub Advisories (GHSA-5qhx-gwfj-6jqr, GO-2026-4450). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs< 0.13.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.