{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "46.alpha"
              },
              {
                "fixed": "46.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0188ce92f101de6ff103c94616cb737efa39b256"
            },
            {
              "fixed": "2551f90af03828d06f55169a4e95876a5d58bb8e"
            }
          ],
          "repo": "https://github.com/gnome/gnome-remote-desktop",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-488"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5148.json"
  },
  "details": "A flaw was found in the gnome-remote-desktop package. The gnome-remote-desktop system daemon performs inadequate validation of session agents using D-Bus methods related to transitioning a client connection from the login screen to the user session. As a result, the system RDP TLS certificate and key can be exposed to unauthorized users. This flaw allows a malicious user on the system to take control of the RDP client connection during the login screen-to-user session transition.",
  "id": "CVE-2024-5148",
  "modified": "2026-07-15T01:49:09.903026606Z",
  "published": "2024-09-02T11:03:18.235Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2024-5148"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5148.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-5148"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2282003"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/196"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/GNOME/gnome-remote-desktop"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gnome-remote-desktop: inadequate validation of session agents using d-bus methods may expose rdp tls certificate"
}