---
id: CVE-2016-1000305
aliases:
  - GHSA-g65v-27r3-5p6m
title: guard-livereload has a directory traversal vulnerability
summary: guard-livereload has a directory traversal vulnerability
severity: medium
cwe:
  - CWE-22
vendor: guard-livereload
product: guard-livereload
ecosystem: rubygems
affected:
  - guard-livereload < 2.5.2
patched:
  - guard-livereload 2.5.2
published: '2026-07-31'
updated: '2026-07-31'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-g65v-27r3-5p6m'
references:
  - url: 'https://github.com/guard/guard-livereload/issues/159'
  - url: 'https://github.com/guard/guard-livereload/pull/158'
  - url: >-
      https://github.com/guard/guard-livereload/commit/0e98469e6b9d81a5bd415781534a23d087c271f8
  - url: >-
      https://github.com/rubysec/ruby-advisory-db/blob/master/gems/guard-livereload/CVE-2016-1000305.yml
  - url: 'https://security.snyk.io/vuln/SNYK-RUBY-GUARDLIVERELOAD-20361'
  - url: 'https://github.com/advisories/GHSA-g65v-27r3-5p6m'
tags:
  - ghsa
  - rubygems
ingestedAt: '2026-07-31T23:04:59.814Z'
---

## Overview

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.

## Affected packages

- `guard-livereload < 2.5.2`

## Remediation

Upgrade to a patched release:

- `guard-livereload 2.5.2`
