{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-103059","published":"2026-10-06T20:17:14.377000Z","last_modified":"2026-10-15T02:26:26.567000Z","status":"Analyzed","cvss":{"version":"3.1","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","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-305"],"cpes":[{"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","part":"a","vendor":"gitea","product":"gitea","version_end_excluding":"28.0.0"}],"cpes_truncated":false,"vendors":["gitea"],"products":["gitea/gitea"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-103059/","html_en":"/en/cve/CVE-2026-103059/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-103059","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-103059"},"untrusted":{"vendor_name":"Gitea","product_name":"Gitea","desc_en":"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":[{"untrusted_vendor":"Gitea","untrusted_product":"Gitea","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"e7bbf4abc9f0869c96692f4e139d6597","generated":"2026-11-26T21:48:53.426158Z","es":{"untrusted_title":"Autenticación SSH sin autenticación en Gitea por comparación de clave pública i…","untrusted_summary":"Gitea versiones anteriores a 28.0.0 con el servidor SSH integrado habilitado son vulnerables a suplantación de identidad. Un atacante puede construir una variante de mayúsculas/minúsculas de la clave RSA pública de otro usuario, derivar la clave privada correspondiente y autenticarse como ese usuario a través de SSH. La búsqueda de claves se realizaba con comparación SQL LIKE insensible a mayúsculas en bases de datos como SQLite."},"en":{"untrusted_title":"Unauthenticated SSH Authentication in Gitea via Case-Insensitive Public Key Com…","untrusted_summary":"Gitea versions before 28.0.0 with the built-in SSH server enabled are vulnerable to account impersonation. An attacker can construct a case variant of another user's RSA public key, derive the corresponding private key, and authenticate as that user over SSH. Key lookup was performed using case-insensitive SQL LIKE comparison on databases such as SQLite."},"remediation":{"status":"fix","fixed_versions":["28.0.0"],"untrusted_action_es":"Actualiza Gitea a versión 28.0.0 o superior. La búsqueda de claves SSH ahora se realiza por huella digital en lugar de comparación de contenido.","untrusted_action_en":"Update Gitea to version 28.0.0 or later. SSH key lookup is now performed by fingerprint instead of content comparison.","vendor_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp"},"reviewed":false},"references":[{"url":"https://blog.gitea.com/release-of-28.0.0/","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/pull/39423","tags":["Patch","Issue Tracking"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","tags":["Release Notes"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp","tags":["Vendor Advisory"]}]}}