Gitea 1.27.2 → 28.0.0
2 releases · 3 breaking changes · 11 security fixes · 47 advisories fixed
11security3breaking1deprecated30feature37fix
Vulnerabilities fixed by this upgrade
- 8.2 GHSA-7c33-wq58-g35r Runner cache shared entries across branches, letting branch writers poison default-branch builds
- low CVE-2026-97859 API routes for user social graph, keys, and starred repos bypass private visibility check
- medium CVE-2026-95112 Algorithmic Complexity DoS in Issue Reference Parsing
- medium CVE-2026-103504 API team demotion does not reset unit permissions
- medium CVE-2026-79960 Deploy keys impersonate the repository owner in the hook pipeline
- 4.3 CVE-2026-104636 Raw Git redirect SSRF bypass in push mirrors, WikiRemoteURL, and PR-head fetches
- 4.3 CVE-2026-96400 Migration SSRF policy regression: ALLOWED_DOMAINS permits reserved addresses despite ALLOW_LOCALNETWORKS=false
- 4.3 CVE-2026-96589 Incorrect Authorization in Repository Transfer Allows Persistent Unauthorized Read Access
- 8.1 CVE-2026-96404 Installer Re-run Against an Already-Populated Database Grants an Authenticated Session for an Existing Admin Account Without Password Verification
- 7.1 CVE-2026-96399 Uncaught Exception and Out-of-bounds Read results in Gitea crash
- 8.5 CVE-2026-89430 Gitea Push Mirror Host Policy Bypass Enables SSRF and Forced Writes to Internal Git Repositories
- 8.5 CVE-2026-101029 Migration / pull-mirror SSRF, egress allow-list bypass via multi-answer DNS - 3 findings
- 7.7 CVE-2026-101027 SSRF via DNS rebinding: MatchHostOrIP short-circuits IP check when hostname matches ALLOWED_DOMAINS
- high CVE-2026-70357 Migration SSRF via DNS Rebinding — TOCTOU Between DNS Validation and Git Connection
- 9.0 CVE-2026-95106 Duplicate tree-entry name: Gitea renders the benign blob while checkout and CI run the malicious one
- 9.0 CVE-2026-103667 Stored XSS in Gitea container registry via unvalidated blob Content-Type (mediaType injection)
- 9.1 CVE-2026-103059 Built-in SSH server auth bypass via case-insensitive LIKE key lookup
- 8.7 CVE-2026-94205 Gitea Actions: fork pull request approval bypass via maintainer-triggered pull_request sub-events (ifNeedApprovalWith keys on the event actor, not the pull request author)
- medium CVE-2026-96580 Uncontrolled resource consumption — unapproved fork-PR workflow with a large static strategy.matrix exhausts server memory at run-creation
- high CVE-2026-103670 Unapproved fork PR cancels trusted in-progress runs via run-level concurrency
- 9.0 CVE-2026-104626 Cancelled fork-PR Actions jobs are revived by later approval
- 9.0 CVE-2026-104632 Untrusted first-time fork PR achieves self-hosted Actions runner RCE without approval via cancel-then-rerun
- 7.7 CVE-2026-70406 Public-only tokens can read private head repositories via compare and pull request creation (incomplete fix of CVE-2026-58443)
- 5.4 CVE-2026-70396 Organization repository creation endpoint skips repository token scope
- 5.4 CVE-2026-70400 Repository migration skips public-only token guard for private repository creation
- 5.8 CVE-2026-70402 Permissive Git hook directory and script modes may allow local code execution as the Gitea service account
- medium CVE-2026-70407 Token Scope Bypass on `GET /api/v1/orgs`
- low CVE-2026-71301 Wiki-only members can read private pull request titles through markup preview
- low CVE-2026-73504 Unauthenticated artifact-to-repository oracle in raw Actions downloads
- 4.3 CVE-2026-73126 Gitea workflow badge bypasses API token scopes
- medium CVE-2026-73130 Unbounded gitignores repository-creation field enables linear template-read amplification
- 4.3 CVE-2026-73273 Package size quota bypass and unbounded memory read in the Maven checksum upload path
- 8.1 CVE-2026-60010 Repo-side team-link endpoint still bypasses RepoAdminChangeTeamAccess
- 6.5 CVE-2026-60018 Authenticated DoS in OneDev migration via unbounded version response body
- 6.5 CVE-2026-60021 Authenticated DoS in GitLab migration via uncancelable version probe
- 6.5 CVE-2026-62925 Unbounded Alpine .PKGINFO parse amplifies a small .apk upload into process memory
- 6.5 CVE-2026-63021 Swift registry per-file 128KiB manifest guard bypassed by aggregation
- 6.3 CVE-2026-63792 Fork pull requests can read reusable workflow files from another private repository (missed sibling of GHSA-fj8v-hjwv-qm88)
- medium CVE-2026-66849 Package registry: restricted users can read packages of limited-visibility users (authorization bypass)
- low CVE-2026-66853 Restricted users can enumerate limited-visibility organizations via the user org-list API (authorization bypass)
- 6.5 CVE-2026-66874 A fork pull request author can satisfy a required Actions status check without any workflow running, because a filtered out workflow taken from the pull request HEAD posts a `skipped` commit status that counts as success
- 8.7 CVE-2026-66877 RCE on self-hosted runners | fork-PR approval gate (`NeedApproval`) bypass via job-level concurrency cancellation
- 4.3 CVE-2026-67577 Restricted users can access limited-visibility users' activity feeds and contribution heatmaps through the API
- high CVE-2026-68957 Restricted users can read limited-visibility users' issue titles and bodies through issue search
- 4.3 CVE-2026-68964 Restricted users can read limited-visibility users’ SSH and GPG keys through the API
- 5.9 CVE-2026-78433 Attachments created before the January 2026 cutoff skip the cross repository check entirely, and permission is then evaluated against the repository named in the URL rather than the repository owning the attachment, so a private repository's attachment is served through any public repository's path
- 9.9 CVE-2026-73802 Sandbox Escape to Host RCE: Gitea act_runner Privileged Mode Bypass via Unsanitized container.options
Breaking changes
- breaking BREAKING in 28.0.0
- breaking Fix(git)!: route Git network operations through an internal proxy and update egress settings () in 28.0.0
- breaking Feat(actions)!: add RUN_RETENTION_DAYS to delete old action runs () in 28.0.0
Security changes
- security Fixes CVE-2026-57894: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration in 28.0.0
- security SECURITY in 28.0.0
- security Fix(deps): update module golang.org/x/image to v0.45.0 [security] () in 28.0.0
- security Fix(deps): update module golang.org/x/mod to v0.40.0 [security] () in 28.0.0
- security Fix(deps): update dependency mermaid to v11.16.1 [security] () in 28.0.0
- security Fix(deps): update module github.com/getkin/kin-openapi to v0.144.0 [security] () in 28.0.0
- security Fix(deps): update dependency js-yaml to v5.2.2 [security] () in 28.0.0
- security Fix(deps): update module google.golang.org/grpc to v1.82.1 [security] () in 28.0.0
- security Fixes CVE-2026-60018: Authenticated DoS in OneDev migration via unbounded version response body in 1.27.3
- security Fixes CVE-2026-60021: Authenticated DoS in GitLab migration via uncancelable version probe in 1.27.3
- security SECURITY in 1.27.3
Deprecations
- deprecated Enhance(packages/npm): expand version metadata and support npm deprecate () in 28.0.0
Every release in between
securityFixes CVE-2026-57894: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration
breakingBREAKING
breakingFix(git)!: route Git network operations through an internal proxy and update egress settings ()
breakingFeat(actions)!: add RUN_RETENTION_DAYS to delete old action runs ()
securitySECURITY
featureFeat(actions): update actionslib, support self:, misc fixes ()
featureFeat(api): list all packages for site administrators ()
featureFeat: manage bot accounts from the admin UI, API and CLI ()
featureFeat(user): Personal access tokens can be regenerated ()
featureFeat(actions): support $/ prefix in reusable workflow uses: ()
featureFeat(actions): add force-cancel workflow run API ()
featureFeat(licenses): support REUSE specification in licenses ()
featureFeat(api): add project APIs ()
featureFeat(webhook): fire repository event on repo rename ()
featureFeat: admin impersonates a user ()
featureFeat(actions): add build queue view ()
featureFeat(setting): add shared [redis] section as default for redis-backed subsystems ()
featureFeat(repo): prioritize well-known READMEs and optimize discovery ()
featureFeat(actions): implement adaptive auto-refresh for workflow runs list ()
featureFeat(auth): add disable-2fa command ()
featureFeat: Add audit logging ()
featureFeat(repo): add quick repository switcher to repo header ()
featureFeat(repo): support file exclusion logic in .gitea/template in template generation ()
featureFeat(web): Add org removal functionality to admin user details page ()
featureFeat: add watch options ()
featureFeat: add deploy tokens ()
featureFeat(diff): Add search and extension filter to diff sidebar ()
featureFeat: Replace SSE with WebSocket for UI notifications ()
featureFeat(actions): Add artifact preview in Actions run view ()
featureFeat(packages): add support for uploading helm provenance files ()
featureFeat: Add support for dynamic matrix evaluation in Gitea Actions workflows ()
featureFeat: Add max-parallel Support for Gitea Actions ()
featureFeat(actions): Add Actions API endpoints for workflow run management and logs ()
featureFeat: Add block on pending codeowner reviews branch protection ()
deprecatedEnhance(packages/npm): expand version metadata and support npm deprecate ()
securityFix(deps): update module golang.org/x/image to v0.45.0 [security] ()
securityFix(deps): update module golang.org/x/mod to v0.40.0 [security] ()
securityFix(deps): update dependency mermaid to v11.16.1 [security] ()
securityFix(deps): update module github.com/getkin/kin-openapi to v0.144.0 [security] ()
securityFix(deps): update dependency js-yaml to v5.2.2 [security] ()
+198 more items in the release notessecurityFixes CVE-2026-60018: Authenticated DoS in OneDev migration via unbounded version response body
securityFixes CVE-2026-60021: Authenticated DoS in GitLab migration via uncancelable version probe
securitySECURITY
fixfix(packages): restrict/limited/token-scope access (#39041, #39043, #39044, #39047, #39046) (#39058)
fixfix(attachments): enforce owning repository path (#39048) (#39077)
fixfix(markup): enforce same-repository issue access (#39045) (#39054)
fixfix(actions): verify raw artifact signatures first (#39049) (#39053)
fixfix(api): hide limited users from restricted viewers (#39004) (#39039)
fixfix(repo): limit gitignore template selections (#39027) (#39040)
fixfix(migrations): cancel GitLab version probes (#39023) (#39035)
fixfix(packages): limit Swift package manifests (#39025) (#39032)
fixfix(migrations): bound OneDev version responses (#39024) (#39033)
fixfix(packages): limit Maven checksum uploads (#39028) (#39031)
fixfix(packages): bound Alpine metadata entries (#39026) (#39029)
fixfix(actions): enforce fork pull request trust boundaries (#39005) (#39018)
fixfix(git): restrict hook permissions (#39008) (#39016)
fixfix(api): enforce repository creation token authorization (#39007) (#39014)
fixfix(api): enforce public-only scope for compare heads (#39006) (#39013)
fixfix(repo): hide repositories of hidden owners (#39009) (#39012)
fixfix: avoid enumerating every public repository in issue search (#38992) (#39000)
otherrefactor: private endpoints (#38964) (#38965)
featureenhance: add permalinks to pull request reviews (#38849) (#39036)
fixfix: add missing query parameters on runner list page (#39163)
fixfix(actions): keep step-level continue-on-error expressions unevaluated (#39141) (#39148
fixfix(packages): preserve SemVer prerelease identifiers in Swift Registry (#39156) (#39158)
fixfix(repo): prevent MarkAsBrokenEmpty when repository is being migrated (#39091) (#39092)
fixfix(asymkey): do not verify OpenPGP signatures with an SSH instance key (#39073) (#39086)
fixfix(pull): keep the merged state in sync with git (#39062) (#39118)
fixfix(pull): name the head repository in default compare links (#39075) (#39079)
fixfix(git): parse co-author trailers that are not RFC 5322 addresses (#39076) (#39081)
fixfix(actions): show "Complete job" logs when the last step is skipped (#38939) (#39003)
fixfix(actions): Fix how jobs in matrixes are grouped (#38980) (#38998)
fixfix: resolve YAML anchors and aliases in Actions workflows (#38984) (#38996)
fixfix: honor environment variables during install (#38974) (#38976)
fixfix: grant limited-org unit read access to authenticated non-members (#38871) (#38963)
fixfix: allow anonymous theme switching when REQUIRE_SIGNIN_VIEW is set (#38956) (#38961)
fixfix(actions): drop wrapper span around the action status icon (#38957) (#38959)
fixfix(issues): sort scoped labels by exclusive order in dropdowns (#38893) (#38954)
fixfix(indexer): correct bleve indexer token filters (#38853) (#38951)
fixfix: make "login_name" field optional for API edit user (#38917) (#38945)
+8 more items in the release notes