# GHSA-G65V-27R3-5P6M: guard-livereload has a directory traversal vulnerability

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-07-31
- Modified: 2026-07-31

## Affected versions

- guard-livereload (RubyGems): 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.

## References

- https://github.com/guard/guard-livereload/issues/159
- https://github.com/guard/guard-livereload/pull/158
- https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8
- https://github.com/guard/guard-livereload
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml
- https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361

Page: https://cve.now/GHSA-G65V-27R3-5P6M

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
