Remote code executionin Spring by Pivotal Spring Framework.
Proof of concept public (GitHub).
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.
- Upgrade org.springframework:spring-messaging (Maven) to 4.3.16.RELEASE, 5.0.5.RELEASE 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.
- 7 Apr 2018First public proof of concept on GitHub.
- 8 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
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: Code injection
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securityfocus.com vdb-entry, x_refsource_BID
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- 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
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.debian.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
Patchminder. CVE-2018-1270: Remote code execution in Spring by Pivotal Spring Framework. https://patchminder.com/cve/cve-2018-1270/ (accessed 5 December 2026).