CVE-2026-23632
published medium CVSS 3.1 · 6.5Gogs user can update repository content with read-only permission
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gogs | — | gogs< 0.14.0+dev · < 0.13.4 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gogs | gogs | < 0.14.0+dev (affected)< 0.13.4 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-862 CWE-862: Missing Authorization
- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2GitHub_M · cna
Gogs user can update repository content with read-only permission
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e2c99eb9c45aa50a916e4f0f0f61450ecadc1a413e60c5681461bb09d7272dc7
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record