Goploy: Arbitrary File Read via Path Traversal in /deploy/fileDiff allows Remote Server Compromise
# Goploy System Arbitrary File Read Vulnerability ## Basic Information - **Vulnerability Name**: Goploy Endpoints Arbitrary File Read via Path Traversal - **Affected Product**: Goploy - **Known Affected Versions**: <=1.17.5 ## Vulnerability Description Goploy is an open-source automation deployment system. A severe path traversal vulnerability exists in its backend API endpoints, specifically `/deploy/fileDiff` (File Compare), when handling file paths provided by the client. The original logic of this endpoint is to read a local project file and compare it with a file on a remote target server. However, due to insufficient validation and sanitization of the `filePath` parameter, and the lack of security constraints on the final absolute file path, malicious paths containing `../` are directly executed within the system. This leads to a **dual arbitrary file read** issue: 1. **Local Host File Read**: `os.ReadFile` is tricked by the directory traversal payload to read any file via its absolute path on the Goploy local host (returned in the `srcText` field of the response body). 2. **Remote Controlled Server File Read**: Subsequently, the same payload is utilized via the SFTP protocol on the target server pointed to by the `serverID`. Influenced similarly by the directory traversal, it reads any file on the configured remote server (returned in the `distText` field of the response body). **The threshold for exploiting this vulnerability is extremely low, and the conditions are v
- Products
- github.com/zhenorzz/goploy
- Affected versions
- Not specified
- Fixed versions
- 1.18.0
- CVEs
- CVE-2026-114665, CVE-2026-53553
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 18:44 UTC · Revision 1
Source evidence
Goploy: Arbitrary File Read via Path Traversal in /deploy/fileDiff allows Remote Server Compromise
core-osv · Original sourcePublished 7 Jul 2026, 23:42 UTC
# Goploy System Arbitrary File Read Vulnerability ## Basic Information - **Vulnerability Name**: Goploy Endpoints Arbitrary File Read via Path Traversal - **Affected Product**: Goploy - **Known Affected Versions**: <=1.17.5 ## Vulnerability Description Goploy is an open-source automation deployment system. A severe path traversal vulnerability exists in its backend API endpoints, specifically `/deploy/fileDiff` (File Compare), when handling file paths provided by the client. The original logic of this endpoint is to read a local project file and compare it with a file on a remote target server. However, due to insufficient validation and sanitization of the `filePath` parameter, and the lack of security constraints on the final absolute file path, malicious paths containing `../` are directly executed within the system. This leads to a **dual arbitrary file read** issue: 1. **Local Host File Read**: `os.ReadFile` is tricked by the directory traversal payload to read any file via its absolute path on the Goploy local host (returned in the `srcText` field of the response body). 2. **Remote Controlled Server File Read**: Subsequently, the same payload is utilized via the SFTP protocol on the target server pointed to by the `serverID`. Influenced similarly by the directory traversal, it reads any file on the configured remote server (returned in the `distText` field of the response body). **The threshold for exploiting this vulnerability is extremely low, and the conditions are v
osv:GHSA-4g5x-hcwm-82jw
github.com/zhenorzz/goploy
Fixed versions: 1.18.0
Complete source record
{
"id": "000c099c462ef773c09d51b174e501544dcc98b8eca102a036ab5514fba8e122",
"url": "https://osv.dev/vulnerability/GHSA-4g5x-hcwm-82jw",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Goploy: Arbitrary File Read via Path Traversal in /deploy/fileDiff allows Remote Server Compromise",
"summary": "# Goploy System Arbitrary File Read Vulnerability ## Basic Information - **Vulnerability Name**: Goploy Endpoints Arbitrary File Read via Path Traversal - **Affected Product**: Goploy - **Known Affected Versions**: <=1.17.5 ## Vulnerability Description Goploy is an open-source automation deployment system. A severe path traversal vulnerability exists in its backend API endpoints, specifically `/deploy/fileDiff` (File Compare), when handling file paths provided by the client. The original logic of this endpoint is to read a local project file and compare it with a file on a remote target server. However, due to insufficient validation and sanitization of the `filePath` parameter, and the lack of security constraints on the final absolute file path, malicious paths containing `../` are directly executed within the system. This leads to a **dual arbitrary file read** issue: 1. **Local Host File Read**: `os.ReadFile` is tricked by the directory traversal payload to read any file via its absolute path on the Goploy local host (returned in the `srcText` field of the response body). 2. **Remote Controlled Server File Read**: Subsequently, the same payload is utilized via the SFTP protocol on the target server pointed to by the `serverID`. Influenced similarly by the directory traversal, it reads any file on the configured remote server (returned in the `distText` field of the response body). **The threshold for exploiting this vulnerability is extremely low, and the conditions are v",
"evidence": "osv:GHSA-4g5x-hcwm-82jw",
"products": [
{
"name": {
"value": "github.com/zhenorzz/goploy",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.18.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "GHSA-4g5x-hcwm-82jw",
"aliases": [
"CVE-2026-114665",
"CVE-2026-53553",
"GHSA-4g5x-hcwm-82jw",
"GO-2026-5938"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.0"
}
]
}
],
"package": {
"name": "github.com/zhenorzz/goploy",
"purl": "pkg:golang/github.com/zhenorzz/goploy",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-4g5x-hcwm-82jw/GHSA-4g5x-hcwm-82jw.json",
"last_known_affected_version_range": "<= 1.17.5"
}
}
],
"modified": "2026-10-27T15:30:05.414355130Z",
"provider": "osv",
"references": [
"https://github.com/zhenorzz/goploy/security/advisories/GHSA-4g5x-hcwm-82jw",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53553",
"https://github.com/zhenorzz/goploy/commit/d51aa15ebc0a474d9d71d6c453a0fe798dd5e007",
"https://github.com/zhenorzz/goploy"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200",
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-08-31T19:16:51Z",
"github_reviewed_at": "2026-07-07T23:42:24Z"
}
},
"related_cves": [
{
"value": "CVE-2026-114665",
"evidence": "/aliases"
},
{
"value": "CVE-2026-53553",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 462836,
"published_at": "2026-07-07T23:42:24+00:00"
}