Go/github.com/patrickhener/goshs/v2 CVE-2026-40876: high 8.8, EPSS 0.59%
SFTP root escape via prefix-based path validation in goshs
Action: Upgrade github.com/patrickhener/goshs/v2 to 2.0.0 or later.
go get github.com/patrickhener/goshs/v2@v2.0.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.0.0 | - |
Fixed versions
| 2.0.0 |
Sources
- osv: GHSA-5h6h-7rc9-3824#Go/github.com/patrickhener/goshs/v2
- https://github.com/patrickhener/goshs/security/advisories/GHSA-5h6h-7rc9-3824
- https://nvd.nist.gov/vuln/detail/CVE-2026-40876
- https://github.com/patrickhener/goshs
- https://github.com/patrickhener/goshs/releases/tag/v2.0.0
CVE-2026-40876 · published · modified · JSON