GHSA-9m9c-vpv5-9g85

Suggest an improvement
Source
https://github.com/advisories/GHSA-9m9c-vpv5-9g85
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-9m9c-vpv5-9g85/GHSA-9m9c-vpv5-9g85.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9m9c-vpv5-9g85
Aliases
Published
2026-02-19T20:32:37Z
Modified
2026-02-23T23:43:57.119633Z
Severity
  • 8.2 (High) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2026-02-21T05:17:28Z",
    "github_reviewed_at": "2026-02-19T20:32:37Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / @feathersjs/authentication-oauth

Package

Name
@feathersjs/authentication-oauth
View open source insights on deps.dev
Purl
pkg:npm/%40feathersjs/authentication-oauth

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.40

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-9m9c-vpv5-9g85/GHSA-9m9c-vpv5-9g85.json"
last_known_affected_version_range
"<= 5.0.39"