CVE-2026-103059
Last modified
CVE-2026-103059 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.0.0 |
References
- https://blog.gitea.com/release-of-28.0.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39423Patch, Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-103059?
How severe is CVE-2026-103059?
How do I fix CVE-2026-103059?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-103051Improper neutralization of input during web page generation …6.1
- CVE-2026-103053AiSOC versions 9.0.0 before 12.0.0 fail to enforce authentic…5.4
- CVE-2026-103054AiSOC versions before 12.0.0 contain an authorization bypass…7.1
- CVE-2026-103055AiSOC versions 7.5.0 before 12.0.0 use a hard-coded constant…7.5
- CVE-2026-103056AiSOC versions 7.2.0 before 12.0.0 contain a command injecti…9
- CVE-2026-103057AiSOC versions 5.1.0 before 12.0.0 contain an authentication…4.3
- CVE-2026-103060Improper Limitation of a Pathname to a Restricted Directory …7.5
- CVE-2026-103061Improper Limitation of a Pathname to a Restricted Directory …5.9
- CVE-2026-103062Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-103063Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-103064Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-103065Improper Validation of Specified Quantity in Input vulnerabi…8.2
Are you affected by CVE-2026-103059?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
