SecurityContext

CVE-2026-52805: Gogs - Server-Side Request Forgery

  • Cve: CVE-2026-52805
  • Name: Gogs - Server-Side Request Forgery
  • Description: Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but git clone --mirror follows HTTP redirects. An authenticated user can submit a public URL that redirects to a blocked internal endpoint (e.g., 127.0.0.1), importing the internal repository's contents into an attacker-controlled repository. This vulnerability is fixed in 0.14.3.
  • Impact: Authenticated attackers can access internal endpoints and import internal repository data, potentially exposing sensitive internal information.
  • Remediation: Upgrade to version 0.14.3 or later.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: server_side_request_forgery, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Epss score: 0.00384
  • Epss percentile: 0.3292
  • Assignee: [email protected]
  • Published at: 2026-06-24T21:16:56Z
  • Age in days: 153
  • Modified at: 2026-11-03T23:17:47Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-52805
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b
https://github.com/gogs/gogs/pull/8324
https://github.com/gogs/gogs/releases/tag/v0.14.3
https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm

Products

ProductAffectedPlatform boundSourcesUrl
gogs:gogs< 0.14.3nocna_alias_text/v1/products/gogs/gogs

Projects

RepositoryLink kindsIndexedUrl
gogs/gogscommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/gogs/gogs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 174004
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports