CVE-2026-23632
Gogs is an open source self-hosted Git service. In version 0.13.3 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr
- github.com/gogs/gogs/pull/8102/commits/b6afcdb2e8d291e2adaaf6a8b7f88d240606515d
- github.com/gogs/gogs/releases/tag/v0.13.4
- nvd.nist.gov/vuln/detail/CVE-2026-23632
- github.com/advisories/GHSA-5qhx-gwfj-6jqr
- nvd.nist.gov/vuln/detail/CVE-2026-23632
- cve.org/CVERecord?id=CVE-2026-23632
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.