{"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-27192 in the wild and no public exploit code.","fix":"Upgrade @feathersjs/authentication-oauth to 5.0.40 or later.","what":"CVE-2026-27192 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-27192 and fix it if it is affected.\n\nWhat it is: CVE-2026-27192 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-27192 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-27192/ (Markdown: https://insights.sbomify.com/CVE-2026-27192/index.md)","id":"CVE-2026-27192","markdown":"https://insights.sbomify.com/CVE-2026-27192/index.md","name":"CVE-2026-27192","record":{"aliases":["GHSA-mp4x-c34x-wv3x"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"FeathersJS framework","requires_auth":"none","summary":"Attackers can bypass origin validation via prefix matching to exfiltrate OAuth tokens and achieve account takeover in FeathersJS applications.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"feathers","vendor":"feathersjs"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"description":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. In versions 5.0.39 and below, origin validation uses startsWith() for comparison, allowing attackers to bypass the check by registering a domain that shares a common prefix with an allowed origin.The getAllowedOrigin() function checks if the Referer header starts with any allowed origin, and this comparison is insufficient as it only validates the prefix. This is exploitable when the origins array is configured and an attacker registers a domain starting with an allowed origin string (e.g., https://target.com.attacker.com bypasses https://target.com). On its own, tokens are still redirected to a configured origin. However, in specific scenarios an attacker can initiate the OAuth flow from an unauthorized origin and exfiltrate tokens, achieving full account takeover. This issue has bee 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 has an origin validation bypass via prefix matching","id":"CVE-2026-27192","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Feathers exposes internal headers via unencrypted session cookie","id":"CVE-2026-27193"},"packages":[{"ecosystem":"npm","fixed":["5.0.40"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/authentication-oauth","purl":null,"source":"GHSA-mp4x-c34x-wv3x"},{"ecosystem":"npm","fixed":["5.0.40"],"introduced":["0"],"last_affected":[],"package":"@feathersjs/authentication-oauth","purl":"pkg:npm/%40feathersjs/authentication-oauth","source":"GHSA-mp4x-c34x-wv3x"}],"prev":{"headline":"Feathers: Open Redirect in OAuth callback enables account takeover","id":"CVE-2026-27191"},"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.5,"headline":"feathersjs socket handler allows abusing implicit toString","id":"CVE-2023-37899","kev_date_added":null,"published":"2023-07-19"},{"cvss_score":7.4,"headline":"Feathers: Open Redirect in OAuth callback enables account takeover","id":"CVE-2026-27191","kev_date_added":null,"published":"2026-02-21"}],"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-23","vendors":["feathersjs"]},"summary":"Attackers can bypass origin validation via prefix matching to exfiltrate OAuth tokens and achieve account takeover in FeathersJS applications.","url":"https://insights.sbomify.com/CVE-2026-27192/"}