{"id":"CVE-2026-118598","aliases":["CVE-2026-118598"],"related":[],"kind":"vulnerability","state":"published","title":"epiphany: clipboard/website-data permission prompt incorrectly grants camera and microphone access","summary":"A logic error in Epiphany's site permission handling can cause camera and microphone access to be granted when the user only approves a different permission.\n\nIn src/ephy-window.c, set_permission() stores the user's Allow/Deny choice after a WebKit permission dialog. Types CLIPBOARD and WEBSITE_DATA_ACCESS are not stored by ephy_permission_is_stored_by_permissions_manager(), so control fell into an else-if that was written as:\n\n  } else if (EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {\n\nBecause that expression is a non-zero enum constant, the branch always ran for those types and wrote EPHY_PERMISSION_PERMIT for both ACCESS_WEBCAM and ACCESS_MICROPHONE for the site origin. The user only saw a Clipboard or Website Data Access dialog.\n\nA malicious site that obtains approval for clipboard or third-party storage access can afterwards use getUserMedia without a further camera/microphone prompt, exposing audiovisual confidentiality.\n\nRequirements: the victim must visit a malicious page and click Allow on a clipboard or website-data-access prompt.\n\nAffected: Epiphany >= 45.0 (bug present at least through 51.x).\nFixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249 (commit 480c3648).\nUpstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976\nReporter acknowledgment: Fernando Munoz","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A logic error in Epiphany's site permission handling can cause camera and microphone access to be granted when the user only approves a different permission.\n\nIn src/ephy-window.c, set_permission() stores the user's Allow/Deny choice after a WebKit permission dialog. Types CLIPBOARD and WEBSITE_DATA_ACCESS are not stored by ephy_permission_is_stored_by_permissions_manager(), so control fell into an else-if that was written as:\n\n  } else if (EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {\n\nBecause that expression is a non-zero enum constant, the branch always ran for those types and wrote EPHY_PERMISSION_PERMIT for both ACCESS_WEBCAM and ACCESS_MICROPHONE for the site origin. The user only saw a Clipboard or Website Data Access dialog.\n\nA malicious site that obtains approval for clipboard or third-party storage access can afterwards use getUserMedia without a further camera/microphone prompt, exposing audiovisual confidentiality.\n\nRequirements: the victim must visit a malicious page and click Allow on a clipboard or website-data-access prompt.\n\nAffected: Epiphany >= 45.0 (bug present at least through 51.x).\nFixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249 (commit 480c3648).\nUpstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976\nReporter acknowledgment: Fernando Munoz","source":"cvelist"}],"published":"2026-10-31T09:29:34.128Z","modified":"2026-11-06T14:17:10.103Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"45.0","fixed":"*","status":"affected"}],"vendor":"GNOME","product":"Epiphany","package":"epiphany","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-118598","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562956","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Fernando Munoz for reporting this issue."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T13:49:40.269Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118598","url":"https://www.cve.org/CVERecord?id=CVE-2026-118598","licence":"CVE Terms of Use","modified":"2026-11-06T13:49:49.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118598","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118598","licence":"Public domain","modified":"2026-11-06T14:17:10.103Z"}],"updatedAt":"2026-11-25T22:59:48.073Z","epss":{"score":0.00456,"percentile":0.41327,"date":"2026-12-01T12:00:22.000Z"}}