Gogs is an open source self-hosted Git service. Prior to version 0.14.2, an attacker can store an HTML/JavaScript payload in a repository’s Milestone name, and when another user selects that Milestone on the New Issue page (/issues/new), a DOM-Based XSS is triggered. This issue h...
Vendor
gogs vulnerabilities
75 published CVES affecting gogs, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 75
- Critical
- 17
- High
- 28
- Medium
- 29
- Low
- 1
- Unscored
- 0
- CISA KEV
- 1
Products
Latest gogs CVEs
Newest publication first · page 2 of 3
-
MediumCVSS 5.4 EPSS 0.22%
-
MediumCVSS 6.9 EPSS 0.30%
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, gogs api still accepts tokens in url params like token and access_token, which can leak through logs, browser history, and referrers. This issue has been patched in version 0.14.2.
-
CVE-2026-26195 Gogs: Stored XSS in branch and wiki views through author and committer names
PublishedMediumCVSS 6.9 EPSS 0.22%Gogs is an open source self-hosted Git service. Prior to version 0.14.2, stored xss is still possible through unsafe template rendering that mixes user input with safe plus permissive sanitizer handling of data urls. This issue has been patched in version 0.14.2.
-
HighCVSS 8.8 EPSS 0.54%
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 with the process. Th...
-
CVE-2026-25921 Gogs: Cross-repository LFS object overwrite via missing content hash verification
PublishedCriticalCVSS 9.3 EPSS 0.37%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 patched in version 0.14.2...
-
MediumCVSS 5.4 EPSS 0.35%
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users...
-
MediumCVSS 5.3 EPSS 0.30%
Gogs is an open source self-hosted Git service. Versions 0.13.4 and below have a broken access control vulnerability which allows authenticated users with write access to any repository to modify labels belonging to other repositories. The UpdateLabel function in the Web UI (inte...
-
MediumCVSS 6.9 EPSS 0.67%
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 /releases/attachments a...
-
HighCVSS 7.1 EPSS 0.47%
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 direct POST request, comp...
-
MediumCVSS 5.1 EPSS 0.30%
Gogs is an open source self-hosted Git service. In versions 0.13.4 and below, the DeleteComment API does not verify that the comment belongs to the repository specified in the URL. This allows a repository administrator to delete comments from any other repository by supplying ar...
-
CVE-2026-24135 Gogs vulnerable to arbitrary file deletion via path traversal in wiki page update
PublishedHighCVSS 7.2 EPSS 0.96%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 arbitrary files on the serv...
-
MediumCVSS 6.5 EPSS 0.51%
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, there is an arbitrary file read/write via path traversal in Git hook editing. This issue has been patched in versions 0.13.4 and 0.14.0+dev.
-
MediumCVSS 6.5 EPSS 0.31%
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, the endpoint "PUT /repos/:owner/:repo/contents/*" does not require write permissions and allows access with read permission only via repoAssignment(). After passing the permission check, PutContents() in...
-
MediumCVSS 6.5 EPSS 0.37%
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, an authenticated user can cause a DOS attack. If one of the repo files is deleted before synchronization, it will cause the application to crash. This issue has been patched in versions 0.13.4 and 0.14.0...
-
HighCVSS 7.7 EPSS 0.47%
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 code (e.g., from th...
-
CriticalCVSS 9.3 EPSS 1.4%
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 versions 0.13.4 and 0.14.0...
-
HighCVSS 8.7 EPSS 80.3% CISA KEV added 2026-01-12 Exploited in the wild Scanner template PoC
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
-
MediumCVSS 6.3 EPSS 0.42%
Gogs is an open source self-hosted Git service. In application version 0.14.0+dev and prior, there is a stored cross-site scripting (XSS) vulnerability present in Gogs, which allows client-side Javascript code execution. The vulnerability is caused by the usage of a vulnerable an...
-
CriticalCVSS 9.8 EPSS 1.3%
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 arbitrary commands on...
-
HighCVSS 8.7 EPSS 77.7% PoC
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.
-
HighCVSS 8.7 EPSS 0.86%
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.
-
CriticalCVSS 9.8 EPSS 1.8%
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 upload a file into the .git...
-
HighCVSS 8.8 EPSS 16.5%
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
-
CriticalCVSS 9.9 EPSS 16.2%
Gogs through 0.13.0 allows argument injection during the previewing of changes.
-
HighCVSS 7.7 EPSS 0.69%
Gogs through 0.13.0 allows argument injection during the tagging of a new release.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.