<?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 01:07:46 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-44426</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-44426</link>
      <description>&lt;p&gt;ShellHub is a centralized SSH gateway. Prior to 0.24.2, GET /api/namespaces/:tenant returns the full namespace object — including
the members list (user IDs, e-mails, roles), settings, and device counts — to any caller authenticated by an API Key, for any tenant, regardless of the API Key&amp;#39;s own tenant scope. The handler conditionally skips the membership check when the user ID (X-ID) is absent, which is exactly the case for API Key authentication. This vulnerability is fixed in 0.24.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;ShellHub is a centralized SSH gateway. Prior to 0.24.2, GET /api/namespaces/:tenant returns the full namespace object — including
the members list (user IDs, e-mails, roles), settings, and device counts — to any caller authenticated by an API Key, for any tenant, regardless of the API Key&amp;#39;s own tenant scope. The handler conditionally skips the membership check when the user ID (X-ID) is absent, which is exactly the case for API Key authentication. This vulnerability is fixed in 0.24.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-44426</guid>
    </item>
    <item>
      <title>GHSA-vwx9-7qcf-gg7f — ShellHub has cross-tenant IDOR in `GET /api/namespaces/:tenant` via API Key bypasses  membership check</title>
      <link>https://db.gcve.eu/vuln/ghsa-vwx9-7qcf-gg7f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/shellhub-io/shellhub&lt;/p&gt;
&lt;p&gt;## Summary
`GET /api/namespaces/:tenant` returns the full namespace object — including the members list (user IDs, e-mails, roles), settings, and device counts — to any caller authenticated by an **API Key**, for any tenant, regardless of the API Key&amp;#39;s own tenant scope.&lt;/p&gt;
&lt;p&gt;The handler conditionally skips the membership check when the user ID (`X-ID`) is absent, which is exactly the case for API Key authentication.&lt;/p&gt;
&lt;p&gt;## Affected versions
ShellHub Community v0.24.1 (validated).&lt;/p&gt;
&lt;p&gt;## Root cause
`api/routes/nsadm.go:75-102` — membership check is skipped when `c.ID()` is nil:&lt;/p&gt;
&lt;p&gt;```go
  var uid string
  if c.ID() != nil {
      uid = c.ID().ID
  }&lt;/p&gt;
&lt;p&gt;ns, err := h.service.GetNamespace(c.Ctx(), req.Tenant)
  if err != nil || ns == nil {
      return c.NoContent(http.StatusNotFound)
  }&lt;/p&gt;
&lt;p&gt;if uid != &amp;#34;&amp;#34; {                              // ⚠️ skipped when API Key is used
      if _, ok := ns.FindMember(uid); !ok {
          return c.NoContent(http.StatusForbidden)
      }
  }&lt;/p&gt;
&lt;p&gt;return c.JSON(http.StatusOK, ns)
  ```&lt;/p&gt;
&lt;p&gt;`AuthRequest` (`api/routes/auth.go:53-64`) sets only `X-Tenant-ID`, `X-Role`,
  and `X-API-KEY` for API Key authentication — never `X-ID`. So
  `c.Request().Header.Get(&amp;#34;X-ID&amp;#34;)` returns `&amp;#34;&amp;#34;`, `c.ID()` returns `nil`, and
  the membership check is bypassed.&lt;/p&gt;
&lt;p&gt;## Proof of concept (validated live against v0.24.1)&lt;/p&gt;
&lt;p&gt;```bash
  # Attacker authenticates in their own namespace and mints an API Key
  ATTACKER_TOKEN=$(curl -s -X POST http://target/api/login \
    -H &amp;#39;Content-Type: appli…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/shellhub-io/shellhub&lt;/p&gt;
&lt;p&gt;## Summary
`GET /api/namespaces/:tenant` returns the full namespace object — including the members list (user IDs, e-mails, roles), settings, and device counts — to any caller authenticated by an **API Key**, for any tenant, regardless of the API Key&amp;#39;s own tenant scope.&lt;/p&gt;
&lt;p&gt;The handler conditionally skips the membership check when the user ID (`X-ID`) is absent, which is exactly the case for API Key authentication.&lt;/p&gt;
&lt;p&gt;## Affected versions
ShellHub Community v0.24.1 (validated).&lt;/p&gt;
&lt;p&gt;## Root cause
`api/routes/nsadm.go:75-102` — membership check is skipped when `c.ID()` is nil:&lt;/p&gt;
&lt;p&gt;```go
  var uid string
  if c.ID() != nil {
      uid = c.ID().ID
  }&lt;/p&gt;
&lt;p&gt;ns, err := h.service.GetNamespace(c.Ctx(), req.Tenant)
  if err != nil || ns == nil {
      return c.NoContent(http.StatusNotFound)
  }&lt;/p&gt;
&lt;p&gt;if uid != &amp;#34;&amp;#34; {                              // ⚠️ skipped when API Key is used
      if _, ok := ns.FindMember(uid); !ok {
          return c.NoContent(http.StatusForbidden)
      }
  }&lt;/p&gt;
&lt;p&gt;return c.JSON(http.StatusOK, ns)
  ```&lt;/p&gt;
&lt;p&gt;`AuthRequest` (`api/routes/auth.go:53-64`) sets only `X-Tenant-ID`, `X-Role`,
  and `X-API-KEY` for API Key authentication — never `X-ID`. So
  `c.Request().Header.Get(&amp;#34;X-ID&amp;#34;)` returns `&amp;#34;&amp;#34;`, `c.ID()` returns `nil`, and
  the membership check is bypassed.&lt;/p&gt;
&lt;p&gt;## Proof of concept (validated live against v0.24.1)&lt;/p&gt;
&lt;p&gt;```bash
  # Attacker authenticates in their own namespace and mints an API Key
  ATTACKER_TOKEN=$(curl -s -X POST http://target/api/login \
    -H &amp;#39;Content-Type: appli…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-vwx9-7qcf-gg7f</guid>
    </item>
  </channel>
</rss>
