{"schemaVersion":3,"id":"CVE-2026-73804","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Gitea allows a token with write:user scope to register an attacker-controlled SSH public key on the token owner's account. API requests signed with the corresponding private key authenticate as that account through HTTP Signature without API token scope information, causing route-level token scope checks to be skipped. This converts a user-scoped token into an unscoped API authentication method while retaining the account's normal role and repository permissions.","dates":{"published":"2026-10-14T14:38:00.292Z","modified":"2026-10-18T13:40:55.669Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/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":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/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":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00417,"percentile":0.34975,"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.00239,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00417,"percentile":0.34975}],"last30":[{"date":"2026-10-15T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00417,"percentile":0.34975}]},"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-266","name":"Incorrect Privilege Assignment","description":"A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/266.html"},{"id":"CWE-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.html"}],"affected":[{"vendor":"gitea","product":"gitea","name":"Gitea","label":"gitea","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.26.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.26.4","eol":null,"hubHref":"/vendor/gitea/gitea"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65","label":"github.com/go-gitea/gitea/security/advisories/GHSA-q55v-4cmj-xh65","hostname":"github.com","tags":["Vendor Advisory"]},{"url":"https://blog.gitea.com/release-of-1.27.2/","label":"blog.gitea.com/release-of-1.27.2/","hostname":"blog.gitea.com","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/pull/38862","label":"github.com/go-gitea/gitea/pull/38862","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/pull/38895","label":"github.com/go-gitea/gitea/pull/38895","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.2","label":"github.com/go-gitea/gitea/releases/tag/v1.27.2","hostname":"github.com","tags":["Release Notes"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-14T14:38:00.292Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-18T13:40:55.669Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:31:54.862Z","stale":false,"partial":false}}