Home / Spring by Pivotal / Spring Framework / CVE-2018-1271
CVE-2018-1271: is it exploited, and which versions of Spring by Pivotal Spring Framework are affected and fixed?
CVE-2018-1271 is a path traversal (reading or writing files outside the intended folder) vulnerability in Spring by Pivotal Spring Framework. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: org.springframework:spring-core from 5.0.0 before 5.0.5 and org.springframework:spring-core before 4.3.15 (GitHub advisory GHSA-g8hw-794c-4j9g). Fixed in 5.0.5 and 4.3.15 (GitHub advisory GHSA-g8hw-794c-4j9g). Severity: Medium (5.9, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:33 UTC.
What is CVE-2018-1271?
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.
From the CVE record by dell, last updated September 16, 2024, 23:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring by Pivotal | Spring Framework | Versions prior to 5.0.5 and 4.3.15 |
As the CVE record by dell states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework:spring-core | >= 5.0.0, < 5.0.5 | 5.0.5 | GHSA-g8hw-794c-4j9g |
| Maven | org.springframework:spring-core | < 4.3.15 | 4.3.15 | GHSA-g8hw-794c-4j9g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 7, 2024. Summary: Path Traversal in org.springframework:spring-core.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring framework | from 4.3.0 before 4.3.15 | application |
| vmware | spring framework | from 5.0.0 before 5.0.5 | application |
| oracle | application testing suite | 12.5.0.3 | application |
| oracle | application testing suite | 13.1.0.1 | application |
| oracle | application testing suite | 13.2.0.1 | application |
| oracle | application testing suite | 13.3.0.1 | application |
| oracle | big data discovery | 1.6.0 | application |
| oracle | communications converged application server | before 7.0.0.1 | application |
| oracle | communications diameter signaling router | before 8.3 | application |
| oracle | communications performance intelligence center | before 10.2.1 | application |
| oracle | communications policy management | 12.5.0 | application |
| oracle | communications services gatekeeper | before 6.1.0.4.0 | application |
| oracle | enterprise manager ops center | 12.2.2 | application |
| oracle | enterprise manager ops center | 12.3.3 | application |
| oracle | goldengate for big data | 12.2.0.1 | application |
| oracle | goldengate for big data | 12.3.1.1 | application |
| oracle | goldengate for big data | 12.3.2.1 | application |
| oracle | health sciences information manager | 3.0 | application |
| oracle | healthcare master person index | 3.0 | application |
| oracle | healthcare master person index | 4.0 | application |
| oracle | insurance calculation engine | from 11.0.0 through 11.3.1 | application |
| oracle | insurance calculation engine | 10.1.1 | application |
| oracle | insurance calculation engine | 10.2 | application |
| oracle | insurance calculation engine | 10.2.1 | application |
| oracle | insurance rules palette | 10.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:50 UTC.
How severe is CVE-2018-1271?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-1271 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 30.3% probability of exploitation activity in the next 30 days, percentile 98.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- 103699 vdb-entry, x_refsource_BID
- RHSA-2018:2669 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2939 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:1320 vendor-advisory, x_refsource_REDHAT
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html x_refsource_CONFIRM
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
- https://pivotal.io/security/cve-2018-1271 x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 6, 2017
- Published
- April 6, 2018, 13:00 UTC
- CVE record updated
- September 16, 2024, 23:16 UTC by dell
- NVD
- Modified, last modified June 17, 2026, 01:50 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:33 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Framework?
- Apr 11, 2018CVE-2018-1273 Spring by Pivotal Spring Framework: code injection (remote code execution) exploited
- Apr 18, 2018CVE-2018-1274 Spring by Pivotal Spring Framework: denial of service (resources allocated without limits)
- Apr 11, 2018CVE-2018-1275 Spring by Pivotal Spring Framework: code injection (remote code execution)
- Apr 6, 2018CVE-2018-1272 Spring by Pivotal Spring Framework: CAPEC-233 - Privilege Escalation
- Apr 6, 2018CVE-2018-1270 Spring by Pivotal Spring Framework: code injection (remote code execution)
Questions about CVE-2018-1271
Is CVE-2018-1271 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 30.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring by Pivotal Spring Framework are affected by CVE-2018-1271?
org.springframework:spring-core from 5.0.0 before 5.0.5 and org.springframework:spring-core before 4.3.15, per the GitHub advisory GHSA-g8hw-794c-4j9g. The tables above give every range the sources list.
Which version fixes CVE-2018-1271?
5.0.5 and 4.3.15, per the GitHub advisory GHSA-g8hw-794c-4j9g. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-1271?
Medium (5.9, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-1271?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.