Path traversalin Spring by Pivotal Spring Framework.
Weaponized: a Nuclei exploit is public.
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
- Upgrade org.springframework:spring-core (Maven) to 4.3.15, 5.0.5 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Dec 2017CVE ID reserved by dell.
- 6 Apr 2018Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Spring Framework vulnerabilities
Same weakness: Path traversal
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.oracle.com x_refsource_CONFIRM
- www.oracle.com x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
- pivotal.io x_refsource_CONFIRM
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2018-1271: Path traversal in Spring by Pivotal Spring Framework. https://patchminder.com/cve/cve-2018-1271/ (accessed 5 December 2026).