{"id":"UBUNTU-CVE-2026-118598","details":"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. In 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:   } else if (EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) { Because 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. A 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. Requirements: the victim must visit a malicious page and click Allow on a clipboard or website-data-access prompt. Affected: Epiphany \u003e= 45.0 (bug present at least through 51.x). Fixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249 (commit 480c3648). Upstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976 Reporter acknowledgment: Fernando Munoz","modified":"2026-11-04T03:30:27.186261211Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-118598"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118598"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118598"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-118598"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562956"}],"affected":[{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.3-1ubuntu1","3.18.0-1ubuntu2","3.18.1-1ubuntu1","3.18.3-0ubuntu1","3.18.5-0ubuntu1","3.18.5-0ubuntu1.1","3.18.10-0ubuntu1","3.18.11-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.18.11-0ubuntu1"},{"binary_name":"epiphany-browser-data","binary_version":"3.18.11-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.1-1ubuntu1","3.26.1-1ubuntu2","3.26.1-1ubuntu4","3.26.5.1-1ubuntu1","3.27.90-1ubuntu1","3.28.0.1-1ubuntu1","3.28.1-1ubuntu1","3.28.5-0ubuntu1","3.28.6-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.28.6-0ubuntu1"},{"binary_version":"3.28.6-0ubuntu1","binary_name":"epiphany-browser-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.34.1-1","3.34.1-1build1","3.36.0-1","3.36.1-1","3.36.2-0ubuntu1","3.36.3-0ubuntu1","3.36.4-0ubuntu1","3.36.4-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.36.4-0ubuntu2"},{"binary_version":"3.36.4-0ubuntu2","binary_name":"epiphany-browser-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["41.0-1","41.0-2","41.2-1","41.3-1","42~beta-1","42.0-1","42.1-1","42.1-1ubuntu1","42.4-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"42.4-0ubuntu1","binary_name":"epiphany-browser"},{"binary_name":"epiphany-browser-data","binary_version":"42.4-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["45.0-1","45.1-1","46~alpha-1","46~beta-1","46.0-1","46.0-2build1","46.5-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"46.5-0ubuntu1","binary_name":"epiphany-browser"},{"binary_name":"epiphany-browser-data","binary_version":"46.5-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["49.2-3ubuntu1","50.4-1","50.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"50.4-2"},{"binary_version":"50.4-2","binary_name":"epiphany-browser-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["48.5-3","49.1-1","49.2-1","49.2-2","49.2-3","49.2-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"49.2-3ubuntu1","binary_name":"epiphany-browser"},{"binary_version":"49.2-3ubuntu1","binary_name":"epiphany-browser-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118598.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}