Skip to content
High 7.7

Gogsに認証済みユーザーが.gitの保護を回避し任意のコマンドを実行される脆弱性

CVE-2026-134808 First seen on SecPulse

Summary

Windows版のGogsで、書き込み権限を持つ認証済みユーザーが、NTFSの別名(git~1など)を使って.gitディレクトリの保護を回避できる脆弱性が公表されました。.git/configやフックを書き換えられ、Gogsのプロセスの権限で任意のコマンドを実行されるおそれがあります。影響を受けるのは0.14.4より前の版で、0.14.4への更新で修正されています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Windows版のGogsで、書き込み権限を持つ認証済みユーザーが、NTFSの別名(git~1など)を使って.gitディレクトリの保護を回避できる脆弱性が公表されました。.git/configやフックを書き換えられ、Gogsのプロセスの権限で任意のコマンドを実行されるおそれがあります。影響を受けるのは0.14.4より前の版で、0.14.4への更新で修正されています。

Affected packages

PackageAffected → Fixed
GogsGogs
< 0.14.4→ 0.14.4
Original description The description as published by the source.

Gogs before 0.14.4 on Windows contains a path equivalence vulnerability in isRepositoryGitPath that allows authenticated users with write access to bypass .git directory protection using NTFS aliases. Attackers can create, rename or upload files via aliases like git~1 or .git::$INDEX_ALLOCATION to overwrite .git/config or hooks and execute commands as the Gogs process.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details