Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40feathersjs/authentication-oauth@4.0.0-pre.5
Typenpm
Namespace@feathersjs
Nameauthentication-oauth
Version4.0.0-pre.5
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version5.0.42
Latest_non_vulnerable_version5.0.42
Affected_by_vulnerabilities
0
url VCID-atvx-pz7x-zkak
vulnerability_id VCID-atvx-pz7x-zkak
summary
Feathers has an open redirect in OAuth callback enables account takeover
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:
```javascript
// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/service.ts#L158C3-L176C4
const { redirect } = query;
...
session.redirect = redirect;

// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/strategy.ts#L98
const redirectUrl = `${redirect}${queryRedirect}`;
```

Where:
- `redirect` = base origin from config (e.g., `https://target.com`)
- `queryRedirect` = user input from `?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.

**Credits**:  Abdelwahed Madani Yousfi (@vvxhid) / Edoardo Geraci (@b0-n0-b0) / Thomas Rinsma (@ThomasRinsma) From Codean Labs.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-27191
reference_id
reference_type
scores
0
value 0.00012
scoring_system epss
scoring_elements 0.0165
published_at 2026-06-05T12:55:00Z
1
value 0.00012
scoring_system epss
scoring_elements 0.01644
published_at 2026-06-09T12:55:00Z
2
value 0.00012
scoring_system epss
scoring_elements 0.01648
published_at 2026-06-08T12:55:00Z
3
value 0.00012
scoring_system epss
scoring_elements 0.01656
published_at 2026-06-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-27191
1
reference_url https://github.com/feathersjs/feathers
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/feathersjs/feathers
2
reference_url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-25T21:24:47Z/
url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
3
reference_url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-25T21:24:47Z/
url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-27191
reference_id CVE-2026-27191
reference_type
scores
0
value 7.4
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-27191
5
reference_url https://github.com/advisories/GHSA-ppf9-4ffw-hh4p
reference_id GHSA-ppf9-4ffw-hh4p
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-ppf9-4ffw-hh4p
6
reference_url https://github.com/feathersjs/feathers/security/advisories/GHSA-ppf9-4ffw-hh4p
reference_id GHSA-ppf9-4ffw-hh4p
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value 7.4
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-25T21:24:47Z/
url https://github.com/feathersjs/feathers/security/advisories/GHSA-ppf9-4ffw-hh4p
fixed_packages
0
url pkg:npm/%40feathersjs/authentication-oauth@5.0.40
purl pkg:npm/%40feathersjs/authentication-oauth@5.0.40
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-v7wm-k12a-pfhu
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540feathersjs/authentication-oauth@5.0.40
aliases CVE-2026-27191, GHSA-ppf9-4ffw-hh4p
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-atvx-pz7x-zkak
1
url VCID-bffn-qsdh-53gx
vulnerability_id VCID-bffn-qsdh-53gx
summary
Feathers exposes internal headers via unencrypted session cookie
All HTTP request headers are stored in the session cookie, which is signed but not encrypted, exposing internal proxy/gateway headers to clients.

The OAuth service stores the complete headers object in the session:
```javascript
// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/service.ts#L173
session.headers = headers;
```

The session is persisted using `cookie-session`, which base64-encodes the data. While the cookie is signed to prevent tampering, the contents are readable by anyone by simply decoding the base64 value.

Under specific deployment configurations (e.g., behind reverse proxies or API gateways), this can lead to exposure of sensitive internal infrastructure details such as API keys, service tokens, and internal IP addresses.

**Credits**:  Abdelwahed Madani Yousfi (@vvxhid) / Edoardo Geraci (@b0-n0-b0) / Thomas Rinsma (@ThomasRinsma) From Codean Labs.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-27193
reference_id
reference_type
scores
0
value 0.00013
scoring_system epss
scoring_elements 0.0245
published_at 2026-06-06T12:55:00Z
1
value 0.00013
scoring_system epss
scoring_elements 0.02341
published_at 2026-06-09T12:55:00Z
2
value 0.00013
scoring_system epss
scoring_elements 0.02385
published_at 2026-06-08T12:55:00Z
3
value 0.00013
scoring_system epss
scoring_elements 0.02398
published_at 2026-06-07T12:55:00Z
4
value 0.00013
scoring_system epss
scoring_elements 0.02455
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-27193
1
reference_url https://github.com/feathersjs/feathers
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/feathersjs/feathers
2
reference_url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-25T21:24:07Z/
url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
3
reference_url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
reference_id
reference_type
scores
0
value 8.2
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-25T21:24:07Z/
url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-27193
reference_id CVE-2026-27193
reference_type
scores
0
value 8.2
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-27193
5
reference_url https://github.com/advisories/GHSA-9m9c-vpv5-9g85
reference_id GHSA-9m9c-vpv5-9g85
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-9m9c-vpv5-9g85
6
reference_url https://github.com/feathersjs/feathers/security/advisories/GHSA-9m9c-vpv5-9g85
reference_id GHSA-9m9c-vpv5-9g85
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value 8.2
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-25T21:24:07Z/
url https://github.com/feathersjs/feathers/security/advisories/GHSA-9m9c-vpv5-9g85
fixed_packages
0
url pkg:npm/%40feathersjs/authentication-oauth@5.0.40
purl pkg:npm/%40feathersjs/authentication-oauth@5.0.40
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-v7wm-k12a-pfhu
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540feathersjs/authentication-oauth@5.0.40
aliases CVE-2026-27193, GHSA-9m9c-vpv5-9g85
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-bffn-qsdh-53gx
2
url VCID-k776-tjp4-fbeq
vulnerability_id VCID-k776-tjp4-fbeq
summary
Feathers has an origin validation bypass via prefix matching
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.

The `getAllowedOrigin()` function checks if the Referer header starts with any allowed origin:
```javascript
// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/strategy.ts#L75
const allowedOrigin = origins.find((current) => referer.toLowerCase().startsWith(current.toLowerCase()));
```

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.

**Credits**:  Abdelwahed Madani Yousfi (@vvxhid) / Edoardo Geraci (@b0-n0-b0) / Thomas Rinsma (@ThomasRinsma) From Codean Labs.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-27192
reference_id
reference_type
scores
0
value 8e-05
scoring_system epss
scoring_elements 0.00844
published_at 2026-06-07T12:55:00Z
1
value 8e-05
scoring_system epss
scoring_elements 0.00842
published_at 2026-06-09T12:55:00Z
2
value 8e-05
scoring_system epss
scoring_elements 0.00846
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-27192
1
reference_url https://github.com/feathersjs/feathers
reference_id
reference_type
scores
0
value 7.6
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/feathersjs/feathers
2
reference_url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
reference_id
reference_type
scores
0
value 7.6
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-23T19:13:28Z/
url https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401
3
reference_url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
reference_id
reference_type
scores
0
value 7.6
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-23T19:13:28Z/
url https://github.com/feathersjs/feathers/releases/tag/v5.0.40
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-27192
reference_id CVE-2026-27192
reference_type
scores
0
value 7.6
scoring_system cvssv4
scoring_elements 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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-27192
5
reference_url https://github.com/advisories/GHSA-mp4x-c34x-wv3x
reference_id GHSA-mp4x-c34x-wv3x
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-mp4x-c34x-wv3x
6
reference_url https://github.com/feathersjs/feathers/security/advisories/GHSA-mp4x-c34x-wv3x
reference_id GHSA-mp4x-c34x-wv3x
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
1
value 7.6
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-23T19:13:28Z/
url https://github.com/feathersjs/feathers/security/advisories/GHSA-mp4x-c34x-wv3x
fixed_packages
0
url pkg:npm/%40feathersjs/authentication-oauth@5.0.40
purl pkg:npm/%40feathersjs/authentication-oauth@5.0.40
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-v7wm-k12a-pfhu
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540feathersjs/authentication-oauth@5.0.40
aliases CVE-2026-27192, GHSA-mp4x-c34x-wv3x
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-k776-tjp4-fbeq
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540feathersjs/authentication-oauth@4.0.0-pre.5