# CVE-2026-27192: Feathers has an origin validation bypass via prefix matching

- Severity: High 7.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-02-19T20:32:28.000Z
- Modified: 2026-06-17T10:26:49.387Z
- Also known as: GHSA-mp4x-c34x-wv3x
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- feathersjs feathers: < 5.0.40; before 5.0.40
- @feathersjs/authentication-oauth (npm): before 5.0.40

## Every score

- GitHub_M: CVSS:4.0 7.6 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/feathersjs/feathers/security/advisories/GHSA-mp4x-c34x-wv3x> (third-party-advisory, web)
- <https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401> (patch, web)
- <https://github.com/feathersjs/feathers/releases/tag/v5.0.40> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27192> (advisory)
- <https://github.com/feathersjs/feathers> (package)

## Sources

- CVE List: [CVE-2026-27192](https://www.cve.org/CVERecord?id=CVE-2026-27192), CVE Terms of Use, modified 2026-02-23
- GitHub Advisory Database: [GHSA-mp4x-c34x-wv3x](https://github.com/advisories/GHSA-mp4x-c34x-wv3x), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-27192](https://nvd.nist.gov/vuln/detail/CVE-2026-27192), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27192 · Whole record: https://cve.day/CVE-2026-27192.json · Rebuilt by cve.day 2026-11-25T22:59:14.594Z
