<?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:24 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-44423</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-44423</link>
      <description>&lt;p&gt;ShellHub is a centralized SSH gateway. Prior to 0.24.2, GET /api/sessions/:uid returns the full session object for any authenticated caller, without scoping by the caller&amp;#39;s tenant. An authenticated user can read session records (SSH username, device UID, remote IP, terminal type, authenticated flag, timestamps) belonging to any other namespace. 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/sessions/:uid returns the full session object for any authenticated caller, without scoping by the caller&amp;#39;s tenant. An authenticated user can read session records (SSH username, device UID, remote IP, terminal type, authenticated flag, timestamps) belonging to any other namespace. This vulnerability is fixed in 0.24.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-44423</guid>
    </item>
    <item>
      <title>GHSA-9w9c-9w8m-w89q — ShellHub has cross-tenant IDOR in `GET /api/sessions/:uid` that discloses SSH session data</title>
      <link>https://db.gcve.eu/vuln/ghsa-9w9c-9w8m-w89q</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/sessions/:uid` returns the full session object for any authenticated caller, without scoping by the caller&amp;#39;s tenant. An authenticated user can read session records (SSH username, device UID, remote IP, terminal type, authenticated flag, timestamps) belonging to any other namespace.&lt;/p&gt;
&lt;p&gt;## Severity
**CVSS 3.1: 7.5 (High)** 
CWE-639&lt;/p&gt;
&lt;p&gt;## Affected versions
ShellHub Community v0.24.1 (by code inspection — same vulnerable pattern as `GetDevice`). Not plant-reproducible without an active SSH session, but the flaw is structurally identical and confirmed via static analysis.&lt;/p&gt;
&lt;p&gt;## Root cause
`api/services/session.go:37-44` — `GetSession` resolves the session by UID without any tenant filter:&lt;/p&gt;
&lt;p&gt;```go
  func (s *service) GetSession(ctx context.Context, uid models.UID) (*models.Session, error) {
      session, err := s.store.SessionResolve(ctx, store.SessionUIDResolver, string(uid))
      // ⚠️ missing: s.store.Options().InNamespace(tenant)
      ...
  }
  ```&lt;/p&gt;
&lt;p&gt;The `Authorize` middleware only verifies presence of a tenant in the context, not ownership of the requested session.&lt;/p&gt;
&lt;p&gt;## Proof of concept&lt;/p&gt;
&lt;p&gt;Pre-requisite: attacker has any valid user account and has obtained a session UID from the victim tenant (UIDs may leak via logs, shared session recordings, UI URLs, or through the device IDOR in the companion advisory since sessions reference devices by UID).&lt;/p&gt;
&lt;p&gt;```bash
  ATTACKER_TOKEN=$(curl -s -X POST http://target/api/login \
    -H &amp;#39;Content-Type: application/json&amp;#39; \…&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/sessions/:uid` returns the full session object for any authenticated caller, without scoping by the caller&amp;#39;s tenant. An authenticated user can read session records (SSH username, device UID, remote IP, terminal type, authenticated flag, timestamps) belonging to any other namespace.&lt;/p&gt;
&lt;p&gt;## Severity
**CVSS 3.1: 7.5 (High)** 
CWE-639&lt;/p&gt;
&lt;p&gt;## Affected versions
ShellHub Community v0.24.1 (by code inspection — same vulnerable pattern as `GetDevice`). Not plant-reproducible without an active SSH session, but the flaw is structurally identical and confirmed via static analysis.&lt;/p&gt;
&lt;p&gt;## Root cause
`api/services/session.go:37-44` — `GetSession` resolves the session by UID without any tenant filter:&lt;/p&gt;
&lt;p&gt;```go
  func (s *service) GetSession(ctx context.Context, uid models.UID) (*models.Session, error) {
      session, err := s.store.SessionResolve(ctx, store.SessionUIDResolver, string(uid))
      // ⚠️ missing: s.store.Options().InNamespace(tenant)
      ...
  }
  ```&lt;/p&gt;
&lt;p&gt;The `Authorize` middleware only verifies presence of a tenant in the context, not ownership of the requested session.&lt;/p&gt;
&lt;p&gt;## Proof of concept&lt;/p&gt;
&lt;p&gt;Pre-requisite: attacker has any valid user account and has obtained a session UID from the victim tenant (UIDs may leak via logs, shared session recordings, UI URLs, or through the device IDOR in the companion advisory since sessions reference devices by UID).&lt;/p&gt;
&lt;p&gt;```bash
  ATTACKER_TOKEN=$(curl -s -X POST http://target/api/login \
    -H &amp;#39;Content-Type: application/json&amp;#39; \…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-9w9c-9w8m-w89q</guid>
    </item>
  </channel>
</rss>
