# Gitea fixes account linking and Actions trust flaws

Cite as: Gloqo AI, "Gitea fixes account linking and Actions trust flaws", reviewed 1 Nov 2026, https://www.gloqo.ai/security-updates/advisories/gitea-2026-11-01/.

Gloqo reviewed the vendor and CNA records on 1 Nov 2026. Those sources are the authority for the vulnerability.

Product: Gitea
Published: 2026-11-01
Reviewed: 2026-11-01T22:09:00Z

## Summary

Gitea 28.3.0 fixes high-severity account takeover, Actions trust, artifact cross-site scripting and archived-repository protection flaws.

## Affected

The OAuth issue affects versions through 28.2.0 when non-default ACCOUNT_LINKING=auto is enabled; the attacker needs a valid configured OAuth provider account and the link-account registration path. The Actions review issue affects 1.19.0 through 28.2.0; it requires an account with repository read access, an Actions runner serving that repository and a same-repository pull request. The artifact XSS and archived-repository flaws are listed through 28.2.0.

## Fix

Upgrade Gitea to 28.3.0 or later. Review the linked advisories for configuration-specific exposure and verify the deployed instance version.

## Evidence

The advisory authors describe reproductions; these are not reports of exploitation in the wild. The Actions review reproducer retrieves the malicious workflow, secrets and a write-capable token using the runner API without executing the workflow steps on a real runner.

## Severity

Gitea rates all four issues High. The Actions review flaw is CVSS v3.1 8.1, the artifact XSS is 8.7, and the archived-repository flaw is 8.1. The OAuth advisory does not provide a CVSS score.

## Context

CVE-2026-120263 lets attacker-controlled registration data link an OAuth identity to a victim account. CVE-2026-118386 can run attacker-selected workflow content with repository secrets and a write token. CVE-2026-113429 requires the attacker to run a job and a victim to open a direct artifact link; the reported XSS was tested in Chromium. CVE-2026-116296 permits a write collaborator to replace or delete release assets and alter metadata on archived repositories.

## CVEs

- [CVE-2026-120263](https://www.cve.org/CVERecord?id=CVE-2026-120263)
- [CVE-2026-118386](https://www.cve.org/CVERecord?id=CVE-2026-118386)
- [CVE-2026-113429](https://www.cve.org/CVERecord?id=CVE-2026-113429)
- [CVE-2026-116296](https://www.cve.org/CVERecord?id=CVE-2026-116296)

## Sources

1. [Gitea 28.3.0 release](https://github.com/go-gitea/gitea/releases/tag/v28.3.0)
2. [Gitea: OAuth auto-linking account takeover](https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v)
3. [Gitea: Actions review workflow trust boundary](https://github.com/go-gitea/gitea/security/advisories/GHSA-32h8-5xqg-h466)
4. [Gitea: artifact Content-Encoding stored XSS](https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488)
5. [Gitea: archived repository write-protection bypass](https://github.com/go-gitea/gitea/security/advisories/GHSA-6h2f-c8jm-84hc)
