Vulnerabilities

Vulnerability · CVE-2026-103059

Gitea built-in SSH server authentication bypass through key case folding

Published Oct 6, 2026 · catalog updated Oct 16, 2026 · Gitea built-in SSH server

Check if you run it

No confirmed exploitation is on record for CVE-2026-103059. EPSS is 0.27%. Act only if a listed version of Gitea built-in SSH server is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Gitea built-in SSH server).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Critical9.1
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.27%
Remediation
Advisory link
Affected products
Bitnami gitea · cpe gitea/gitea

When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL 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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Bitnami gitea0 → 28.0.0
  • cpe gitea/giteaversion unspecified

How to fix CVE-2026-103059

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-103059. EPSS is 0.27%. Act only if a listed version of Gitea built-in SSH server is installed.

Which versions are affected?

Compare what you have installed with 0 → 28.0.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-305. EPSS 0.27%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 6, 2026 · NIST NVD

    Detected

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL 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 aut

  2. Oct 15, 2026 · NIST NVD

    Updated

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL 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 aut

  3. Oct 16, 2026 · GitHub Advisory Database

    Fix available

    gitea fixed in 28.0.0

  4. Oct 16, 2026 · GitHub Advisory Database

    Fix available

    gitea fixed in 28.0.0

  5. Oct 16, 2026 · GitHub Advisory Database

    Updated

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL 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 aut

Sources

  • CVE.orgVulnerability recordCVE-2026-103059

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-103059

    30-day exploitation probability 0.3%

    first.org
  • GitHub Advisory DatabasePackage advisoryGHSA-8pwg-hcgm-54cp

    GitHub Advisory Database record mirrored by OSV.

    github.com
  • NIST NVDVulnerability recordCVE-2026-103059

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case va

    nvd.nist.gov
  • OpenSSF OSV / OSV ScannerPackage advisoryBIT-gitea-2026-103059

    Gitea built-in SSH server authentication bypass through key case folding

    osv.dev

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.