{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103059","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","state":"PUBLISHED","assignerShortName":"Gitea","dateReserved":"2026-10-04T21:57:35.559Z","datePublished":"2026-10-06T19:22:57.192Z","dateUpdated":"2026-10-07T14:17:20.596Z"},"containers":{"cna":{"providerMetadata":{"orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea","dateUpdated":"2026-10-06T19:22:57.192Z"},"title":"Gitea built-in SSH server authentication bypass through key case folding","descriptions":[{"lang":"en","value":"When Gitea's built-in SSH server is enabled (`START_SSH_SERVER = true`), the presented public key was looked up with an SQL `LIKE` comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case variant of another user's registered RSA public key for which they can derive the private key could have that key matched to the victim's account and authenticate over SSH as that user. Keys are now looked up by fingerprint."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.27.3","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp","name":"GitHub Security Advisory GHSA-8pwg-hcgm-54cp","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39423","name":"Fix: go-gitea/gitea pull request #39423","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.0.0/","name":"Gitea 28.0.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","name":"go-gitea/gitea v28.0.0 release","tags":["release-notes"]}],"credits":[{"lang":"en","value":"https://github.com/carlini","type":"reporter"},{"lang":"en","value":"https://github.com/TheFox0x7","type":"remediation developer"},{"lang":"en","value":"https://github.com/wxiaoguang","type":"remediation developer"}]},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-305","lang":"en","description":"CWE-305 Authentication Bypass by Primary Weakness"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T14:17:16.900412Z","id":"CVE-2026-103059","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-10-07T14:17:20.596Z"}}]}}