CVE-2026-40973
A local attacker on the same host as the application may be able to take control of the directory used by `ApplicationTemp`. When `server.servlet.session.persistent` is set to `true` and the attack persists across application restarts, this may allow the attacker to read session information and hijack authenticated users or deploy a gadget chain and execute code as the application's user.
Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); predictable temp directory / `ApplicationTemp` ownership verification. Versions that are no longer supported are also affected per vendor advisory.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.13%
- Percentil entre todas las CVEs puntuadas: 2
- Fecha de la puntuación: 5/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
T1068Exploitation for Privilege Escalationprivilege escalation85 % - Impacto principal
T1078Valid Accountsstealth · persistence · privilege escalation · initial access80 % - Impacto secundario
T1059Command and Scripting Interpreterexecution75 % - Impacto secundario
T1552.007Container APIcredential access70 %
Vulnerabilidad local de escalada: atacante con acceso local (AV:L, PR:L) controla directorio temp predecible (CWE-377), permitiendo robo de sesiones autenticadas (T1078) y ejecución de código gadget (T1059) con permisos de la aplicación.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-377
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-40973",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-40973",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-28T00:00:00+00:00"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security@vmware.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1
}
]
},
"affected": [
{
"source": "security@vmware.com",
"affectedData": [
{
"vendor": "Spring",
"product": "Spring Boot",
"versions": [
{
"status": "affected",
"version": "4.0.0",
"lessThan": "4.0.6",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.5.0",
"lessThan": "3.5.14",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.4.0",
"lessThan": "3.4.16",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.3.0",
"lessThan": "3.3.19",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.7.0",
"lessThan": "2.7.33",
"versionType": "custom"
}
],
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-04-28T00:16:24.357",
"references": [
{
"url": "https://spring.io/security/cve-2026-40973",
"tags": [
"Vendor Advisory"
],
"source": "security@vmware.com"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "security@vmware.com",
"description": [
{
"lang": "en",
"value": "CWE-377"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A local attacker on the same host as the application may be able to take control of the directory used by `ApplicationTemp`. When `server.servlet.session.persistent` is set to `true` and the attack persists across application restarts, this may allow the attacker to read session information and hijack authenticated users or deploy a gadget chain and execute code as the application's user.\n\nAffected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); predictable temp directory / `ApplicationTemp` ownership verification. Versions that are no longer supported are also affected per vendor advisory."
},
{
"lang": "es",
"value": "Un atacante local en el mismo host que la aplicación podría tomar el control del directorio utilizado por 'ApplicationTemp'. Cuando 'server.servlet.session.persistent' se establece en 'true' y el ataque persiste a través de los reinicios de la aplicación, esto podría permitir al atacante leer información de la sesión y secuestrar usuarios autenticados o desplegar una cadena de gadgets y ejecutar código como el usuario de la aplicación.\n\nAfectado: Spring Boot 4.0.0-4.0.5 (corrección 4.0.6), 3.5.0-3.5.13 (corrección 3.5.14), 3.4.0-3.4.15 (corrección 3.4.16), 3.3.0-3.3.18 (corrección 3.3.19), 2.7.0-2.7.32 (corrección 2.7.33); verificación de propiedad de directorio temporal predecible / 'ApplicationTemp'. Las versiones que ya no son compatibles también se ven afectadas según el aviso del proveedor."
}
],
"lastModified": "2026-07-24T21:10:00.143",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5B1C9BD7-7555-4B3D-AED9-60C3C13DCF46",
"versionEndExcluding": "2.7.33"
},
{
"criteria": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "28EE6470-24FD-49D1-A2F0-7A19B290A161",
"versionEndExcluding": "3.3.19",
"versionStartIncluding": "3.3.0"
},
{
"criteria": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "758A9E8F-0C52-43D9-8D84-69622B345A4E",
"versionEndExcluding": "3.4.16",
"versionStartIncluding": "3.4.0"
},
{
"criteria": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D23096A1-8269-46C5-9215-9098E87D0A24",
"versionEndExcluding": "3.5.14",
"versionStartIncluding": "3.5.0"
},
{
"criteria": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "12A166C5-8B55-4BA3-AA8B-6024A257D441",
"versionEndExcluding": "4.0.6",
"versionStartIncluding": "4.0.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security@vmware.com"
}