CVE-2018-1270 Spring Framework
| Affected software | Spring Framework |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 5.0.5.RELEASE, 4.3.16.RELEASE |
| Weakness | Code injection (CWE-94) |
| Published | 6 Apr 2018 |
| Updated | 13 Nov 2026 |
Description
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 expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a remote code execution attack.
CWE-358
Exploitation status
Proof of concept only
A proof of concept exists, but no reviewed exploit catalogue lists this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC; first seen 2018-04-07.
- EPSS 78% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.6% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | Spring messaging STOMP protocol RCE | 113 | 2018-04-07 |
| GitHub PoC | CVE-2018-1270 表达式RCE环境 | 2018-12-17 |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Process
- Action available security rule
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher found this CVE protected by the ARMR Process PROTECT rule. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: ARMR Process PROTECT rule
Rule example
app("Process forking mod"):
requires(version: ARMR/2.8)
process("Protect executable in a specific directory"):
execute("/tmp/*")
protect(message: "denying attempt to execute processes inside specific directory", severity: 10)
endprocess
endapp
How to mitigate CVE-2018-1270
Upgrade Spring Framework to a release that fixes it: 5.0.5.RELEASE or 4.3.16.RELEASE. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework:spring-messaging |
5.0.0.RELEASE | 5.0.5.RELEASE |
unbounded |
org.springframework:spring-messaging |
0 | 4.3.16.RELEASE |
unbounded |
Products and versions
29 products, 72 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | debian | debian linux | generic | 9.0 |
| nvd | oracle | application testing suite | generic | 12.5.0.3 · 13.1.0.1 · 13.2.0.1 · 13.3.0.1 |
| nvd | oracle | big data discovery | generic | 1.6.0 |
| nvd | oracle | communications converged application server | generic | < 7.0.0.1 |
| nvd | oracle | communications diameter signaling router | generic | < 8.3 |
| nvd | oracle | communications performance intelligence center | generic | < 10.2.1 |
| nvd | oracle | communications services gatekeeper | generic | < 6.1.0.4.0 |
| nvd | oracle | enterprise manager ops center | generic | 12.2.2 · 12.3.3 |
| nvd | oracle | goldengate for big data | generic | 12.2.0.1 · 12.3.1.1 · 12.3.2.1 |
| nvd | oracle | health sciences information manager | generic | 3.0 |
| nvd | oracle | healthcare master person index | generic | 3.0 · 4.0 |
| nvd | oracle | insurance calculation engine | generic | 10.1.1 · 10.2 · 10.2.1 |
| nvd | oracle | insurance rules palette | generic | 10.0 · 10.1 · 10.2 · 11.0 · 11.1 |
| nvd | oracle | primavera gateway | generic | 15.2 · 16.2 · 17.12 |
| nvd | oracle | retail back office | generic | 14.0 · 14.1 |
| nvd | oracle | retail central office | generic | 14.0 · 14.1 |
| nvd | oracle | retail customer insights | generic | 15.0 · 16.0 |
| nvd | oracle | retail integration bus | generic | 14.0.1 · 14.0.2 · 14.0.3 · 14.0.4 · 14.1.1 · 14.1.2 · 14.1.3 · 15.0.0.1 · 15.0.1 · 15.0.2 · 16.0 · 16.0.1 · 16.0.2 |
| nvd | oracle | retail open commerce platform | generic | 5.3.0 · 6.0.0 · 6.0.1 |
| nvd | oracle | retail order broker | generic | 5.1 · 5.2 · 15.0 · 16.0 |
| nvd | oracle | retail point-of-sale | generic | 14.0 · 14.1 |
| nvd | oracle | retail predictive application server | generic | 14.0 · 14.1 · 15.0 · 16.0 |
| nvd | oracle | retail returns management | generic | 14.0 · 14.1 |
| nvd | oracle | retail xstore point of service | generic | 7.1 |
| nvd | oracle | service architecture leveraging tuxedo | generic | 12.1.3.0.0 · 12.2.2.0.0 |
| nvd | oracle | tape library acsls | generic | 8.4 |
| osv | org.springframework | spring-messaging | generic | < 4.3.16 · ≥ 5.0.0 and < 5.0.5 |
| nvd | redhat | fuse | generic | 1.0.0 |
| nvd | vmware | spring framework | generic | < 4.3.16 · ≥ 5.0.0 and < 5.0.5 |
References
Timeline
Timeline
| Published | 2018-04-06 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-08 | NVD's own last-modified date for this record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |
| Last VRT activity | 2026-11-13 | Most recent commit touching this CVE's classification, patch or rule file. |