Goploy
Goploy 1.18.0 before 1.18.1 Symlink Following Arbitrary File Read via /deploy/fileDiff and /deploy/fileCompare
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
zhenorzz goploy
- >= 1.18.0, < 1.18.1
Fixed in 1.18.1
Mitigation
Upgrade goploy to 1.18.1 or later.
References
- Patch github.com/zhenorzz/goploy/commit/97a49839cc27…
- Release notes github.com/zhenorzz/goploy/releases/tag/v1.18.…
- Vendor advisory github.com/zhenorzz/goploy/security/advisories…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.