CVE-2026-27192: @feathersjs/authentication oauth Feathers Has An Origin Validation Vulnerability
HIGHCVE-2026-27192 is a HIGH feathers has an origin validation vulnerability (CWE-346: Origin Validation Error) affecting @feathersjs/authentication oauth libraries in the npm ecosystem. The issue involves feathers has an origin validation bypass via prefix matching. Remediation is available by upgrading affected packages to version 5.0.40.
CVE-2026-27192 at a Glance
How to Fix CVE-2026-27192
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-27192, 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-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. 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-27192 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-27192?
Which @feathersjs/authentication oauth versions are affected?
What version fixes CVE-2026-27192?
Is @feathersjs/authentication-oauth affected?
What CWE is associated with CVE-2026-27192?
How can I check npm dependencies for CVE-2026-27192?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mp4x-c34x-wv3x",
"modified" : "2026-02-23T22:26:40Z",
"published" : "2026-02-19T20:32:28Z",
"aliases" : [ "CVE-2026-27192" ],
"summary" : "Feathers has an origin validation bypass via prefix matching",
"details" : "The 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.\n\nThe `getAllowedOrigin()` function checks if the Referer header starts with any allowed origin:\n```javascript\n// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/strategy.ts#L75\nconst allowedOrigin = origins.find((current) => referer.toLowerCase().startsWith(current.toLowerCase()));\n```\n\nThis 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`).\n\nOn 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.\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:N/PR:N/UI:P/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-mp4x-c34x-wv3x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27192"
}, {
"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-346" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-19T20:32:28Z",
"nvd_published_at" : "2026-02-21T04:15:58Z"
}
}