CVE-2026-27191: @feathersjs/authentication oauth Feathers Has An Open Redirect Vulnerability
HIGHCVE-2026-27191 is a HIGH feathers has an open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting @feathersjs/authentication oauth libraries in the npm ecosystem. The issue involves feathers has an open redirect in oauth callback enables account takeover. Remediation is available by upgrading affected packages to version 5.0.40.
CVE-2026-27191 at a Glance
How to Fix CVE-2026-27191
To remediate this vulnerability, upgrade all affected @feathersjs/authentication oauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @feathersjs/authentication-oauth@5.0.40
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @feathersjs/authentication-oauth
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-27191, inspect your project dependencies using npm:
npm ls @feathersjs/authentication-oauth
Analyze the terminal output to locate any version of @feathersjs/authentication oauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.40), your application is affected.
Note: The npm ls @feathersjs/authentication-oauth command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In @feathersjs/authentication oauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-27191 Affected @feathersjs/authentication oauth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@feathersjs/authentication-oauth
|
npm |
< 5.0.40
|
5.0.40
|
References
Frequently Asked Questions
What is CVE-2026-27191?
Which @feathersjs/authentication oauth versions are affected?
What version fixes CVE-2026-27191?
Is @feathersjs/authentication-oauth affected?
What CWE is associated with CVE-2026-27191?
How can I check npm dependencies for CVE-2026-27191?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ppf9-4ffw-hh4p",
"modified" : "2026-02-23T22:26:31Z",
"published" : "2026-02-19T20:32:15Z",
"aliases" : [ "CVE-2026-27191" ],
"summary" : "Feathers has an open redirect in OAuth callback enables account takeover",
"details" : "### Description\n\nThe `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.\n\nThe application constructs the final redirect URL by concatenating the base origin with the user-supplied `redirect` parameter:\n```javascript\n// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/service.ts#L158C3-L176C4\nconst { redirect } = query;\n...\nsession.redirect = redirect;\n\n// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/strategy.ts#L98\nconst redirectUrl = `${redirect}${queryRedirect}`;\n```\n\nWhere:\n- `redirect` = base origin from config (e.g., `https://target.com`)\n- `queryRedirect` = user input from `?redirect=` parameter\n\nThis 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.\n\n**Credits**: Abdelwahed Madani Yousfi (@vvxhid) / Edoardo Geraci (@b0-n0-b0) / Thomas Rinsma (@ThomasRinsma) From Codean Labs.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@feathersjs/authentication-oauth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.40"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.0.39"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/feathersjs/feathers/security/advisories/GHSA-ppf9-4ffw-hh4p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27191"
}, {
"type" : "WEB",
"url" : "https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/feathersjs/feathers"
}, {
"type" : "WEB",
"url" : "https://github.com/feathersjs/feathers/releases/tag/v5.0.40"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-19T20:32:15Z",
"nvd_published_at" : "2026-02-21T04:15:58Z"
}
}