CVE-2018-3760
Sprockets path traversal leads to information leak
Also known as GHSA-pr3h-jjhj-573x
Mitigation
- Upgrade sprockets to one of 3.7.2, 4.0.0.beta8, 2.12.5 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package sprockets (>= 3.0.0, < 3.7.2)
- Anyone running HackerOne Sprockets 4.0.0.beta8, 3.7.2, 2.12.5
Vulnerability facts
- Affected
- sprockets >= 3.0.0, < 3.7.2
- Fixed in
- 3.7.2, 4.0.0.beta8, 2.12.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen 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: None
- Availability impact: None
- EPSS
- 26.35% chance of exploitation in 30 days (percentile 98, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
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.
Affected and fixed versions
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-3760. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-3760.md Affected: sprockets >= 3.0.0, < 3.7.2 Fixed in: 3.7.2, 4.0.0.beta8, 2.12.5 Steps: 1. Search this machine and project for sprockets (RubyGems), HackerOne Sprockets: 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
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- https://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441
- https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5f
FAQ
Is CVE-2018-3760 being exploited?
There is no confirmed exploitation: CVE-2018-3760 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 26.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-3760?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2018-3760?
sprockets >= 3.0.0, < 3.7.2.
Is there a fix for CVE-2018-3760?
Yes. Fixed in 3.7.2, 4.0.0.beta8, 2.12.5. Upgrade sprockets to one of 3.7.2, 4.0.0.beta8, 2.12.5 (or later in the same release line).
How do I check if I'm affected by CVE-2018-3760?
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.