---
id: CVE-2026-114665
title: >-
  Goploy 1.18.0 before 1.18.1 Symlink Following Arbitrary File Read via
  /deploy/fileDiff and /deploy/fileCompare
summary: >-
  Goploy 1.18.0 before 1.18.1 contains a link following vulnerability in the
  /deploy/fileDiff and /deploy/fileCompare endpoints that allows authenticated
  members to read arbitrary files. Attackers with repository write access can
  commit a …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-59
vendor: zhenorzz
product: goploy
affected:
  - goploy >= 1.18.0 < 1.18.1
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:57:39.553Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114665'
references:
  - url: >-
      https://github.com/zhenorzz/goploy/commit/97a49839cc27470f4e804d985fbd2bddac085a3a
    label: Patch Commit
  - url: 'https://github.com/zhenorzz/goploy/releases/tag/v1.18.1'
    label: goploy v1.18.1 Release Notes
  - url: >-
      https://github.com/zhenorzz/goploy/blob/v1.18.0/cmd/server/api/deploy/handler.go#L404-L418
  - url: 'https://github.com/zhenorzz/goploy/security/advisories/GHSA-4g5x-hcwm-82jw'
    label: GitHub Security Advisory (GHSA-4g5x-hcwm-82jw)
  - url: 'https://github.com/zhenorzz/goploy'
  - url: >-
      https://www.vulncheck.com/advisories/goploy-1.18.0-before-1.18.1-symlink-following-arbitrary-file-read-via-deploy-filediff-and-deploy-filecompare
    label: >-
      VulnCheck Advisory: Goploy 1.18.0 before 1.18.1 Symlink Following
      Arbitrary File Read via /deploy/fileDiff and /deploy/fileCompare
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.337Z'
---

## Overview

Goploy 1.18.0 before 1.18.1 contains a link following vulnerability in the /deploy/fileDiff and /deploy/fileCompare endpoints that allows authenticated members to read arbitrary files. Attackers with repository write access can commit a symlink pointing outside the project directory to read database configuration and deployment SSH private keys.

## Affected

- `goploy >= 1.18.0 < 1.18.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
