Skip to content

CVE-2026-42177 linux-entra-sso: PRT SSO cookie can leak to attacker-controlled hosts when broad host permissions are granted

MediumCVSS 5.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

Description

linux-entra-sso is a browser plugin for Linux to SSO on Microsoft Entra ID. Prior to 1.8.1, platform/chrome/js/platform-chrome.js:69-88 registers a single declarativeNetRequest rule whose urlFilter is Platform.SSO_URL + "/", i.e. "https://login.microsoftonline.com/". Chrome's urlFilter without a | or || anchor is substring-matched against the full request URL. The same applied rule action is modifyHeaders that attaches the Entra ID Primary Refresh Token cookie. The Firefox adapter in platform/firefox/js/platform-firefox.js:53 performs a belt-and-braces startsWith(Platform.SSO_URL) check before injecting the header; the Chrome adapter does not. When the extension holds broad host permissions through the optional_host_permissions: ["https:///"] declared in platform/chrome/manifest.json:34, a main-frame navigation to a URL whose path embeds https://login.microsoftonline.com/ causes Chrome to attach the PRT cookie to the request to the attacker-controlled host. This vulnerability is fixed in 1.8.1.

Upgrade path

4 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/linux-entra-sso(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/linux-entra-sso(Ubuntu 26.10) All versions No fix listed No fix yet
debian/linux-entra-sso(Debian 14) < 1.8.1-1; = 1.2.0-1; = 1.7.1-1; = 1.7.2-1 +4 more 1.8.1-1 Fixed
Siemens linux-entra-sso = < 1.8.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Siemens linux-entra-sso = < 1.8.1 No fix listed
debian/linux-entra-sso(Debian:14) < 1.8.1-1 1.8.1-1
debian/linux-entra-sso(Debian:14) = 1.2.0-1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.7.1-1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.7.2-1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.7.2-1~bpo13+1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.8.0-1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.8.0-1~bpo13+1 No fix listed
debian/linux-entra-sso(Debian:14) = 1.8.1-1~bpo13+1 No fix listed
ubuntu/linux-entra-sso(Ubuntu:26.04) All versions No fix listed
ubuntu/linux-entra-sso(Ubuntu:26.10) All versions No fix listed

References