CVE Explorer
CVE-2026-23632
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"gogs","vendor":"gogs","versions":[{"status":"affected","version":"< 0.14.0+dev"},{"status":"affected","version":"< 0.13.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-862","description":"CWE-862: Missing Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bdb6a0634af57cc15bdb261f861a7bdbc0f2106b7d99e01d80cb2c2e40c2fd05 · sha256:84d267f3dcdb503e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.