Gogs
by Gogs
Source repositories
CVEs (77)
| CVE | Vendor / Product | Sev | Risk | CVSS | EPSS | KEV | Published | Description |
|---|---|---|---|---|---|---|---|---|
| CVE-2025-8110 | Hig | 0.69 | 8.8 | 0.83 | KEV | Dec 10, 2025 | Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code. | |
| CVE-2024-39931 | Cri | 0.68 | 9.9 | 0.53 | Jul 4, 2024 | Gogs through 0.13.0 allows deletion of internal files. | ||
| CVE-2024-39932 | Cri | 0.66 | 9.9 | 0.17 | Jul 4, 2024 | Gogs through 0.13.0 allows argument injection during the previewing of changes. | ||
| CVE-2018-18925 | Cri | 0.66 | 9.8 | 0.31 | Nov 4, 2018 | Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron. | ||
| CVE-2022-2024 | Cri | 0.65 | 9.8 | 0.98 | Feb 25, 2023 | OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11. | ||
| CVE-2022-32174 | Cri | 0.63 | 9.0 | 0.58 | Oct 11, 2022 | In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover. | ||
| CVE-2024-39930 | Cri | 0.61 | 9.9 | 0.08 | Jul 4, 2024 | 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 built-in SSH server… | ||
| CVE-2026-52806 | Cri | 0.60 | 9.9 | 0.01 | Jun 24, 2026 | 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 rebase command during… | ||
| CVE-2026-52813 | Cri | 0.58 | 10.0 | 0.01 | Jun 24, 2026 | 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 data for… | ||
| CVE-2024-56731 | Cri | 0.58 | 10.0 | 0.01 | Jun 24, 2025 | 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… | ||
| CVE-2024-44625 | Hig | 0.58 | 8.8 | 0.15 | Nov 15, 2024 | Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go. | ||
| CVE-2026-25242 | Cri | 0.57 | 9.8 | 0.01 | Feb 19, 2026 | 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… | ||
| CVE-2025-64111 | Cri | 0.57 | 9.8 | 0.01 | Feb 6, 2026 | 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… | ||
| CVE-2024-54148 | Cri | 0.57 | 9.8 | 0.01 | Dec 23, 2024 | 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. | ||
| CVE-2022-1986 | Cri | 0.57 | 9.8 | 0.04 | Jun 9, 2022 | OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9. | ||
| CVE-2020-15867 | Hig | 0.57 | 7.2 | 0.87 | Oct 16, 2020 | The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the… | ||
| CVE-2019-14544 | Cri | 0.57 | 9.8 | 0.02 | Aug 2, 2019 | routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks. | ||
| CVE-2018-15193 | Hig | 0.57 | 8.8 | 0.01 | Aug 8, 2018 | A CSRF vulnerability in the admin panel in Gogs through 0.11.53 allows remote attackers to execute admin operations via a crafted issue / link. | ||
| CVE-2024-55947 | Hig | 0.56 | 8.8 | 0.75 | Dec 23, 2024 | 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. | ||
| CVE-2018-16409 | Hig | 0.56 | 8.6 | 0.01 | Sep 3, 2018 | In Gogs 0.11.53, an attacker can use migrate to send arbitrary HTTP GET requests, leading to SSRF. |
- risk 0.69cvss 8.8epss 0.83
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
- risk 0.68cvss 9.9epss 0.53
Gogs through 0.13.0 allows deletion of internal files.
- risk 0.66cvss 9.9epss 0.17
Gogs through 0.13.0 allows argument injection during the previewing of changes.
- risk 0.66cvss 9.8epss 0.31
Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a ".." session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.
- risk 0.65cvss 9.8epss 0.98
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
- risk 0.63cvss 9.0epss 0.58
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
- risk 0.61cvss 9.9epss 0.08
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 built-in SSH server…
- risk 0.60cvss 9.9epss 0.01
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 rebase command during…
- risk 0.58cvss 10.0epss 0.01
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 data for…
- risk 0.58cvss 10.0epss 0.01
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…
- risk 0.58cvss 8.8epss 0.15
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
- risk 0.57cvss 9.8epss 0.01
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…
- risk 0.57cvss 9.8epss 0.01
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…
- risk 0.57cvss 9.8epss 0.01
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.
- risk 0.57cvss 9.8epss 0.04
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
- risk 0.57cvss 7.2epss 0.87
The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the…
- risk 0.57cvss 9.8epss 0.02
routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks.
- risk 0.57cvss 8.8epss 0.01
A CSRF vulnerability in the admin panel in Gogs through 0.11.53 allows remote attackers to execute admin operations via a crafted issue / link.
- risk 0.56cvss 8.8epss 0.75
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.
- risk 0.56cvss 8.6epss 0.01
In Gogs 0.11.53, an attacker can use migrate to send arbitrary HTTP GET requests, leading to SSRF.
Page 1 of 4