警戒
Gogs read-only users can push to private repositories
CVE-2026-123012
Someone with read-only access can change private code repositories.
- CVE
- CVE-2026-123012(新しいタブで開きます)
- スコア
- CVSS 7.1
- 初確認
対処法
There is no fix yet. Set DISABLE_HTTP_GIT = true in app.ini to turn off Git HTTP access and use SSH only.
すぐに更新できない場合:
設定ファイル app.ini にこの行を追加してください:
DISABLE_HTTP_GIT = true
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
Gogs 0.14.3 checks the case of Git request words, so a read-only collaborator can push to private repositories. Logged-in users with read access to a private repository are affected, and there is no fix yet.
該当する条件
- Git Smart HTTP enabled
- user with read-only access to a private repository
製品別のインシデント: gogs
gogs のほかの最近のインシデント
解説記事を読む · humanoid.sh(新しいタブで開きます)
- 解説記事: humanoid.sh(新しいタブで開きます)
- 解説記事: github.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)