<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T03:31:20.699137+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/fkie_cve-2026-44423</id>
    <title>fkie_cve-2026-44423</title>
    <updated>2026-10-02T03:31:20.725635+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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'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.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-44423"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-9w9c-9w8m-w89q</id>
    <title>GHSA-9w9c-9w8m-w89q — ShellHub has cross-tenant IDOR in `GET /api/sessions/:uid` that discloses SSH session data</title>
    <updated>2026-10-02T03:31:20.725735+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/shellhub-io/shellhub</p>
<p>## Summary
`GET /api/sessions/:uid` returns the full session object for any authenticated caller, without scoping by the caller'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.</p>
<p>## Severity
**CVSS 3.1: 7.5 (High)** 
CWE-639</p>
<p>## 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.</p>
<p>## Root cause
`api/services/session.go:37-44` — `GetSession` resolves the session by UID without any tenant filter:</p>
<p>```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)
      ...
  }
  ```</p>
<p>The `Authorize` middleware only verifies presence of a tenant in the context, not ownership of the requested session.</p>
<p>## Proof of concept</p>
<p>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).</p>
<p>```bash
  ATTACKER_TOKEN=$(curl -s -X POST http://target/api/login \
    -H 'Content-Type: application/json' \…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-9w9c-9w8m-w89q"/>
  </entry>
</feed>
