CVE-2018-1270
Spring Framework allows applications to expose STOMP over WebSocket endpoints
Also known as GHSA-p5hg-3xm3-gcjg
Mitigation
- Upgrade org.springframework:spring-messaging to one of 5.0.5.RELEASE, 4.3.16.RELEASE (or later in the same release line).
Who should check
- Projects that depend on Maven package org.springframework:spring-messaging (>= 5.0.0.RELEASE, < 5.0.5.RELEASE)
- Anyone running Spring by Pivotal Spring Framework Versions prior to 5.0.5 and 4.3.15
Vulnerability facts
- Affected
- org.springframework:spring-messaging >= 5.0.0.RELEASE, < 5.0.5.RELEASE
- Fixed in
- 5.0.5.RELEASE, 4.3.16.RELEASE
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 77.63% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.springframework:spring-messaging | >= 5.0.0.RELEASE, < 5.0.5.RELEASE | 5.0.5.RELEASE, 4.3.16.RELEASE | osv |
| Spring by Pivotal Spring Framework | Versions prior to 5.0.5 and 4.3.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-1270. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-1270.md Affected: org.springframework:spring-messaging >= 5.0.0.RELEASE, < 5.0.5.RELEASE Fixed in: 5.0.5.RELEASE, 4.3.16.RELEASE Steps: 1. Search this machine and project for org.springframework:spring-messaging (Maven), Spring by Pivotal Spring Framework: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://github.com/spring-projects/spring-framework/commit/0009806debb578e884f6dc98bd1f2dc668020021
- https://github.com/spring-projects/spring-framework/commit/e0de9126ed8cf25cf141d3e66420da94e350708a
Exploits and PoCs
Other
- http://www.securityfocus.com/bid/103696
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe%40%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/ab825fcade0b49becfa30235b3d54f4a51bb74ea96b6c9adb5d1378c%40%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html
- https://web.archive.org/web/20200227125035/https://www.securityfocus.com/bid/103696
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/ab825fcade0b49becfa30235b3d54f4a51bb74ea96b6c9adb5d1378c@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe@%3Cissues.activemq.apache.org%3E
- https://github.com/spring-projects/spring-framework
FAQ
Is CVE-2018-1270 being exploited?
There is no confirmed exploitation: CVE-2018-1270 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 77.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-1270?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-1270?
org.springframework:spring-messaging >= 5.0.0.RELEASE, < 5.0.5.RELEASE.
Is there a fix for CVE-2018-1270?
Yes. Fixed in 5.0.5.RELEASE, 4.3.16.RELEASE. Upgrade org.springframework:spring-messaging to one of 5.0.5.RELEASE, 4.3.16.RELEASE (or later in the same release line).
How do I check if I'm affected by CVE-2018-1270?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.