# CVE-2026-114665: Goploy 1.18.0 before 1.18.1 Symlink Following Arbitrary File Read via /deploy/fileDiff and /deploy/fileCompare

Source: https://aplosec.si/cve/CVE-2026-114665/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-114665

High 7.1 · Fix merged · Fixed in 1.18.1 · CWE-59 · Go

# Goploy 1.18.0 before 1.18.1 Symlink Following Arbitrary File Read via /deploy/fileDiff and /deploy/fileCompare

CVE-2026-114665 · published 2026-10-22

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-114665 affects goploy (Go) 1.18.0 before 1.18.1: Arbitrary file read via repository symlinks (CWE-59). Fixed in 1.18.1. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-10-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

The maintainer accepted the patch submitted with the report and merged the fix.

## Remediation

Upgrade goploy to 1.18.1 or later. Releases in the affected range (1.18.0 before 1.18.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-10-22 CVE published

- 2026-10-30 Public record last updated

## References

- [Referencehttps://github.com/zhenorzz/goploy/security/advisories/GHSA-4g5x-hcwm-82jw](https://github.com/zhenorzz/goploy/security/advisories/GHSA-4g5x-hcwm-82jw)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/goploy-1.18.0-before-1.18.1-symlink-following-arbitrary-file-read-via-deploy-filediff-and-deploy-filecompare](https://www.vulncheck.com/advisories/goploy-1.18.0-before-1.18.1-symlink-following-arbitrary-file-read-via-deploy-filediff-and-deploy-filecompare)

- [Fix commithttps://github.com/zhenorzz/goploy/commit/97a49839cc27470f4e804d985fbd2bddac085a3a](https://github.com/zhenorzz/goploy/commit/97a49839cc27470f4e804d985fbd2bddac085a3a)

- [Vulnerable codehttps://github.com/zhenorzz/goploy/blob/v1.18.0/cmd/server/api/deploy/handler.go#L404-L418](https://github.com/zhenorzz/goploy/blob/v1.18.0/cmd/server/api/deploy/handler.go#L404-L418)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-114665](https://www.cve.org/CVERecord?id=CVE-2026-114665)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-114665](https://nvd.nist.gov/vuln/detail/CVE-2026-114665)

**Severity:** High 7.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-114665)

**Package:** goploy

**Ecosystem:** Go

**Affected:** 1.18.0 before 1.18.1

**Fixed:** 1.18.1

**Weakness:** CWE-59

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
