CVE-2018-3760
Exploitation confirmed. First attested on 2023-10-14 by GCVE · kevintel, GCVE · shadowserver.
- Published2018-06-26
- Fixed in4.0.0.beta8 · 3.7.2 · 2.12.5
- WeaknessCWE-200 · CWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-06-2619:29CVE publishedNVD
- 2023-10-1414:56Listed as exploited by GCVEGCVE
- 2023-10-1414:56Exploitation first reportedGCVE
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-3760?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-3760?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | ≥ 4.0.0.beta1, < 4.0.0.beta8 | 4.0.0.beta8 | OSV |
| 3.x | ≥ 3.0.0, < 3.7.2 | 3.7.2 | OSV |
| 2.12 | < 2.12.5 | 2.12.5 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.0 | = 6.0 | no fix published | NVD |
| 6.7 | = 6.7 | no fix published | NVD |
| 7.0 | = 7.0 | no fix published | NVD |
| 7.3 | = 7.3 | no fix published | NVD |
| 7.4 | = 7.4 | no fix published | NVD |
| 7.5 | = 7.5 | no fix published | NVD |
| 7.6 | = 7.6 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.0.0, ≤ 2.12.4 | no fix published | NVD |
| 3.x | ≥ 3.0.0, ≤ 3.7.1 | no fix published | NVD |
| 4.0 | = 4.0.0 | no fix published | NVD |
2 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansible-tower-setupRed Hat:cloudforms_managementengine:5.8::el7all versions · fixed in 0:3.1.8-1.el7atand 1 other package
- cfmeRed Hat:cloudforms_managementengine:5.9::el7all versions · fixed in 0:5.9.4.7-1.el7cfand 8 other packages
- cfmeRed Hat:cloudforms_managementengine:5.8::el7all versions · fixed in 0:5.8.5.1-1.el7cfand 4 other packages
- crowbarSUSE:OpenStack Cloud Crowbar 8all versions · fixed in 5.0+git.1528696845.81a7b5d0-3.3.1
- crowbarSUSE:OpenStack Cloud 7all versions · fixed in 4.0+git.1528801103.f5708341-7.20.1
- crowbarSUSE:Enterprise Storage 4all versions · fixed in 4.0+git.1528801103.f5708341-7.20.1
- crowbar-coreSUSE:OpenStack Cloud Crowbar 8all versions · fixed in 5.0+git.1533887407.6e9b0412d-3.8.2
- crowbar-coreSUSE:OpenStack Cloud 7all versions · fixed in 4.0+git.1534246408.3ab19c567-9.33.1
34 more package ranges on OSV.dev
Vendor advisories
rubygem-sprockets: Path traversal in forbidden_request?() can allow remote attackers to read arbitrary files
ruby193-rubygem-sprockets.src as a component of Red Hat Ceph Storage 1.3 · ruby193-rubygem-sprockets.src as a component of Red Hat Subscription Asset Manager
Red Hat Security Advisory: CloudForms 4.5.5 security, bug fix and enhancement update
Red Hat Security Advisory: CloudForms 4.6.4 security, bug fix, and enhancement update
Red Hat Security Advisory: rh-ror42-rubygem-sprockets security update
Red Hat Security Advisory: rh-ror50-rubygem-sprockets security update
Fix
- Update sprockets to 4.0.0.beta8 · 3.7.2 · 2.12.5
- Vendor fix Red Hat Product Security RHSA-2018:2745 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2018:2561 · 19 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2018:2745 · 13 productsEnsure config.assets.compile = false in production.rb.
- No fix planned, says the vendor Red Hat Product Security CVE-2018-3760 · 2 productsWill not fix
Advisories and patches
- groups.google.comPatch
Detection
read 2026-11-02 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 4 repositories, unverifiedmpgn/CVE-2018-3760cyberharsh/Ruby-On-Rails-Path-Traversal-Vulnerability-CVE-2018-3760-wudidwo/CVE-2018-3760-pocCyberCTF/vulhub-rails-cve-2018-3760 PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- GCVEexploitation2023-10-14
- NVDCVSS 3.07.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- NVDweakness (CWE)CWE-200read 2026-10-23
- FIRST EPSSEPSS score26.3 %read 2026-11-02
- PoC-in-GitHubproof of concept4read 2026-11-02
- ProjectDiscoverydetectionread 2026-11-02
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2020-06-16
Identifiers
- EUVD-2018-0198same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-pr3h-jjhj-573xsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-1419-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4242-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2024:11906-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13169-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13170-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14075-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14177-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15127-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15128-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10364-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:10365-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2018:2244advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:2245advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:2561advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:2745advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:1994-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2176-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2217-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2603-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:2762-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2018-06-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-pr3h-jjhj-573x
Frequently asked questions
What is CVE-2018-3760?
Is CVE-2018-3760 actively exploited?
What is the CVSS score for CVE-2018-3760?
Running sprockets? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-pr3h-jjhj-573x
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0