patchminder
Weaponized · Nuclei CVE-2018-1271

Path traversalin Spring by Pivotal Spring Framework.

Published 6 Apr 2018 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Medium 5.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 30.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.3.15, 5.0.5
In plain words

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.

What to do now
  • Upgrade org.springframework:spring-core (Maven) to 4.3.15, 5.0.5 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring Framework
Not confirmed
Not confirmed
CVE record
org.springframework:spring-core (Maven)
5.0.0 to before 5.0.5
5.0.5
GitHub advisory
org.springframework:spring-core (Maven)
before 4.3.15
4.3.15
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Dec 2017
    CVE ID reserved by dell.
  2. 6 Apr 2018
    Published in the CVE List.
  3. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei).

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other Spring Framework vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1271: Path traversal in Spring by Pivotal Spring Framework. https://patchminder.com/cve/cve-2018-1271/ (accessed 5 December 2026).