CVE-2026-23632 json
Gogs user can update repository content with read-only permission
published 2026-02-06 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-5626 , GHSA-5qhx-gwfj-6jqr , GO-2026-4450
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gogs.io/gogs 0.13.4
- gogs gogs 0.13.4
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260226T182644-150000.1.149.1
suse advisories SUSE-SU-2026:0757-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | <0.13.4 all versions |
0.13.4 |
Affected products
- gogs gogs
Classification
References
-
github.com
/gogs/gogs/pull/8102/commits/b6afcdb2e8d291e2adaaf6a8b7f88d240606515d
web
-
github.com
/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-23632
advisory
-
github.com
/gogs/gogs
package
-
github.com
/gogs/gogs/releases/tag/v0.13.4
web
Sources
- CVE List CVE-2026-23632
- GitHub Advisory GHSA-5qhx-gwfj-6jqr
- NVD CVE-2026-23632
- OSV GO-2026-4450
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.