{"schemaVersion":4,"id":"CVE-2026-101023","aliases":[],"status":"published","duplicateOf":null,"title":"Gitea OAuth2 refresh token grant accepts access tokens","description":"Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a new access token and refresh token. Whoever holds such an access token could keep access beyond the token's original lifetime.","dates":{"published":"2026-10-06T21:34:53.642Z","modified":"2026-10-07T20:04:04.946Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00353,"percentile":0.30979,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.00353},"history":[{"date":"2026-10-07T00:00:00.000Z","score":0.00168,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00353,"percentile":0.30979}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00495,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00353,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00353,"percentile":0.30979}]},"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-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"gitea","product":"gitea","name":"Gitea","label":"gitea","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 28.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"28.0.0","endInclusive":true}},{"text":"< 28.1.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"28.1.0","endInclusive":false}}],"versionsText":"≤ 28.0.0 | < 28.1.0","eol":null,"hubHref":"/vendor/gitea/gitea"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3","label":"github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39501","label":"github.com/go-gitea/gitea/pull/39501","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39507","label":"github.com/go-gitea/gitea/pull/39507","hostname":"github.com","tags":["Patch"]},{"url":"https://blog.gitea.com/release-of-28.1.0/","label":"blog.gitea.com/release-of-28.1.0/","hostname":"blog.gitea.com","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.1.0","label":"github.com/go-gitea/gitea/releases/tag/v28.1.0","hostname":"github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-06T21:34:53.642Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-07T20:04:04.946Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 05-12-2026)","nextStep":"Check applicability: affected before 28.1.0 (CNA); fix release not confirmed","rank":[0,0,0,0,0,91],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00353,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-07T20:04:04.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-07T20:04:04.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-07T20:03:22.628Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00353,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T14:05:26.172Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T14:05:26.762Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T14:01:06.338Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T14:05:24.254Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T14:03:52.423Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:22:43.349Z","stale":false,"partial":false}}