Vulnerabilities in pkg:gem/guard-livereload
PACKAGECVE-2016-1000305 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Guard livereload libraries in the RubyGems ecosystem. The issue involves guard-livereload has a directory traversal vulnerability. Remediation is available by upgrading affected packages to version 2.5.2.
pkg:gem/guard-livereload
Vulnerability advisories affecting package pkg:gem/guard-livereload. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g65v-27r3-5p6m | CVE-2016-1000305 | MODERATE | guard-livereload has a directory traversal vulnerability |
CVE-2016-1000305 at a Glance
How to Fix CVE-2016-1000305
To remediate this vulnerability, upgrade all affected Guard livereload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade guard-livereload to 2.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for guard-livereload
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-1000305, inspect your project dependencies for Guard livereload:
inspect dependencies for guard-livereload
Analyze the terminal output to locate any version of Guard livereload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Guard livereload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-1000305 Affected Guard livereload Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
guard-livereload
|
RubyGems |
< 2.5.2
|
2.5.2
|
References
Frequently Asked Questions
What is CVE-2016-1000305?
Which Guard livereload versions are affected?
What version fixes CVE-2016-1000305?
Is guard-livereload affected?
What CWE is associated with CVE-2016-1000305?
How can I check RubyGems dependencies for CVE-2016-1000305?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g65v-27r3-5p6m",
"modified" : "2026-07-31T22:33:01Z",
"published" : "2026-07-31T22:33:01Z",
"aliases" : [ "CVE-2016-1000305" ],
"summary" : "guard-livereload has a directory traversal vulnerability",
"details" : "The vulnerability allows remote attackers to read arbitrary files\non the server by exploiting improper path validation in the\nlivereload server functionality.\n\nThis vulnerability is related to the handling of file paths in the\nlivereload server component, which could allow an attacker to traverse\ndirectories and access files outside the intended web root directory.\n\nThe issue was identified and reported through the DWF (Distributed\nWeakness Filing) project, which assigns CVE identifiers for\nsecurity vulnerabilities.\n\nA directory traversal vulnerability exists in\nguard-livereload before version 2.5.2.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "guard-livereload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/guard/guard-livereload/issues/159"
}, {
"type" : "WEB",
"url" : "https://github.com/guard/guard-livereload/pull/158"
}, {
"type" : "WEB",
"url" : "https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/guard/guard-livereload"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-31T22:33:01Z",
"nvd_published_at" : null
}
}