Vulnerability advisory
CVE-2026-47267
Gogs: SSRF in webhook deliveries
Also known as GHSA-c4v7-xg93-qf8gGO-2026-5312
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 | 3ba8aca90e17e5410b7e8b227c9f29256ac3e875 |
| Not specified | 199cf4fd5bbe40b92f6dc8d649e241fd7a8d0018 |
Also listed as affected (60)
| |
Description
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 inside localCIDRs. This vulnerability is fixed in 0.14.3.
References
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47267.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-c4v7-xg93-qf8g ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-47267 ↗
- Fixgithub.com/gogs/gogs/commit/199cf4fd5bbe40b92f6dc8d649e241fd7a8d0018 ↗
- Fixgithub.com/gogs/gogs/pull/8263 ↗