patchminder
Proof of concept · GitHub CVE-2018-1270

Remote code executionin Spring by Pivotal Spring Framework.

Published 6 Apr 2018 · Updated 8 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 77.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 4.3.16.RELEASE, 5.0.5.RELEASE
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 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.

What to do now
  • Upgrade org.springframework:spring-messaging (Maven) to 4.3.16.RELEASE, 5.0.5.RELEASE 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-messaging (Maven)
5.0.0.RELEASE to before 5.0.5.RELEASE
5.0.5.RELEASE
GitHub advisory
org.springframework:spring-messaging (Maven)
before 4.3.16.RELEASE
4.3.16.RELEASE
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. 7 Apr 2018
    First public proof of concept on GitHub.
  4. 8 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
4 repositories
GitHubno warning signs foundCaledoniaProject/CVE-2018-1270113 stars · created 7 Apr 2018Spring messaging STOMP protocol RCE
GitHubno warning signs foundTom4t0/CVE-2018-1270_EXP0 stars · created 17 Apr 2018
GitHubno warning signs foundtafamace/CVE-2018-12700 stars · created 19 Nov 2018
GitHubno warning signs foundVenscor/CVE-2018-12700 stars · created 17 Dec 2018CVE-2018-1270 表达式RCE环境
Referencewww.exploit-db.comnamed as exploit in the CVE record

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: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-1270: Remote code execution in Spring by Pivotal Spring Framework. https://patchminder.com/cve/cve-2018-1270/ (accessed 5 December 2026).