cve.bz

CVE-2026-103059 gitea gitea

9.1 criticalEPSS 0.4%Fix available

Critical (9.1) in gitea gitea. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-305 Authentication Bypass by Primary Weakness
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-103059 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-103059?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-103059?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-103059 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Giteathrough 1.27.3

Red Hat

Red Hat rates this Important.

Red Hat's statement

An IMPORTANT severity flaw was found in Gitea, which is bundled in Red Hat's Konflux pipelines-as-code controller and watcher container images. When Gitea's built-in SSH server is enabled (START_SSH_SERVER = true), the presented public key is looked up with an SQL LIKE comparison of its encoded content, which is case-insensitive on some database backends, including the default SQLite. A remote, unauthenticated attacker who can construct a case variant of another user's registered RSA public key and derive the corresponding private key can have that key matched to the victim's account and authenticate over SSH as that user. This bypasses authentication and gives the attacker unauthorized access to the victim's account, including read access to private repositories and the ability to push code with the victim's identity. Red Hat assigned this flaw a CVSS 3.1 score of 7.4 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N); the high attack complexity reflects the non-default built-in SSH server configuration, the case-insensitive database prerequisite, and the difficulty of forging a case-variant RSA key pair. This rating is lower than the CISA score of 9.1, which assumes low attack complexity. The affected Red Hat products are handled through a delegated resolution, and a fix is being pursued for the affected Konflux pipelines-as-code images. Upstream resolved the issue by looking up SSH public keys by fingerprint instead of by content comparison.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-103059.

References

Check your stackJSON