{"id":"CVE-2026-40973","published":"2026-04-27T23:29:51Z","modified":"2026-04-29T03:55:43Z","title":"A local attacker on the same host as the application may be able to take control of the directory used by…","vendor":"Spring","product":"Spring Boot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00136,"percentile":0.03091,"provenance":"source"},"cwes":[{"id":"CWE-377","name":"Insecure Temporary File"}],"references":[{"url":"https://spring.io/security/cve-2026-40973","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":0.62},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Boot","versions":[">= 4.0.0, < 4.0.6",">= 3.5.0, < 3.5.14",">= 3.4.0, < 3.4.16",">= 3.3.0, < 3.3.19",">= 2.7.0, < 2.7.33"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-28T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.boot:spring-boot","vulnerableRanges":[">=4.0.0, <4.0.6",">=3.5.0, <3.5.14",">=3.4.0, <=3.4.15",">=3.3.0, <=3.3.18","<=2.7.32"],"patched":["4.0.6","3.5.14"],"from":["GHSA-wwpq-f5c3-7hvx"],"provenance":"source"}],"summary":{"text":"A flaw in Spring Boot's handling of the ApplicationTemp directory lets a local attacker on the same host take control of that directory, which is predictable and not verified for ownership. An attacker with local access and low privileges can exploit this when server.servlet.session.persistent is set to true and the directory persists across restarts, reading session data to hijack authenticated users or deploying a gadget chain to execute code as the application's user, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:18Z"},"euvd":{"id":"EUVD-2026-25937","exploited":false,"provenance":"source"}}