Vulnerability · Published May 12, 2026 · Assigned by GitHub_M
CVE-2026-42177linux-entra-sso: PRT SSO cookie can leak to attacker-controlled hosts when broad host permissions are granted
Medium 5.3
In plain English
A medium-severity improper access control in linux-entra-sso from siemens. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | linux-entra-sso | 1.8.1-1 | DEBIAN-CVE-2026-42177 |
| Ubuntu:26.04:LTS | linux-entra-sso | no fix listed | UBUNTU-CVE-2026-42177 |
| Ubuntu:26.10 | linux-entra-sso | no fix listed | UBUNTU-CVE-2026-42177 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| siemens | linux-entra-sso | < 1.8.1 |
Weakness: CWE-284, CWE-436 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N