GitHub Advisoryadvisory · RubyGems
GHSA-g65v-27r3-5p6m guard-livereload has a directory traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2016-1000305
- Ecosystem
- RubyGems
- Packages
- guard-livereload
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-22
- Reviewed
- 2026-07-31
Affected packages
• RubyGems guard-livereload: < 2.5.2 → fixed in 2.5.2
Description
The vulnerability allows remote attackers to read arbitrary files
on the server by exploiting improper path validation in the
livereload server functionality.
This vulnerability is related to the handling of file paths in the
livereload server component, which could allow an attacker to traverse
directories and access files outside the intended web root directory.
The issue was identified and reported through the DWF (Distributed
Weakness Filing) project, which assigns CVE identifiers for
security vulnerabilities.
A directory traversal vulnerability exists in
guard-livereload before version 2.5.2.
Related
Alias · not in database (1)
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/guard/guard-livereload/issues/159 web
- https://github.com/guard/guard-livereload/pull/158 web
- https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8 web
- https://github.com/guard/guard-livereload package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml web
- https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361 web