CVE-2026-27193: @feathersjs/authentication-oauth Exposes Internal Headers via Unencrypted Session Cookie

Summary

19/02/2026
Yes i
High
8.2

CVE-2026-27193: Feathers exposes internal headers via unencrypted session cookie. Affects @feathersjs/authentication-oauth versions < 5.0.40. Fixed in 5.0.40. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @feathersjs/authentication-oauth package is a part of the Feathers framework, which is designed for building real-time applications and REST APIs using JavaScript or TypeScript. This package specifically facilitates OAuth authentication, allowing developers to integrate third-party authentication services seamlessly. However, it has been identified that the package stores all HTTP request headers in a session cookie that is signed but not encrypted, leading to potential exposure of sensitive internal information.

Vulnerability Detail

The vulnerability arises from the way the @feathersjs/authentication-oauth package handles session cookies. All HTTP request headers are stored in the session cookie, which is base64-encoded but not encrypted. This means that while the cookie is signed to prevent tampering, its contents can be easily decoded by anyone with access to the cookie. In specific deployment scenarios, such as when the application is behind reverse proxies or API gateways, this can lead to the exposure of sensitive internal infrastructure details, including API keys, service tokens, and internal IP addresses. The severity of this vulnerability is rated high, with a CVSS score of 8.2.

How To Fix

Minimum fixed version

5.0.40

This is the first release that contains the fix.

npm install @feathersjs/authentication-oauth@5.0.40

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider not storing sensitive headers in the session cookie. You can modify the code where the headers are assigned to the session to exclude sensitive information. For example, instead of storing all headers, you can selectively store only the necessary ones.

Conclusion

The vulnerability CVE-2026-27193 in the @feathersjs/authentication-oauth package exposes internal headers through an unencrypted session cookie, posing significant security risks. It is crucial to update to the patched version 5.0.40 to mitigate these risks. Additionally, using tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for @feathersjs/authentication-oauth →

Share this vulnerability

FAQ

The session cookie stores all HTTP request headers in a signed but unencrypted format, making it vulnerable to exposure.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.

The risks include exposure of sensitive internal infrastructure details such as API keys, service tokens, and internal IP addresses, which could lead to unauthorized access or data breaches.

Yes, a patch is available in version 5.0.40 of the @feathersjs/authentication-oauth package. It is recommended to update to this version.

If an immediate update is not possible, consider implementing a workaround by modifying the code to avoid storing sensitive headers in the session cookie.

Related vulnerabilities

Recent vulnerabilities recorded for @feathersjs/authentication-oauth.

How To Fix

Minimum fixed version

5.0.40

This is the first release that contains the fix.

npm install @feathersjs/authentication-oauth@5.0.40

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback