---
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
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-29T02:06:50.354194Z'
published: '2026-10-22'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T02:07:01.607Z'
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
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53553'
  - url: >-
      https://github.com/zhenorzz/goploy/commit/d51aa15ebc0a474d9d71d6c453a0fe798dd5e007
  - url: 'http://github.com/zhenorzz/goploy/releases/tag/v1.18.0'
tags:
  - cve.org
  - osv
  - go
epss: 0.00353
epssPercentile: 0.29018
aliases:
  - GHSA-4g5x-hcwm-82jw
  - CVE-2026-53553
  - GO-2026-5938
ecosystem: go
patched:
  - github.com/zhenorzz/goploy 1.18.0
scores:
  cna: 6.5
  osv: 7.7
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.

## Package advisory (CVE-2026-114665)

Affected packages:

- `github.com/zhenorzz/goploy < 1.18.0`

Patched in:

- `github.com/zhenorzz/goploy 1.18.0`

Source: https://osv.dev/vulnerability/GHSA-4g5x-hcwm-82jw
