patchminder
Weaponized · Nuclei CVE-2018-3760

Path traversalin the sprockets package.

Published 26 Jun 2018 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 26.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.12.5, 3.7.2, 4.0.0.beta8
In plain words

There is an information leak vulnerability in Sprockets. Versions Affected: 4.0.0.beta7 and lower, 3.7.1 and lower, 2.12.4 and lower. Specially crafted requests can be used to access files that exists on the filesystem that is outside an application's root directory, when the Sprockets server is used in production. All users running an affected release should either upgrade or use one of the work arounds immediately.

What to do now
  • Upgrade sprockets (RubyGems) to 2.12.5, 3.7.2, 4.0.0.beta8 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Sprockets
Not confirmed
Not confirmed
CVE record
sprockets (RubyGems)
3.0.0 to before 3.7.2
3.7.2
GitHub advisory
sprockets (RubyGems)
4.0.0.beta1 to before 4.0.0.beta8
4.0.0.beta8
GitHub advisory
sprockets (RubyGems)
before 2.12.5
2.12.5
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. 28 Dec 2017
    CVE ID reserved by hackerone.
  2. 26 Jun 2018
    Published in the CVE List.
  3. 21 Oct 2019
    First public proof of concept on GitHub.
  4. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei).

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
4 repositories
GitHubno warning signs foundmpgn/CVE-2018-37608 stars · created 21 Oct 2019Rails Asset Pipeline Directory Traversal Vulnerability
GitHubno warning signs foundcyberharsh/Ruby-On-Rails-Path-Traversal-Vulnerability-CVE-2018-3760-3 stars · created 24 Jun 2020
GitHubno warning signs foundwudidwo/CVE-2018-3760-poc0 stars · created 19 Nov 2024
GitHubno warning signs foundCyberCTF/vulhub-rails-cve-2018-37600 stars · created 8 Oct 2026Vulhub rails/CVE-2018-3760: Ruby on Rails Sprockets Path Traversal (CVE-2018-3760), run with Isoloom

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 vulnerabilities in this package

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-3760: Path traversal in the sprockets package. https://patchminder.com/cve/cve-2018-3760/ (accessed 5 December 2026).