CVE-2026-23632
February 06, 2026
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.
Affected Packages
https://github.com/gogs/gogs.git (GITHUB):
Affected version(s) >=v0.13.0 <v0.13.4Fix Suggestion:
Update to version v0.13.4gogs.io/gogs (GO):
Affected version(s) >=v0.2.0 <v0.13.4Fix Suggestion:
Update to version v0.13.4github.com/gogs/gogs (GO):
Affected version(s) >=v0.2.0 <v0.13.4Fix Suggestion:
Update to version v0.13.4Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
EPSS
Base Score:
0.02