CVE-2026-52805
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
8.7
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-24 21:16:56.317000
Last modified
2026-11-03 23:17:47.530000
View original CVE JSON
{
"id": "CVE-2026-52805",
"sourceIdentifier": "[email protected]",
"published": "2026-06-24T21:16:56.317",
"lastModified": "2026-11-03T23:17:47.530",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "gogs",
"product": "gogs",
"versions": [
{
"version": "< 0.14.3",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"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",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.3,
"impactScore": 5.8
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-26T03:55:43.665772Z",
"id": "CVE-2026-52805",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"references": [
{
"url": "https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b",
"source": "[email protected]"
},
{
"url": "https://github.com/gogs/gogs/pull/8324",
"source": "[email protected]"
},
{
"url": "https://github.com/gogs/gogs/releases/tag/v0.14.3",
"source": "[email protected]"
},
{
"url": "https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm",
"source": "[email protected]"
},
{
"url": "https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}