{"cve":"CVE-2026-23632","nvd":{"published":"2026-02-06T18:15:56.553","modified":"2026-06-17T10:21:52.207","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5},"cwes":["CWE-862","CWE-863"],"references":["https://github.com/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-23632","score":0.00317,"percentile":0.24699,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5qhx-gwfj-6jqr","url":"https://osv.dev/vulnerability/GHSA-5qhx-gwfj-6jqr","summary":" Gogs user can update repository content with read-only permission","modified":"2026-02-19T20:41:20.559376Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.4"],"fixed":["0.13.4"]}]},{"id":"GO-2026-4450","url":"https://osv.dev/vulnerability/GO-2026-4450","summary":"Gogs user can update repository content with read-only permission in gogs.io/gogs","modified":"2026-02-19T20:41:20.559376Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}