{"schemaVersion":3,"id":"CVE-2026-59766","aliases":["GHSA-qf2f-qh6p-7v89","GO-2026-6071"],"status":"published","duplicateOf":null,"title":"Gitea private repository metadata disclosure after access revocation","description":"Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.","dates":{"published":"2026-10-14T14:28:20.687Z","modified":"2026-10-14T15:31:06.825Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00281,"percentile":0.19525,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-15T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00281,"percentile":0.19525}],"last30":[{"date":"2026-10-15T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00281,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00281,"percentile":0.19525}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"gitea","product":"gitea","name":"Gitea","label":"gitea","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.25.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.25.4","eol":null,"hubHref":"/vendor/gitea/gitea"},{"vendor":"code.gitea.io","product":"gitea","name":"code.gitea.io/gitea","label":"gitea","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/code.gitea.io/gitea","purlType":"golang","versions":[{"text":"< 1.27.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.27.0","eol":null,"hubHref":null},{"vendor":"Go","product":"gitea.dev","name":"gitea.dev","label":"gitea.dev","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/gitea.dev","purlType":"golang","versions":[{"text":"< 1.27.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.27.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-qf2f-qh6p-7v89","label":"github.com/go-gitea/gitea/security/advisories/GHSA-qf2f-qh6p-7v89","hostname":"github.com","tags":["WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/go-gitea/gitea","label":"github.com/go-gitea/gitea","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.0","label":"github.com/go-gitea/gitea/releases/tag/v1.27.0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/go-gitea/gitea/pull/38324","label":"github.com/go-gitea/gitea/pull/38324","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21551-1","SUSE-SU-2026:23216-1","SUSE-SU-2026:23227-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21551-1","SUSE-SU-2026:23216-1","SUSE-SU-2026:23227-1"]},"timeline":[{"kind":"published","date":"2026-10-14T14:28:20.687Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-14T15:31:06.825Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:48:42.582Z","stale":false,"partial":false}}