CyberSecBulletin

Gogs vulnerabilities

We track 28 vulnerabilities in Gogs products across 2 products. 28 are rated high or critical, and 1 has been exploited in real attacks. The most recent was published on November 5, 2026.

28vulnerabilities
9critical
19high
1exploited
8.6average CVSS score

Latest Gogs vulnerabilities

  • 7.1 High severity

    Gogs: Improper Handling of Case Sensitivity

    CVE-2026-123012Gogs

    In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810. This occurs because of a case-sensitivity desync between the authorization cl

  • 10.0 Critical severity

    gogs: Relative Path Traversal

    CVE-2026-52813GogsEPSS 1.11%

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving

  • 7.1 High severity

    gogs: Insufficient Verification of Data Authenticity

    CVE-2026-52812Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git LFS storage is content-addressed by OID alone (<LFS-root>/<oid[0]>/<oid[1]>/<oid>) but per-repo authorization lives in the lfs_object table keyed (repo_id, oid). serveUpload skips re-uploadin

  • 9.0 Critical severity

    gogs: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-52811Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, (*Repository).UploadRepoFiles checks for symlinks only on the leaf of the upload target (osx.IsSymlink(targetPath)). The siblings UpdateRepoFile, DeleteRepoFile, and GetDiffPreview use hasSymlink

  • 7.1 High severity

    gogs: Improper Access Control

    CVE-2026-52810Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, Git smart HTTP authorizes POST …/git-receive-pack using the client-supplied service query string (so ?service=git-upload-pack is evaluated as read access) while routing still runs git receive-pac

  • 7.1 High severity

    gogs: Improper Privilege Management

    CVE-2026-52808Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, three API endpoints — PATCH /api/v1/repos/:owner/:repo/issue-tracker, PATCH /api/v1/repos/:owner/:repo/wiki, and POST /api/v1/repos/:owner/:repo/mirror-sync — are gated by reqRepoWriter() rather

  • 9.9 Critical severity

    gogs: Improper Neutralization of Special Elements used in a Command

    CVE-2026-52806GogsEPSS 7.93%

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git reba

  • 8.7 High severity

    gogs: Server-Side Request Forgery

    CVE-2026-52805Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but git clone --mirror fo

  • 8.1 High severity

    Gogs is an open source self-hosted Git service.

    CVE-2026-52801Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Gogs Mirror Settings functionality provide an alternative way from the well protected New Migration functionality for any authenticated users to import local repositories. This issue stems fr

  • 8.8 High severity

    gogs: Cross-Site Request Forgery

    CVE-2026-52800Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization team member management can be performed via GET requests without CSRF protection. If a victim who is an organization owner is logged in and is tricked into visiting a crafted link, a

  • 7.5 High severity

    gogs: Authorization Bypass Through User-Controlled Key

    CVE-2026-52799Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, GET /attachments/:uuid returns the raw attachment file without verifying whether the requester has view permission for the associated Issue/Comment/Release or the repository. In a test environmen

  • 8.9 High severity

    gogs: Improper Neutralization of Input During Web Page Generation

    CVE-2026-52798Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, although .ipynb previews are sanitized on the server side via /-/api/sanitize_ipynb, the inserted content is re-rendered on the client side without sanitization using marked() on elements with th

  • 8.5 High severity

    gogs: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-52797Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.0, as an authorized user, an intruder can dictate the value which is passed to the git diff command which, together with bypassing the filtering of the passed value, allows the user to bypass the ta

  • 8.3 High severity

    gogs: Server-Side Request Forgery

    CVE-2026-47267Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, the fix for CVE-2022-1285 prevents adding webooks or running webhooks with URLs with a hostname that resolves in localCIDRs. However, webhooks still follow redirects allowing to access hostname i

  • 7.7 High severity

    gogs: Authentication Bypass by Spoofing

    CVE-2026-25119Gogs

    Gogs is an open source self-hosted Git service. Prior to 0.14.3, when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled, Gogs accepts the configured authentication header (default: X-WEBAUTH-USER) directly from client requests without validating that the request

  • 7.3 High severity

    gogs: Improper Neutralization of Argument Delimiters in a Command

    CVE-2026-26194Gogs

    Gogs is an open source self-hosted Git service. Prior to version 0.14.2, there's a security issue in gogs where deleting a release can fail if a user controlled tag name is passed to git without the right separator, this lets git options get injected and mess

  • 9.3 Critical severity

    gogs: Insufficient Verification of Data Authenticity

    CVE-2026-25921Gogs

    Gogs is an open source self-hosted Git service. Prior to version 0.14.2, overwritable LFS object across different repos leads to supply-chain attack, all LFS objects are vulnerable to be maliciously overwritten by malicious attackers. This issue has been patch

  • 9.8 Critical severity

    gogs: Missing Authorization

    CVE-2026-25242Gogs

    Gogs is an open source self-hosted Git service. Versions 0.13.4 and below expose unauthenticated file upload endpoints by default. When the global RequireSigninView setting is disabled (default), any remote user can upload arbitrary files to the server via /re

  • 8.8 High severity

    gogs: Incorrect Authorization

    CVE-2026-25232Gogs

    Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have an access control bypass vulnerability which allows any repository collaborator with Write permissions to delete protected branches (including the default branch) by sending a direc

  • 8.1 High severity

    gogs: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-24135Gogs

    Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, a path traversal vulnerability exists in the updateWikiPage function of Gogs. The vulnerability allows an authenticated user with write access to a repository's wiki to delete arbitra

  • 8.8 High severity

    gogs: Improper Authentication

    CVE-2025-64175Gogs

    Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, Gogs’ 2FA recovery code validation does not scope codes by user, enabling cross-account bypass. If an attacker knows a victim’s username and password, they can use any unused recovery

  • 9.8 Critical severity

    gogs: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-64111GogsEPSS 1.38%

    Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for CVE-2024-56731, it's still possible to update files in the .git directory and achieve remote command execution. This issue has been patched in versio

  • 8.8 High severity

    Gogs Path Traversal Exploited

    CVE-2025-8110GogsEPSS 80.3%

    Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.

  • 9.8 Critical severity

    gogs: Files or Directories Accessible to External Parties

    CVE-2024-56731GogsEPSS 1.15%

    Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user accounts can execute a

  • 8.8 High severity

    gogs: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-55947GogsEPSS 77.7%

    Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

  • 8.7 High severity

    gogs: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2024-54148Gogs

    Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

  • 9.8 Critical severity

    gogs/gogs: Improper Neutralization of Special Elements used in a Command

    CVE-2022-1884GogsEPSS 1.84%

    A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upl

  • 9.9 Critical severity

    gogs: Improper Neutralization of Argument Delimiters in a Command

    CVE-2024-39930GogsEPSS 7.74%

    The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious --split-string env request if the b