{"answers":{"affected":"2 open source packages ship an affected version, including @feathersjs/authentication-oauth. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-27191 in the wild and no public exploit code.","fix":"Upgrade @feathersjs/authentication-oauth to 5.0.40 or later.","what":"CVE-2026-27191 is a high-severity vulnerability in feathersjs feathers, published on 21 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27191 and fix it if it is affected.\n\nWhat it is: CVE-2026-27191 is a high-severity vulnerability in feathersjs feathers, published on 21 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-27191 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @feathersjs/authentication-oauth (npm): affected all versions; fixed in 5.0.40\n- @feathersjs/authentication-oauth (npm): affected all versions; fixed in 5.0.40\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27191/ (Markdown: https://insights.sbomify.com/CVE-2026-27191/index.md)","id":"CVE-2026-27191","markdown":"https://insights.sbomify.com/CVE-2026-27191/index.md","name":"CVE-2026-27191","record":{"aliases":["GHSA-ppf9-4ffw-hh4p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Feathers.js framework","requires_auth":"none","summary":"Attackers can steal access tokens via URL authority injection in OAuth callbacks, leading to full account takeover in Feathers.js applications.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"feathers","vendor":"feathersjs"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. Versions 5.0.39 and below the redirect query parameter is appended to the base origin without validation, allowing attackers to steal access tokens via URL authority injection. This leads to full account takeover, as the attacker obtains the victim's access token and can impersonate them. The application constructs the final redirect URL by concatenating the base origin with the user-supplied redirect parameter. This is exploitable when the origins array is configured and origin values do not end with /. An attacker can supply @attacker.com as the redirect value results in https://target.com@attacker.com#access_token=..., where the browser interprets attacker.com as the host, leading to full account takeover. This issue has been fixed in version 5.0.40.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Feathers: Open Redirect in OAuth callback enables account takeover","id":"CVE-2026-27191","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Feathers has an origin validation bypass via prefix matching","id":"CVE-2026-27192"},"packages":[{"ecosystem":"npm","fixed":["5.0.40"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/authentication-oauth","purl":null,"source":"GHSA-ppf9-4ffw-hh4p"},{"ecosystem":"npm","fixed":["5.0.40"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/authentication-oauth","purl":"pkg:npm/%40feathersjs/authentication-oauth","source":"GHSA-ppf9-4ffw-hh4p"}],"prev":{"headline":"Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process","id":"CVE-2026-27190"},"products":["feathers"],"published":"2026-02-21","related":[{"cvss_score":9.3,"headline":"Feathersjs has an OAuth Callback Account Takeover","id":"CVE-2026-29792","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":9.3,"headline":"NoSQL Injection via WebSocket id Parameter in MongoDB Adapter","id":"CVE-2026-29793","kev_date_added":null,"published":"2026-03-10"},{"cvss_score":8.2,"headline":"Feathers exposes internal headers via unencrypted session cookie","id":"CVE-2026-27193","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.6,"headline":"Feathers has an origin validation bypass via prefix matching","id":"CVE-2026-27192","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":7.5,"headline":"feathersjs socket handler allows abusing implicit toString","id":"CVE-2023-37899","kev_date_added":null,"published":"2023-07-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["feathersjs"]},"summary":"Attackers can steal access tokens via URL authority injection in OAuth callbacks, leading to full account takeover in Feathers.js applications.","url":"https://insights.sbomify.com/CVE-2026-27191/"}