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.
CVE-2018-3760
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 26.7%, top 2% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- —
- EPSS
- 97.8%
- KEV
- Not listed
Published
June 26, 2018
Last Modified
November 21, 2024
References (14)
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:2244
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:2245
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:2561
- support@hackeronehttps://access.redhat.com/errata/RHSA-2018:2745
- support@hackeronehttps://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- support@hackeronehttps://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- support@hackeronehttps://www.debian.org/security/2018/dsa-4242
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2244
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2245
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2561
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2018:2745
- af854a3a-2127-422b-91ae-364da2661108https://github.com/rails/sprockets/commit/c09131cf5b2c479263939c8582e22b98ed616c5fhttps://github.com/rails/sprockets/commit/9c34fa05900b968d74f08ccf40917848a7be9441https://github.com/rails/sprockets/commit/18b8a7f07a50c245e9aee7854ecdbe606bbd8bb5
- af854a3a-2127-422b-91ae-364da2661108https://groups.google.com/d/msg/rubyonrails-security/ft_J--l55fM/7roDfQ50BwAJ
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2018/dsa-4242
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-postgresql95-postgresql-pglogical-0:1.2.1-2.el7cf | 2018-09-26 | redhat |
| redhat | rh-ruby23-rubygem-redhat_access_cfme-0:2.0.3-1.el7cf | 2018-09-04 | redhat |
| redhat | rh-ror42-rubygem-sprockets-0:3.2.0-5.el7 | 2018-07-24 | redhat |
| redhat | rh-ror50-rubygem-sprockets-0:3.7.1-2.el7 | 2018-07-24 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| sprockets | 0.9.0 ... 2.9.4 (58 versions) | 2.12.5 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(4)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 11× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 22:16 UTCEG score recompute▼ 1.50
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 10:18 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
Show 41 moreShow fewer
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-04 05:56 UTCOSV refresh
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-15 17:43 UTCOSV refresh
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 06:15 UTCEG score recompute
- 2026-05-28 06:15 UTCVendor advisory
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 13:51 UTCOSV refresh
Publicly available exploits
(3 references)Working exploit code is in the public domain (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Open source ↗GitHub PoCcyberharsh/Ruby-On-Rails-Path-Traversal-Vulnerability-CVE-2018-3760-First seen Jun 24, 2020
- GitHub PoCmpgn/CVE-2018-3760First seen Oct 21, 2019
Rails Asset Pipeline Directory Traversal Vulnerability
Open source ↗ - Nucleihttp/cves/2018/CVE-2018-3760.yamlFirst seen Jan 1, 2018
Ruby On Rails - Local File Inclusion
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0414NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2001-0550NVD 0.0EG 7.3EPSS 99%NONE
- CVE-2001-0731NVD 0.0EG 4.4EPSS 99%NONE
- CVE-2001-0554NVD 0.0EG 1.3EPSS 98%NONE
- CVE-2001-0010NVD 0.0EG 0.3EPSS 98%NONE
- CVE-2001-1174EG 0.0EPSS 90%NONE
- CVE-2001-1175EG 0.0NONE
- CVE-2001-0887EG 0.0NONE
- CVE-2001-0869EG 0.0NONE
- CVE-2001-0872EG 0.0NONE
Same CWE
10 shownCWE-200 · CWE-22
- CVE-1999-0511EG 9.1EPSS 93%CRITICAL
- CVE-1999-0468EG 8.2HIGH
- CVE-2000-0649NVD 0.0EG 7.6EPSS 99%NONE
- CVE-1999-0236EG 7.5EPSS 98%HIGH
- CVE-2001-0925NVD 0.0EG 7.4EPSS 99%NONE
- CVE-1999-0632EG 7.3HIGH
- CVE-1999-0059EG 7.3HIGH
- CVE-2003-0001NVD 0.0EG 6.6EPSS 99%NONE
- CVE-1999-0517EG 5.9EPSS 98%MEDIUM
- CVE-1999-0524EG 4.1EPSS 98%MEDIUM
Frequently asked(5)
What is CVE-2018-3760?
When was CVE-2018-3760 disclosed?
Is CVE-2018-3760 actively exploited?
What is the CVSS score of CVE-2018-3760?
How do I remediate CVE-2018-3760?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-3760
Is Your Infrastructure Affected by CVE-2018-3760?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.