Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40973
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:12 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-40973
Complete source record
{
"id": "e166922e9132aceed106fc9cea4dd6542a2ce377de65331f35513237d032d0a2",
"url": "https://osv.dev/vulnerability/CVE-2026-40973",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-40973",
"summary": "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.",
"evidence": "osv:CVE-2026-40973",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-40973",
"aliases": [
"CVE-2026-40973",
"GHSA-wwpq-f5c3-7hvx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-boot",
"type": "GIT",
"events": [
{
"introduced": "8c2d6453243f319accaef7a190ff8ddf89f482a2"
},
{
"fixed": "7d7b3ac12735161f9c096ce6cb415bdd9fc4a0f4"
},
{
"introduced": "1c0e08b4c434b0e77a83098267b2a0f5a3fc56d7"
},
{
"fixed": "8821ad2cd381bb4b9615a61479e1de7305a8ba39"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40973.json"
}
}
],
"modified": "2026-10-28T02:30:27.624778980Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-40973",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40973.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40973"
],
"provider_metadata": {
"cwe_ids": [
"CWE-377"
],
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.6"
},
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.14"
},
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.16"
},
{
"introduced": "3.3.0"
},
{
"fixed": "3.3.19"
},
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.33"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40973.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40973",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494403,
"published_at": "2026-04-27T23:29:51.946+00:00"
}