Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x…
Priority MEDIUM 57CWE-89Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
EPSS 0.32616 98th percentileScored 2026-11-07
Public exploit Yes 4 exploit referencesTagged by the CNA and NVD
Fix Fixed gogs.io/gogs (Go): 0.5.8
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | gogs.io/gogs (Go) | 0.3.1 to before 0.5.8 | 0.5.8 | Patch available | GHSA-g6xv-8q23-w2q3 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- gogs.io/gogs (Go) Vendor— Affected 0.3.1 to before 0.5.8 Fixed in 0.5.8 Patch available GHSA-g6xv-8q23-w2q3
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:* | up to 0.5.5 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:* | 0.3.1-9 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:* | 0.4.1 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:* | 0.4.2 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:* | 0.5.0 | Vulnerable | Gogits |
| cpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:* | 0.5.2 | Vulnerable | Gogits |
- cpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:* Versions up to 0.5.5 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:* Versions 0.3.1-9 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:* Versions 0.4.1 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:* Versions 0.4.2 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:* Versions 0.5.0 Vulnerable ·Gogits
- cpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:* Versions 0.5.2 Vulnerable ·Gogits
Remediation
- Fix · GHSA-g6xv-8q23-w2q3 gogs.io/gogs (Go) Fixed in 0.5.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2014-8682
- 2026-10-03 Alias added: GHSA-g6xv-8q23-w2q3
References
Exploit 4
More Gogits Gogs vulnerabilities
- TI-2014-07132 SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go… CVSS 2.0HIGH 7.5
- TI-2014-07134 Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service)… CVSS 2.0MEDIUM 4.3
Sources
- CVE-2014-8682 · CVE Program
- CVE-2014-8682 · NVD
- FIRST EPSS
- GHSA-g6xv-8q23-w2q3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences