0.14.4
最新补丁
OpenNavo 编辑 Homebrew 收录
Gogs 0.14.4 于 2026 年 11 月 12 日发布,修补自托管 Git 服务的安全漏洞,包括用密码重置链接登录。
- 变更
- 缩短激活或重置有效期后,已发出的链接也会随之失效。
- 安全
- 重置链接不能再在没有密码或双重验证时登录。被禁止登录的账户不能再靠令牌或 SSH 密钥访问。私有议题、附件和服务器文件不再像此前那样暴露。
brew install --cask gogsOpenNavo 编辑 Homebrew 收录
Gogs 0.14.4 于 2026 年 11 月 12 日发布,修补自托管 Git 服务的安全漏洞,包括用密码重置链接登录。
OpenNavo 编辑 Homebrew 收录
修复涉及代理身份验证、SSRF、授权、内容渲染、仓库访问和服务器资源占用的安全问题。
Gogs 0.14.3 修复了涉及身份验证、请求处理、授权、内容渲染、仓库访问和服务器资源占用的安全问题。现在,只有请求来自 [auth] TRUSTED_PROXY_IPS 中列出的地址时,才会信任反向代理身份验证标头。
本版本关闭了涉及 Webhook 重定向、镜像地址更新、仓库迁移和定期镜像同步的 SSRF 路径;还修复了开放重定向和畸形外部问题跟踪器 URL 导致的拒绝服务问题,并防止 Jupyter 笔记本预览和里程碑下拉菜单中的存储型 XSS。访问控制修复涵盖私有仓库附件下载、组织元数据和团队端点、仓库设置、团队管理操作、协作者权限,以及推送期间的 Git HTTP 访问。
其他修复涉及可能导致远程命令执行的构造分支名称和组织路径、可能在仓库之外写入文件的上传、跨仓库 Git LFS 对象泄露、密码重置令牌有效期,以及可能无限期占用资源的 SSH 握手。内置 SSH 服务现在会断开 15 秒内未完成的握手。
来源:Gogs 0.14.3 发行说明。
Release candidate for 0.14.3. See CHANGELOG for the full list of changes.
OpenNavo 编辑 Homebrew 收录
所提供的官方发布证据未说明 v0.14.2 的变更。
所提供的官方发布页面未说明 Go Git Service v0.14.2 的具体变更。页面还包含其他版本的信息,此处不作概述。
OpenNavo 编辑 Homebrew 收录
新增标签比较和配置选项,更新构建与镜像分发说明,并修复四项安全问题及其他已报告的错误。
除分支外,现在也支持比较标签。查看文件时,浏览器标签页会显示文件名。Redis 会话可以使用 TLS,app.ini 中的值可以从环境变量展开,退出登录后也可以跳转至自定义 URL。
从源代码编译需要 Go 1.25。SQLite 驱动改为纯 Go 实现,因此不再需要 CGO。cert 构建标签已移除,gogs cert 子命令始终可用。Mermaid JS 更新至 11.9.0。如果仓库根目录已存在,创建仓库操作会停止且不会更改该目录。
本版本开始发布新一代 Docker 镜像 gogs/gogs:next-latest。说明计划从 0.16.0 起将其作为 gogs/gogs:latest。旧版镜像的使用已弃用;计划从 0.16.0 起以 gogs/gogs:legacy-latest 发布,并且不会早于 0.17.0 完全移除。新一代镜像尚未支持所有容器选项。
修复四项安全问题:未认证文件上传、Web UI 中绕过受保护分支限制、通过授权绕过修改跨仓库标签,以及删除跨仓库评论。其他修复包括 MSSQL 下仓库关注者和星标者页面报错、带端口的 SSH 子模块显示异常、提交历史首个提交缺少个人资料链接、无法操作名称含特殊字符的文件,以及设置 HTTP_PROXY 或 HTTPS_PROXY 时 Docker 健康检查失败。
GitHub Release Homebrew 收录
[!warning] Due to changes to the release infrastructure, starting this release and going forward,
pamtag will not be included for release archives that previously had it included.
2c88cd4 - GHSA-26gq-grmh-6xm6GET /api/v1/user/repos responses 500 when accessible repositories contain forks. #8069main cause wiki initialization to fail. #8094Previous patch releases
[email] during installation for email settings. #7704[email] PASSWORD during installation for email password. #7807PUT /repos/:owner/:repo/contents/:path for creating and update repository contents. #5967[git.timeout] DIFF for customizing operation timeout of git diff. #6315[server] SSH_SERVER_MACS for setting list of accepted MACs for connections to builtin SSH server. #6434[repository] DEFAULT_BRANCH for setting default branch name for new repositories. #7291[server] SSH_SERVER_ALGORITHMS for specifying the list of accepted key exchange algorithms for connections to builtin SSH server. #7345backup command. #7060main. #6285[mailer] is no longer used, please use [email].[service] is no longer used, please use [auth].APP_NAME is no longer used, please use BRAND_NAME.[security] REVERSE_PROXY_AUTHENTICATION_USER is no longer used, please use [auth] REVERSE_PROXY_AUTHENTICATION_HEADER.[auth] ACTIVE_CODE_LIVE_MINUTES is no longer used, please use [auth] ACTIVATE_CODE_LIVES.[auth] RESET_PASSWD_CODE_LIVE_MINUTES is no longer used, please use [auth] RESET_PASSWORD_CODE_LIVES.[auth] ENABLE_CAPTCHA is no longer used, please use [auth] ENABLE_REGISTRATION_CAPTCHA.[auth] ENABLE_NOTIFY_MAIL is no longer used, please use [user] ENABLE_EMAIL_NOTIFICATION.[auth] REGISTER_EMAIL_CONFIRM is no longer used, please use [auth] REQUIRE_EMAIL_CONFIRMATION.[session] GC_INTERVAL_TIME is no longer used, please use [session] GC_INTERVAL.[session] SESSION_LIFE_TIME is no longer used, please use [session] MAX_LIFE_TIME.[server] ROOT_URL is no longer used, please use [server] EXTERNAL_URL.[server] LANDING_PAGE is no longer used, please use [server] LANDING_URL.[database] DB_TYPE is no longer used, please use [database] TYPE.[database] PASSWD is no longer used, please use [database] PASSWORD.ℹ️ Heads up! There is a new patch release 0.13.4 available, we recommend directly installing or upgrading to that version.
[!warning] Due to changes to the release infrastructure, starting this release and going forward,
pamtag will not be included for release archives that previously had it included.
Previous patch releases
[email] during installation for email settings. #7704[email] PASSWORD during installation for email password. #7807PUT /repos/:owner/:repo/contents/:path for creating and update repository contents. #5967[git.timeout] DIFF for customizing operation timeout of git diff. #6315[server] SSH_SERVER_MACS for setting list of accepted MACs for connections to builtin SSH server. #6434[repository] DEFAULT_BRANCH for setting default branch name for new repositories. #7291[server] SSH_SERVER_ALGORITHMS for specifying the list of accepted key exchange algorithms for connections to builtin SSH server. #7345backup command. #7060main. #6285[mailer] is no longer used, please use [email].[service] is no longer used, please use [auth].APP_NAME is no longer used, please use BRAND_NAME.[security] REVERSE_PROXY_AUTHENTICATION_USER is no longer used, please use [auth] REVERSE_PROXY_AUTHENTICATION_HEADER.[auth] ACTIVE_CODE_LIVE_MINUTES is no longer used, please use [auth] ACTIVATE_CODE_LIVES.[auth] RESET_PASSWD_CODE_LIVE_MINUTES is no longer used, please use [auth] RESET_PASSWORD_CODE_LIVES.[auth] ENABLE_CAPTCHA is no longer used, please use [auth] ENABLE_REGISTRATION_CAPTCHA.[auth] ENABLE_NOTIFY_MAIL is no longer used, please use [user] ENABLE_EMAIL_NOTIFICATION.[auth] REGISTER_EMAIL_CONFIRM is no longer used, please use [auth] REQUIRE_EMAIL_CONFIRMATION.[session] GC_INTERVAL_TIME is no longer used, please use [session] GC_INTERVAL.[session] SESSION_LIFE_TIME is no longer used, please use [session] MAX_LIFE_TIME.[server] ROOT_URL is no longer used, please use [server] EXTERNAL_URL.[server] LANDING_PAGE is no longer used, please use [server] LANDING_URL.[database] DB_TYPE is no longer used, please use [database] TYPE.[database] PASSWD is no longer used, please use [database] PASSWORD.GitHub Release Homebrew 收录
ℹ️ Heads up! There is a new patch release 0.13.4 available, we recommend directly installing or upgrading to that version.
[!warning] Due to changes to the release infrastructure, starting this release and going forward,
pamtag will not be included for release archives that previously had it included.
[email] during installation for email settings. #7704[email] PASSWORD during installation for email password. #7807Previous patch releases
PUT /repos/:owner/:repo/contents/:path for creating and update repository contents. #5967[git.timeout] DIFF for customizing operation timeout of git diff. #6315[server] SSH_SERVER_MACS for setting list of accepted MACs for connections to builtin SSH server. #6434[repository] DEFAULT_BRANCH for setting default branch name for new repositories. #7291[server] SSH_SERVER_ALGORITHMS for specifying the list of accepted key exchange algorithms for connections to builtin SSH server. #7345backup command. #7060main. #6285[mailer] is no longer used, please use [email].[service] is no longer used, please use [auth].APP_NAME is no longer used, please use BRAND_NAME.[security] REVERSE_PROXY_AUTHENTICATION_USER is no longer used, please use [auth] REVERSE_PROXY_AUTHENTICATION_HEADER.[auth] ACTIVE_CODE_LIVE_MINUTES is no longer used, please use [auth] ACTIVATE_CODE_LIVES.[auth] RESET_PASSWD_CODE_LIVE_MINUTES is no longer used, please use [auth] RESET_PASSWORD_CODE_LIVES.[auth] ENABLE_CAPTCHA is no longer used, please use [auth] ENABLE_REGISTRATION_CAPTCHA.[auth] ENABLE_NOTIFY_MAIL is no longer used, please use [user] ENABLE_EMAIL_NOTIFICATION.[auth] REGISTER_EMAIL_CONFIRM is no longer used, please use [auth] REQUIRE_EMAIL_CONFIRMATION.[session] GC_INTERVAL_TIME is no longer used, please use [session] GC_INTERVAL.[session] SESSION_LIFE_TIME is no longer used, please use [session] MAX_LIFE_TIME.[server] ROOT_URL is no longer used, please use [server] EXTERNAL_URL.[server] LANDING_PAGE is no longer used, please use [server] LANDING_URL.[database] DB_TYPE is no longer used, please use [database] TYPE.[database] PASSWD is no longer used, please use [database] PASSWORD.[!CAUTION] This release was pulled back due to issues with pre-compiled release archives, please use 0.13.2 instead.
ℹ️ Heads up! There is a new patch release 0.13.4 available, we recommend directly installing or upgrading to that version.
PUT /repos/:owner/:repo/contents/:path for creating and update repository contents. #5967[git.timeout] DIFF for customizing operation timeout of git diff. #6315[server] SSH_SERVER_MACS for setting list of accepted MACs for connections to builtin SSH server. #6434[repository] DEFAULT_BRANCH for setting default branch name for new repositories. #7291[server] SSH_SERVER_ALGORITHMS for specifying the list of accepted key exchange algorithms for connections to builtin SSH server. #7345backup command. #7060main. #6285[mailer] is no longer used, please use [email].[service] is no longer used, please use [auth].APP_NAME is no longer used, please use BRAND_NAME.[security] REVERSE_PROXY_AUTHENTICATION_USER is no longer used, please use [auth] REVERSE_PROXY_AUTHENTICATION_HEADER.[auth] ACTIVE_CODE_LIVE_MINUTES is no longer used, please use [auth] ACTIVATE_CODE_LIVES.[auth] RESET_PASSWD_CODE_LIVE_MINUTES is no longer used, please use [auth] RESET_PASSWORD_CODE_LIVES.[auth] ENABLE_CAPTCHA is no longer used, please use [auth] ENABLE_REGISTRATION_CAPTCHA.[auth] ENABLE_NOTIFY_MAIL is no longer used, please use [user] ENABLE_EMAIL_NOTIFICATION.[auth] REGISTER_EMAIL_CONFIRM is no longer used, please use [auth] REQUIRE_EMAIL_CONFIRMATION.[session] GC_INTERVAL_TIME is no longer used, please use [session] GC_INTERVAL.[session] SESSION_LIFE_TIME is no longer used, please use [session] MAX_LIFE_TIME.[server] ROOT_URL is no longer used, please use [server] EXTERNAL_URL.[server] LANDING_PAGE is no longer used, please use [server] LANDING_URL.[database] DB_TYPE is no longer used, please use [database] TYPE.[database] PASSWD is no longer used, please use [database] PASSWORD.get submodule "REDACTED": revision does not exist). #6436Previous patch releases
[security] LOCAL_NETWORK_ALLOWLIST = * to allow all hostnames. #7111[security] LOCAL_NETWORK_ALLOWLIST. #7074DisplayName in repository issue list. #7009Value not found for type *repo.HTTPContext . #6963[security] LOCAL_NETWORK_ALLOWLIST to allow repository migration and webhooks to be able to access local network addresses, which is a comma separated list of hostnames. #6988Access-Control-Allow-Credentials response header. #4983ssh: overflow reading version string errors from builtin SSH server. #6882[security] LOCAL_NETWORK_ALLOWLIST, which is a comma separated list of hostnames that are explicitly allowed to be accessed within the local network. #6841X-Frame-Options header to prevent Clickjacking. #6409Content-Type to be application/octet-stream . The server now tells the LFS client to always use Content-Type: application/octet-stream when upload files.updated_at field is now correctly updated when updates an issue. #6209login_source.cfg column to have VARCHAR(255) instead of TEXT in MySQL. #6280Last-Modified HTTP header for raw files. #5811.r , .sas , .tex , .yaml ). #5856public/ directory, please refer to documentation for usage. #5920GET /admin/teams/:teamid/members to list members of a team. #5877[server] LOAD_ASSETS_FROM_DISK = true to load them from disk. #5920miniwinsvc to minwinsvc.APP_NAME is deprecated and will end support in 0.13.0, please start using BRAND_NAME.[server] ROOT_URL is deprecated and will end support in 0.13.0, please start using [server] EXTERNAL_URL.[server] LANDING_PAGE is deprecated and will end support in 0.13.0, please start using [server] LANDING_URL.[database] DB_TYPE is deprecated and will end support in 0.13.0, please start using [database] TYPE.[database] PASSWD is deprecated and will end support in 0.13.0, please start using [database] PASSWORD.[security] REVERSE_PROXY_AUTHENTICATION_USER is deprecated and will end support in 0.13.0, please start using [auth] REVERSE_PROXY_AUTHENTICATION_HEADER.[mailer] is deprecated and will end support in 0.13.0, please start using [email].[service] is deprecated and will end support in 0.13.0, please start using [auth].[auth] ACTIVE_CODE_LIVE_MINUTES is deprecated and will end support in 0.13.0, please start using [auth] ACTIVATE_CODE_LIVES.[auth] RESET_PASSWD_CODE_LIVE_MINUTES is deprecated and will end support in 0.13.0, please start using [auth] RESET_PASSWORD_CODE_LIVES.[auth] ENABLE_CAPTCHA is deprecated and will end support in 0.13.0, please start using [auth] ENABLE_REGISTRATION_CAPTCHA.[auth] ENABLE_NOTIFY_MAIL is deprecated and will end support in 0.13.0, please start using [user] ENABLE_EMAIL_NOTIFICATION.[session] GC_INTERVAL_TIME is deprecated and will end support in 0.13.0, please start using [session] GC_INTERVAL.[session] SESSION_LIFE_TIME is deprecated and will end support in 0.13.0, please start using [session] MAX_LIFE_TIME.- is reserved and cannot be used for users or organizations..ipynb . #5170[service] REQUIRE_SIGNIN_VIEW = true.[other] SHOW_FOOTER_VERSION[server] STATIC_ROOT_PATH[repository] MIRROR_QUEUE_LENGTH[repository] PULL_REQUEST_QUEUE_LENGTH[session] ENABLE_SET_COOKIE[release.attachment] PATH[webhook] QUEUE_LENGTHsqlite, which means CGO is now required.