CVE-2026-82402
Gogs es un servicio Git autoalojado de código abierto. Antes de la versión 0.15.0+dev, un atacante no autenticado puede proporcionar un destino que contiene barras invertidas al endpoint /redirect, y otros flujos de redirección posteriores a una acción también se ven afectados. La función IsSameSite de internal/urlx/urlx.go valida una forma normalizada del destino, mientras que getRedirect de cmd/gogs/internal/web/web.go y otros llamadores usan el valor original en la respuesta Location.
Leer descripción completaMostrar menos
Esta discrepancia en la normalización de las barras invertidas permite que los navegadores interpreten el valor de Location como una URL externa de esquema relativo, lo que posibilita que los enlaces de un dominio de Gogs de confianza redirijan a las víctimas a contenido controlado por el atacante para suplantación de identidad (phishing). Esta vulnerabilidad está corregida en la versión 0.15.0+dev.
Traducción automática del texto original de NVD (en inglés).
CVSS
- Puntuación base
- 5.3
- Versión
- 4.0
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días
- 0.34 %
- Percentil entre todas las CVEs puntuadas
- 26
- Fecha de la puntuación
- 20/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1203Exploitation for Client Executionexecution60 % - Impacto principal
T1566.002Spearphishing Linkinitial access55 %
Inferido por reglas deterministas a partir del vector CVSS y la CWE. Solo orientativo.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-601
Referencias
Mostrar las 5 referencias
- https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main
- https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e
- https://github.com/gogs/gogs/pull/8391
- https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6
- https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-82402",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-82402",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-20T01:58:24.208606Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 5.3,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "LOW",
"vulnIntegrityImpact": "NONE",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "gogs",
"product": "gogs",
"versions": [
{
"status": "affected",
"version": "< 0.15.0+dev"
}
]
}
]
}
],
"published": "2026-10-14T19:17:21.660",
"references": [
{
"url": "https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/gogs/gogs/pull/8391",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-601"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Gogs is an open source self-hosted Git service. Prior to 0.15.0+dev, an unauthenticated attacker can provide a backslash-containing target to the /redirect endpoint, and similar post-action redirect flows are also affected. internal/urlx/urlx.go IsSameSite validates a normalized form of the target while cmd/gogs/internal/web/web.go getRedirect and other callers use the original value in the Location response. This backslash normalization mismatch lets browsers interpret the Location value as a scheme-relative external URL, allowing links on a trusted Gogs domain to redirect victims to attacker-controlled content for phishing. This vulnerability is fixed in 0.15.0+dev."
}
],
"lastModified": "2026-10-20T02:17:12.277",
"sourceIdentifier": "security-advisories@github.com"
}