<?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://db.gcve.eu</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>Fri, 02 Oct 2026 03:31:32 +0000</lastBuildDate>
    <item>
      <title>GHSA-c23q-fw86-9h5x — LF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint</title>
      <link>https://db.gcve.eu/vuln/ghsa-c23q-fw86-9h5x</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/lf-edge/ekuiper/v2&lt;/p&gt;
&lt;p&gt;### Summary
A path traversal vulnerability in eKuiper&amp;#39;s administrative management endpoints allows privileged users or attackers with access to management APIs to delete arbitrary files or directories on the host system.&lt;/p&gt;
&lt;p&gt;### Details
In `internal/plugin/native/manager.go`, the plugin installation endpoint (`POST /plugins/*`) constructs a temporary directory path by directly joining user-supplied resource names (`name`) without sufficient sanitization. Supplying path traversal sequences (such as `../../...`) causes the deferred cleanup operation (`os.RemoveAll`) to target arbitrary directories outside the intended plugin directory.&lt;/p&gt;
&lt;p&gt;A related issue in configuration and rule lifecycle management where unvalidated rule identifiers could influence file deletion paths was also addressed by introducing unified identifier and file name validation.&lt;/p&gt;
&lt;p&gt;### PoC
1. Target file deletion via plugin installation endpoint:
```http
POST /plugins/sources HTTP/1.1
Host: 127.0.0.1:9081
Content-Type: application/json&lt;/p&gt;
&lt;p&gt;{
  &amp;#34;name&amp;#34;: &amp;#34;../../../../../tmp/target.txt&amp;#34;,
  &amp;#34;file&amp;#34;: &amp;#34;http://example.com/plugin.zip&amp;#34;,
  &amp;#34;shellParas&amp;#34;: [],
  &amp;#34;functions&amp;#34;: []
}
```
2. When the request finishes, `/tmp/target.txt` is removed by `os.RemoveAll`.&lt;/p&gt;
&lt;p&gt;### Impact
An attacker with access to eKuiper management APIs can cause arbitrary file or directory deletion, potentially leading to denial of service or disruption of the host environment. This vulnerability provides a delete-only capability and does not permit arbitrary fil…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/lf-edge/ekuiper/v2&lt;/p&gt;
&lt;p&gt;### Summary
A path traversal vulnerability in eKuiper&amp;#39;s administrative management endpoints allows privileged users or attackers with access to management APIs to delete arbitrary files or directories on the host system.&lt;/p&gt;
&lt;p&gt;### Details
In `internal/plugin/native/manager.go`, the plugin installation endpoint (`POST /plugins/*`) constructs a temporary directory path by directly joining user-supplied resource names (`name`) without sufficient sanitization. Supplying path traversal sequences (such as `../../...`) causes the deferred cleanup operation (`os.RemoveAll`) to target arbitrary directories outside the intended plugin directory.&lt;/p&gt;
&lt;p&gt;A related issue in configuration and rule lifecycle management where unvalidated rule identifiers could influence file deletion paths was also addressed by introducing unified identifier and file name validation.&lt;/p&gt;
&lt;p&gt;### PoC
1. Target file deletion via plugin installation endpoint:
```http
POST /plugins/sources HTTP/1.1
Host: 127.0.0.1:9081
Content-Type: application/json&lt;/p&gt;
&lt;p&gt;{
  &amp;#34;name&amp;#34;: &amp;#34;../../../../../tmp/target.txt&amp;#34;,
  &amp;#34;file&amp;#34;: &amp;#34;http://example.com/plugin.zip&amp;#34;,
  &amp;#34;shellParas&amp;#34;: [],
  &amp;#34;functions&amp;#34;: []
}
```
2. When the request finishes, `/tmp/target.txt` is removed by `os.RemoveAll`.&lt;/p&gt;
&lt;p&gt;### Impact
An attacker with access to eKuiper management APIs can cause arbitrary file or directory deletion, potentially leading to denial of service or disruption of the host environment. This vulnerability provides a delete-only capability and does not permit arbitrary fil…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-c23q-fw86-9h5x</guid>
    </item>
  </channel>
</rss>
