Gitea 1.25.4 已发布
· 阅读需 6 分钟
我们很高兴宣布 Gitea 1.25.4 正式发布!强烈建议所有用户升级到此版本,因为它包含了重要的安全修复、大量错误修复以及整体稳定性提升。
权限与保护检查
- CVE-2026-20736:发布附件必须属于目标仓库(#36347)(#36375)
- CVE-2026-20750:修复组织项目操作中的权限检查问题(#36318)(#36373)
- CVE-2026-20883:为计时器的读取或列表操作添加更多检查(#36340)(#36368)
- CVE-2026-20904:修复 OpenID 设置检查(#36346)(#36361)
- CVE-2026-20888:修复取消自动合并的错误(#36341)(#36356)
- CVE-2026-20912:修复删除附件的检查(#36320)(#36355)
- CVE-2026-20897:LFS 锁必须属于目标仓库(#36344)(#36349)
信息泄漏预防
- CVE-2026-0798:在将仓库设为私有时清理关注者,并在发送发布邮件时检查权限(#36319)(#36370)
- CVE-2026-20800:修复通知已读方面的错误(#36339)(#36387)
依赖更新
Go 升级至 1.25.6,其中包含对 go 命令以及 archive/zip、crypto/tls 和 net/url 包的安全修复与错误修正。
感谢 spingARbor 报告这些安全漏洞。
本次发布包含 27 个已合并的合并请求,感谢社区成员的卓越贡献。
如何安装或更新
从 Gitea 下载页面 获取我们预编译的二进制文件 — 请确保选择与您的平台兼容的版本。如需安装或升级的分步指南,请参阅我们的 安装文档。
特别感谢
我们还要感谢 Open Collective 上的所有支持者,是你们在财务上帮助我们持续运营。
正在寻找一个无缝、省心的 Git 仓库管理方案? 了解 Gitea Cloud —— 一个全托管、可扩展的平台,旨在简化你的开发工作流。
以下 Changelog 保留英文原文,未作翻译,请与上游逐字核对。
Changelog
- SECURITY
- Release attachments must belong to the intended repo (#36347) (#36375)
- Fix permission check on org project operations (#36318) (#36373)
- Clean watches when make a repository private and check permission when send release emails (#36319) (#36370)
- Add more check for stopwatch read or list (#36340) (#36368)
- Fix openid setting check (#36346) (#36361)
- Fix cancel auto merge bug (#36341) (#36356)
- Fix delete attachment check (#36320) (#36355)
- LFS locks must belong to the intended repo (#36344) (#36349)
- Fix bug on notification read (#36339) #36387
- ENHANCEMENTS
- BUGFIXES
- Fix markdown newline handling during IME composition (#36421) #36424
- Fix missing repository id when migrating release attachments (#36389)
- Fix bug when compare in the pull request (#36363) (#36372)
- Fix incorrect text content detection (#36364) (#36369)
- Fill missing
has_codein repository api (#36338) (#36359) - Fix notifications pagination query parameters (#36351) (#36358)
- Fix some trivial problems (#36336) (#36337)
- Prevent panic when GitLab release has more links than sources (#36295) (#36305)
- Fix stats bug when syncing release (#36285) (#36294)
- Always honor user's choice for "delete branch after merge" (#36281) (#36286)
- Use the requested host for LFS links (#36242) (#36258)
- Fix panic when get editor config file (#36241) (#36247)
- Fix regression in writing authorized principals (#36213) (#36218)
- Fix WebAuthn error checking (#36219) (#36235)
