<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T07:32:26.485367+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-292408</id>
    <title>EUVD-2026-292408</title>
    <updated>2026-10-07T07:32:26.537768+00:00</updated>
    <content>EUVD-2026-292408</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-292408"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-40876</id>
    <title>fkie_cve-2026-40876</title>
    <updated>2026-10-07T07:32:26.537809+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP root escape caused by prefix-based path validation. An authenticated SFTP user can read from and write to filesystem paths outside the configured SFTP root, which breaks the intended jail boundary and can expose or modify unrelated server files. The SFTP subsystem routes requests through sftpserver/sftpserver.go into DefaultHandler.GetHandler() in sftpserver/handler.go, which forwards file operations into readFile, writeFile, listFile, and cmdFile. All of those sinks rely on sanitizePath() in sftpserver/helper.go. helper.go uses a raw string-prefix comparison, not a directory-boundary check. Because of that, if the configured root is /tmp/goshsroot, then a sibling path such as /tmp/goshsroot_evil/secret.txt incorrectly passes validation since it starts with the same byte prefix. This vulnerability is fixed in 2.0.0-beta.6.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-40876"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-5h6h-7rc9-3824</id>
    <title>GHSA-5h6h-7rc9-3824 — SFTP root escape via prefix-based path validation in goshs</title>
    <updated>2026-10-07T07:32:26.537846+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/patrickhener/goshs, Go: github.com/patrickhener/goshs/v2</p>
<p>### Summary
goshs contains an SFTP root escape caused by prefix-based path validation. An authenticated SFTP user can read from and write to filesystem paths outside the configured SFTP root, which breaks the intended jail boundary and can expose or modify unrelated server files.</p>
<p>### Details
The SFTP subsystem routes requests through `sftpserver/sftpserver.go:99-126` into `DefaultHandler.GetHandler()` in `sftpserver/handler.go:90-112`, which forwards file operations into `readFile`, `writeFile`, `listFile`, and `cmdFile`. All of those sinks rely on `sanitizePath()` in `sftpserver/helper.go:47-59`. The vulnerable logic is:</p>
<p>```go
cleanPath = filepath.Clean("/" + clientPath)
if !strings.HasPrefix(cleanPath, sftpRoot) {
    return "", errors.New("access denied: outside of webroot")
}
```</p>
<p>This is a raw string-prefix comparison, not a directory-boundary check. Because of that, if the configured root is `/tmp/goshsroot`, then a sibling path such as `/tmp/goshsroot_evil/secret.txt` incorrectly passes validation since it starts with the same byte prefix.</p>
<p>That unsafe value then reaches filesystem sinks including:</p>
<p>- `os.Open` in `sftpserver/helper.go:80-94`
- `os.Create` in `sftpserver/helper.go:139-152`
- `os.Rename` in `sftpserver/helper.go:214-221`
- `os.RemoveAll` in `sftpserver/helper.go:231-232`
- `os.Mkdir` in `sftpserver/helper.go:242-243`</p>
<p>This means an authenticated SFTP user can escape the configured jail and read, create, upload, rename, or delete content outside the i…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-5h6h-7rc9-3824"/>
  </entry>
</feed>
