Advisory

GHSA-9m9c-vpv5-9g85

Also known as: CVE-2026-27193

Summary

Feathers exposes internal headers via unencrypted session cookie

Details

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:

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-19 20:32 UTC
Modified
2026-02-23 23:43 UTC

Affected packages and fixes

@feathersjs/authentication-oauth

npm · All systems

Affected

  • introduced 0, fixed 5.0.40 (semver)

Fixed versions

5.0.40

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences