Security Resilience

CVE-2026-103059

Auth Bypass in Gitea ≤ 28.0.0

Published
06 October 2026
Modified
15 October 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0039 33th percentile
Risk Priority 67 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-103059 is a critical-severity Authentication Bypass by Primary Weakness (CWE-305) vulnerability in Gitea. Its CVSS base score is 9.1 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique External Remote Services (T1133); ranked at the 33th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and IA-2 (Identification and Authentication (Organizational Users)) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1133 External Remote Services Persistence
Adversaries may leverage external-facing remote services to initially access and/or persist within a network.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
T1021.005 VNC Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1110 Brute Force Credential Access
Adversaries may use brute force techniques to gain access to accounts when passwords are unknown or when password hashes are obtained.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-20897Same product: Gitea Gitea
CVE-2025-69413Same product: Gitea Gitea
CVE-2026-60004Same product: Gitea Gitea
CVE-2026-20912Same product: Gitea Gitea
CVE-2025-68945Same product: Gitea Gitea
CVE-2026-20904Same product: Gitea Gitea
CVE-2023-3515Same product: Gitea Gitea
CVE-2026-89430Same product: Gitea Gitea
CVE-2025-68942Same product: Gitea Gitea
CVE-2025-68946Same product: Gitea Gitea

Affected Assets

gitea
gitea
≤ 28.0.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces approved authorizations so a bypass weakness cannot be exploited to reach resources.

Requires unique identification and authentication of users, structurally blocking bypass of the mechanism.

Requires unique identification and authentication of non-organizational users, blocking bypass paths.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure development practices throughout the SDLC prevent the primary weaknesses that enable authentication bypass.

PR.AA-03 mostly match
blocks

Strong authentication mechanisms and policy enforcement directly reduce bypass opportunities arising from implementation flaws.

ID.RA-01 partial match
blocks

Identifying and recording vulnerabilities catches the primary weaknesses that allow authentication bypass.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect authentication bypass conditions before deployment.

prevents

Secure coding practices help prevent the primary weakness that enables authentication bypass.

blocks

Secure authentication mechanisms directly address bypass risks in the implemented authentication process.

finds

A.8.8's reach is disclosure — it sees vulnerabilities that have been published as CVEs/advisories, primarily in third-party components. CWE-305 is predominantly a first-party implementation flaw (authentication comparison logic, array initialization affecting password state), and A.8.8 does not reach first-party source code — that is A.8.29's territory. The disclosed third-party share of this class is a minority, capping the grade at partial.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Ubuntu 22.04 (1 partial rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-305
Ubuntu 24.04 (1 partial rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. blocks CWE-305

References