{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52805: Gogs: Migration Redirect Bypass Leads to Internal Repository Theft","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52805","status":"final","version":"1","initial_release_date":"2026-06-24T20:22:15.052Z","current_release_date":"2026-06-24T20:22:15.052Z","revision_history":[{"date":"2026-06-24T20:22:15.052Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52805 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52805"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52805"},{"category":"external","summary":"https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm","url":"https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm"},{"category":"external","summary":"https://github.com/gogs/gogs/pull/8324","url":"https://github.com/gogs/gogs/pull/8324"},{"category":"external","summary":"https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b","url":"https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b"},{"category":"external","summary":"https://github.com/gogs/gogs/releases/tag/v0.14.3","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}]},"product_tree":{"branches":[{"category":"vendor","name":"gogs","branches":[{"category":"product_name","name":"gogs","branches":[{"category":"product_version","name":"< 0.14.3","product":{"name":"gogs gogs < 0.14.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:gogs:gogs:\\<_0.14.3:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52805","title":"Gogs: Migration Redirect Bypass Leads to Internal Repository Theft","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":8.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}