Gitea 28.2.0 → 28.4.0
2 releases · 0 breaking changes · 0 security fixes · 30 advisories fixed
0security0breaking0deprecated4feature74fix
Vulnerabilities fixed by this upgrade
- low CVE-2026-120725 Anonymous Git LFS downloads bypass REQUIRE_SIGNIN_VIEW
- 5.4 CVE-2026-128359 OAuth2 provider keeps issuing tokens to disabled users
- 4.3 CVE-2026-129525 Issues-only members can read pull request data through /issues/{index}
- 8.1 CVE-2026-118389 RubyGems Compact Index Injection via Newline in Package Metadata — Supply Chain Poisoning
- 8.2 CVE-2026-123002 MFA TOTP brute-force via missing rate limiting on TwoFactorPost (POST /user/two_factor)
- 7.3 CVE-2026-118535 Repository transfer preserves owner-scoped workflow trust, allowing the new owner to access unrelated repositories' secrets and write token
- high CVE-2026-126338 Code comment reply accepts foreign review ID, leaks private diff hunks
- 8.5 CVE-2026-123638 Branch protection "Protected file patterns" bypass via git C-quoted file names — push and merge gates both fail open; leads to untrusted Actions workflow execution on self-hosted runners when .gitea/** is protected
- 8.8 CVE-2026-123006 Password hash material of repository owners exposed to any signed-in user via /repo/search
- 8.5 CVE-2026-125423 Authenticated RCE during repository auto-initialization via a push race and README.md symlink
- medium CVE-2026-119625 GET /{user}.rss / .atom leak private activity to a scope-confined API token (2nd incomplete-fix follow-up of GHSA-6cqf-375w-639g, user feed never got the scope-category check the repo feeds did)
- 6.5 CVE-2026-112887 Gitea Actions task tokens authenticate to the REST API with no token scope, enabling instance-wide private repository enumeration via GET /api/v1/user/repos
- medium CVE-2026-116474 Actions token can spoof instance-signed commits by adding a GPG key
- 5.3 CVE-2026-119533 Public project boards disclose private pull request titles and repository names
- 6.5 CVE-2026-118504 API Issue Mutation Archive Restriction Bypass
- medium CVE-2026-117677 Helm chart upload: unbounded gzip+tar metadata parse before the package-size quota gate (CWE-409/CWE-400 decompression amplification)
- 6.5 CVE-2026-117649 Cross-repository issue dependency and timeline read path serializes private issue title/body and attachments without the source repository access check (LoadDepIssueDetails/ToAPIIssue without ACL)
- 4.3 CVE-2026-118395 Deprecated POST /org/{org}/repos skips rejectPublicOnly; public-only tokens can create private repositories
- 4.3 CVE-2026-117646 Public-only tokens expose private repositories through profile and organization tabs
- 6.5 CVE-2026-116289 Public-only PAT scope bypass via Actions runner registration leaks private repository secrets
- 4.3 CVE-2026-114199 Contribution heatmap discloses private-repository contribution counts to public-only tokens (GetUserHeatmapData never reads ctx.PublicOnly while activity feeds do)
- 4.3 CVE-2026-119627 Gitea web profile and feed routes bypass public-only token scope for limited-visibility users
- 4.3 CVE-2026-118394 OIDC userinfo: the public-only token scope is not enforced when the token arrives as a query parameter (residual of CVE-2026-55982)
- 8.7 CVE-2026-113429 Stored XSS on the Gitea origin through the v3 artifact Content-Encoding header
- 8.1 CVE-2026-116296 Write collaborators can replace and destroy releases, milestones and labels on archived repositories (archived write-protection bypass)
- 8.1 CVE-2026-119441 Public-Only Token Bypass on Bulk Organization Repository Deletion
- 8.1 CVE-2026-117635 Public-only tokens bypass private-resource restrictions on the admin API
- 7.1 CVE-2026-117685 Public-only package tokens can access private OCI blobs
- high CVE-2026-120263 Account Takeover via OAuth2 Auto-Linking with Attacker-Controlled Username
- 8.1 CVE-2026-118386 Actions: fork workflow gets secrets and write token via review commit_id
Breaking changes
None in the release notes.
Security changes
None in the release notes.
Every release in between
feature(websocket) Improve client synchronization (#38847) (#40340)
fix(api) Return language of starred and watched repositories (#40127) (#40157)
fix(web) Read the wiki blob excerpt from the wiki repository (#40165) (#40178)
fix(actions) Make Actions API work with repo admin permission (#40174) (#40180)
fix(repo) Avoid deadlock when updating language stats concurrently (#40167) (#40202)
fix(notifications) Avoid deadlock when creating issue notifications concurrently (#40166) (#40203)
fix(api) Don't panic on null milestone due_on (#40171)
fix(actions) Evaluate job if: against needs finished in the same pass (#40126) (#40221)
fix(web) Build issue popup request from parsed link (#40207) (#40225)
fixAllow clearing the full name in profile settings (#40186) (#40191)
fix(packages) Return empty Chef dependencies instead of null (#40237) (#40242)
fix(deps) Update module github.com/andybalholm/brotli to v1.2.7 [security] (#40246) (#40249)
fixUpgrade Alpine base packages in Docker images (#40252) (#40253)
fixDon't roll back branches on out-of-order post-receive hooks (#40110) (#40255)
fix(repo) Mark repository as non-empty before git push returns (#40102) (#40266)
fixAdd missing checks to several handlers and services (#40120) (#40268)
fix(pull) Don't add a timeline entry for pending API reviews (#40260) (#40272)
fixPaste copied code as text, not as a markdown table (#40053) (#40280)
fix(deps) Update clippie to 4.3.1 (#40293)
fixDon't log network error in console when loading issue popup (#40288) (#40294)
fix(markup) Correct character escaping at read buffer boundaries (#40209)
fix(api) Lock and unlock issues as the signed-in user, not the repository owner (#40291) (#40298)
fix(ui) Consistent spacing between labels (#40261) (#40330)
fixAdd missing checks to more handlers and services (#40131) (#40281)
fixHandle task list items checked with uppercase X (#40334) (#40339)
fix(queue) Bump levelqueue to v0.5.1 and remove workarounds (#40219) (#40350)
fix(web) Fix memory leak in dropdown ARIA patch (#40349) (#40364)
fixCorrectly apply team admin permission to doer (#40353) (#40356)
fix(packages) Accept OCI 1.1 container image names (#40363) (#40369)
fix(api) Hide org roles from non-members (#40042) (#40365)
fix(git) List affected files NUL-separated so special names are not quoted (#40362)
fix(repo) Do not reuse pull mirror credentials for a new host (#39991) (#40373)
fix(issues) Hide unreadable issue types in search and milestone views (#40192) (#40375)
fix(api) Do not allow renaming the Owners team (#40381) (#40387)
fix(repo) Limit the commit status fields returned by repo search (#40377) (#40384)
fix(audit) Record missing repository and content events (#40322) (#40390)
fix(auth) Limit failed TOTP attempts per account (#39993) (#40374)
fix(repo) Do not check out existing repo content during auto-init (#40376) (#40383)
featureImprove hover border of colored button groups (#39861) (#39899)
feature(webhook) Mention release assets in notifications (#39631) (#39912)
feature(project) Filter project milestones by linked issues (#39958) (#39984)
fix(pulls) Tolerate invalid stored review commit_id (#39849) (#39857)
fix(api) Skip label lookup in ListIssues when no labels filter given (#39890) (#39893)
fixPrevent system users from watching a repository (#39886) (#39895)
fixOff-by-one errors in code comment patches (#39887) (#39904)
fixUse clear error message when failed to parse git version (#39898) (#39903)
fix(packages) Reject newline-bearing rubygems dependency metadata (#39782) (#39900)
fixEnforce public-only token scope on more routes (#39690) (#39853)
fix(api) Return 4xx for invalid fork repository names (#39909) (#39919)
fix(lfs) Send the default branch as ref in batch download requests (#39891) (#39920)
fix(api) Keep milestone due date when it is omitted in edit request (#39869) (#39921)
fix(oauth2) Decode form-encoded client credentials in HTTP Basic auth (#39926) (#39931)
fix(issues) Keep one row per issue when sorting by exclusive label order (#39364) (#39928)
fix(api) Check unit read permission in issue sub-resource endpoints (#39885) (#39938)
fix(migrations) Use cursor pagination for GitHub issue migration too (#39888) (#39941)
fix(feed) Hide release notes in tags feed without releases access (#39944) (#39949)
fix(api) Adding issue labels by name attaches both the repo and the org label (#39873) (#39951)
fix(actions) Bound requested artifact retention (#39894) (#39946)
fix(actions) Drop untrusted Content-Encoding from v1 artifact uploads (#39855) (#39996)
fixGet valid UTF-8 for diff_hunk and composer readme (#39932) (#40000)
fix(diff) Load both blobs of renamed files for diff rendering (#39969) (#39992)
fix(migrations) Update gitea sdk to fix nil pointer panic (#39999)
fixFix OneDev migration with OneDev 16.8 and newer (#40017) (#40026)
fix(git) Default to the gc maintenance strategy (#40022) (#40029)
fixReplace null char with space for issue/comment content (#40014) (#40034)
fix(issue) Prevent redirect to external tracker when built-in tracker is enabled (#39997) (#40031)
fix(markup) Keep commit title emoji inside links (#39986) (#40032)
fix(repo) Use the viewed ref's editorconfig in file view, blame and editor (#39973) (#40019)
fix(deps) Update module golang.org/x/net to v0.62.0 [security] (#40050) (#40051)
fixSize mermaid iframe by the diagram's aspect ratio (#40046) (#40052)
fix(feed) Require code read access for the repo home branch feed (#39964) (#40067)
fixAdd missing access checks and size limits (#39942) (#40085)
fix(user) Answer the follow of a bot user with the profile card (#39980) (#40086)
fix(repo) Honor ALLOW_FORK_INTO_SAME_OWNER for organizations (#40025) (#40094)
fix(ui) Ignore code line anchors below 1, show JS errors in vite dev mode (#39432) (#40087)
fix(pull) Refuse review comments on locked pull requests (#39960) (#40084)
fix(api) Answer 409 when repository files already exist on disk (#40095) (#40098)
fix(mail) Preserve outer spacing in notification emails (#40104) (#40111)
+16 more items in the release notes