CVE-2014-8682
SQL Injection in Gogs
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
Exploit likelihood
What each source reports
NVD Score used
7.5
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Record
CVE-2014-8682- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Record
CVE-2014-8682- Updated
- 2026-11-02
EUVDEUVD-2021-1320 No score
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Record
EUVD-2021-1320- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g6xv-8q23-w2q3
7.3
SQL Injection in Gogs
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Record
GHSA-g6xv-8q23-w2q3- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVGHSA-g6xv-8q23-w2q3
7.3
SQL Injection in Gogs
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Record
GHSA-g6xv-8q23-w2q3- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVGO-2022-0831 No score
SQL Injection in Gogs in gogs.io/gogs
SQL Injection in Gogs in gogs.io/gogs
- Record
GO-2022-0831- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gogs.io/gogsGo |
0.3.1 up to 0.5.8 | 0.5.8 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Gogs - 'users'/'repos' '?q' SQL Injection | 2014-11-14 |
| Nuclei | Gogs (Go Git Service) - SQL Injection | |
| PoC in GitHub | nihal1306/gogs | 2018-12-04 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-8682 is a high vulnerability (CVSS 7.5) in Gogits Gogs, published November 21, 2014. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 32.6%, the 98th percentile. Fixed in gogs.io/gogs 0.5.8.
References
exploit-db.com/exploits/35238
exchange.xforce.ibmcloud.com/vulnerabilities/98694
packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html
seclists.org/fulldisclosure/2014/Nov/33
gogs.io/docs/intro/change_log.html
securityfocus.com/archive/1/533995/100/0/threaded
Show 7 moreShow less
securityfocus.com/bid/71187
github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d
nvd.nist.gov/vuln/detail/CVE-2014-8682
github.com/gogits/gogs/releases/tag/v0.5.8
packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html
seclists.org/fulldisclosure/2014/Nov/31
github.com/advisories/GHSA-g6xv-8q23-w2q3