Gitea has released version 28.0.0, addressing 20 vulnerabilities spanning authentication bypass, unauthorized workflow execution, server-side request forgery, and access-control failures.
Published September 30, 2026, the release removes the historical “1.” version prefix. Maintainers urged users to upgrade promptly, although the announcement does not provide severity scores or report active exploitation.
One authentication flaw, CVE-2026-103059, affects Gitea’s built-in SSH server. Public-key lookups used a case-insensitive SQL LIKE operation, allowing a forged case-variant RSA key to match another user’s account.
Critical Gitea Vulnerabilities
The patch replaces this comparison with fingerprint-based identification, correcting the account-matching weakness. CVE-2026-96404 exposes a separate administrator authentication bypass during reinstallation.
Running the installer against an existing database could issue a session for an existing administrator without verifying the account’s password. Databases containing a single user also skipped reinstall confirmation.

The vulnerability therefore concerns the installation workflow, rather than an unconditional bypass of ordinary login authentication. The code-execution risk centers on Gitea Actions approval handling.
CVE-2026-104632 allowed cancellation and rerunning of an approval-pending fork pull request workflow to dispatch jobs to runners while approval remained outstanding.
A first-time contributor could consequently execute code on self-hosted runners without approval. Authorized reruns now explicitly record approval and the approving user.
Another flaw, CVE-2026-94205, checked only the event initiator’s identity. A maintainer-triggered event could therefore execute an untrusted fork’s workflow without approval.
Gitea now checks both the event actor and pull request author. Related fixes prevent canceled jobs from restarting upon approval and stop unapproved workflows from canceling trusted runs through shared concurrency groups.
Several vulnerabilities undermined outbound network restrictions. CVE-2026-70357 separated hostname validation from Git connection establishment, enabling DNS rebinding to reach internal hosts.
Other flaws involved multi-answer DNS, HTTP redirects, allowlisted domains, and push mirrors whose destinations were checked only when saved. Some paths permitted internal reads, writes, or force-pushes.

Gitea now routes Git network operations through an internal proxy that enforces egress policy at connection time. Administrators must review the changed configuration: strict mode provides deny-by-default behavior, while default lax mode does not make the security host allowlist exclusive for public destinations.
The release also fixes stored cross-site scripting in container registry responses and duplicate Git tree entries that could hide malicious files from reviewers.
Additional patches address retained repository permissions, deploy-key authorization errors, instance crashes, and workflow matrices that can exhaust memory.
Administrators should prioritize upgrading, review breaking changes, back up data, replace the binary or container, and restart. Version 28.0.0 requires Git 2.25 or newer.
Audit logging is available but disabled by default; completed Actions runs now expire after 400 days unless retention settings are changed before the upgrade.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team