Lucene search
+L

CVE-2026-40876

🗓️ 21 Apr 2026 19:34:19Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov👁 38 Views🌐 WEB

Authenticated SFTP users can escape jail due to prefix path validation in goshs prior to 2.0.0-beta.6.

Related
Detection
Affected
Refs
Paths
NVD
Vulners
Node
OR
goshsgoshsRange<2.0.0go
goshsgoshsMatch2.0.0beta1go
goshsgoshsMatch2.0.0beta2go
goshsgoshsMatch2.0.0beta3go
goshsgoshsMatch2.0.0beta4go
goshsgoshsMatch2.0.0beta5go
[
  {
    "vendor": "patrickhener",
    "product": "goshs",
    "versions": [
      {
        "version": "< 2.0.0-beta.6",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
pathpath/tmp/goshsroot_evil/secret.txtSFTP root escape due to prefix-based path validation allowing access to paths outside the configured SFTP root (e.g., /tmp/goshsroot_evil/secret.txt).CWE-22

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 10:45Current
8High risk
Vulners AI Score8
CVSS 3.18.8
CVSS 48.7
EPSS0.00592
SSVC
38