<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Oct 2026 08:46:48 +0000</lastBuildDate>
    <item>
      <title>EUVD-2026-290863</title>
      <link>https://cve.radiocsirt.org/vuln/euvd-2026-290863</link>
      <description>EUVD-2026-290863</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/euvd-2026-290863</guid>
    </item>
    <item>
      <title>fkie_cve-2026-40188</title>
      <link>https://cve.radiocsirt.org/vuln/fkie_cve-2026-40188</link>
      <description>&lt;p&gt;goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/fkie_cve-2026-40188</guid>
    </item>
    <item>
      <title>GHSA-2943-crp8-38xx — goshs is Missing Write Protection for Parametric Data Values</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-2943-crp8-38xx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/patrickhener/goshs&lt;/p&gt;
&lt;p&gt;### Summary
The SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Here is the issue:
```go
// helper.go:155-215
func cmdFile(root string, r *sftp.Request, ip string, sftpServer *SFTPServer) error {
    fullPath, err := sanitizePath(r.Filepath, root)  // Source: SANITIZED
    if err != nil {
        return err
    }
    switch r.Method {
    // ...
    case &amp;#34;Rename&amp;#34;:
        err := os.Rename(fullPath, r.Target)  // Destination: NOT SANITIZED!
```&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;To exploit just upload a file on the SFTP and rename it to a file with full path.&lt;/p&gt;
&lt;p&gt;Currently no key.txt file inside /tmp&lt;/p&gt;
&lt;p&gt;``` bash
$ ls key.txt
ls: key.txt: No such file or directory
```&lt;/p&gt;
&lt;p&gt;Start the SFTP server:
``` bash
/tmp/sftp-server $ goshs -sftp -b &amp;#39;user:user&amp;#39; -d .
WARNING[2026-04-02 20:00:18] upload-folder mode deactivated due to use of &amp;#39;sftp&amp;#39; mode
WARNING[2026-04-02 20:00:18] There is a newer Version (v2.0.0-beta.3) of goshs available. Run --update to update goshs.
INFO   [2026-04-02 20:00:18] Starting SFTP server on port 0.0.0.0:2022
WARNING[2026-04-02 20:00:18] You are using basic auth without SSL. Your credentials will be transferred in cleartext. Consider using -s, too.
INFO   [2026-04-02 20:00:18] Using basic auth with user &amp;#39;user&amp;#39; and password &amp;#39;user&amp;#39;
INFO   [2026-04-02 20:00:18] Download embedded file at: /example.txt?embedded
INFO   [2026-04-02 20:00:18] Serving on interface lo0 bound to 127.0.0.1:8…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/patrickhener/goshs&lt;/p&gt;
&lt;p&gt;### Summary
The SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Here is the issue:
```go
// helper.go:155-215
func cmdFile(root string, r *sftp.Request, ip string, sftpServer *SFTPServer) error {
    fullPath, err := sanitizePath(r.Filepath, root)  // Source: SANITIZED
    if err != nil {
        return err
    }
    switch r.Method {
    // ...
    case &amp;#34;Rename&amp;#34;:
        err := os.Rename(fullPath, r.Target)  // Destination: NOT SANITIZED!
```&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;To exploit just upload a file on the SFTP and rename it to a file with full path.&lt;/p&gt;
&lt;p&gt;Currently no key.txt file inside /tmp&lt;/p&gt;
&lt;p&gt;``` bash
$ ls key.txt
ls: key.txt: No such file or directory
```&lt;/p&gt;
&lt;p&gt;Start the SFTP server:
``` bash
/tmp/sftp-server $ goshs -sftp -b &amp;#39;user:user&amp;#39; -d .
WARNING[2026-04-02 20:00:18] upload-folder mode deactivated due to use of &amp;#39;sftp&amp;#39; mode
WARNING[2026-04-02 20:00:18] There is a newer Version (v2.0.0-beta.3) of goshs available. Run --update to update goshs.
INFO   [2026-04-02 20:00:18] Starting SFTP server on port 0.0.0.0:2022
WARNING[2026-04-02 20:00:18] You are using basic auth without SSL. Your credentials will be transferred in cleartext. Consider using -s, too.
INFO   [2026-04-02 20:00:18] Using basic auth with user &amp;#39;user&amp;#39; and password &amp;#39;user&amp;#39;
INFO   [2026-04-02 20:00:18] Download embedded file at: /example.txt?embedded
INFO   [2026-04-02 20:00:18] Serving on interface lo0 bound to 127.0.0.1:8…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-2943-crp8-38xx</guid>
    </item>
    <item>
      <title>openSUSE-SU-2026:10542-1 — goshs-2.0.0-1.1 on GA media</title>
      <link>https://cve.radiocsirt.org/vuln/opensuse-su-2026:10542-1</link>
      <description>&lt;p&gt;goshs-2.0.0-1.1 on GA media&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;goshs-2.0.0-1.1 on GA media&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/opensuse-su-2026:10542-1</guid>
    </item>
  </channel>
</rss>
