{"id":"CVE-2026-27193","aliases":["CVE-2026-27193","GHSA-9m9c-vpv5-9g85"],"related":[],"kind":"vulnerability","state":"published","title":"Feathers exposes internal headers via unencrypted session cookie","summary":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. In versions 5.0.39 and below, 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, then 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. This issue has been fixed in version 5.0.40.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. In versions 5.0.39 and below, 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, then 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. This issue has been fixed in version 5.0.40.","source":"cvelist"},{"lang":"en","text":"All HTTP request headers are stored in the session cookie, which is signed but not encrypted, exposing internal proxy/gateway headers to clients.\n\nThe OAuth service stores the complete headers object in the session:\n```javascript\n// https://github.com/feathersjs/feathers/blob/dove/packages/authentication-oauth/src/service.ts#L173\nsession.headers = headers;\n```\n\nThe 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.\n\nUnder 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.\n\n**Credits**:  Abdelwahed Madani Yousfi (@vvxhid) / Edoardo Geraci (@b0-n0-b0) / Thomas Rinsma (@ThomasRinsma) From Codean Labs.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Feathersjs es un framework para crear API web y aplicaciones en tiempo real con TypeScript o JavaScript. En las versiones 5.0.39 e inferiores, todos los encabezados de solicitud HTTP se almacenan en la cookie de sesión, la cual está firmada pero no cifrada, exponiendo los encabezados internos de proxy/gateway a los clientes. El servicio OAuth almacena el objeto completo de encabezados en la sesión, luego la sesión se persiste utilizando cookie-session, que codifica los datos en base64. Aunque la cookie está firmada para evitar la manipulación, el contenido es legible por cualquiera simplemente decodificando el valor base64. Bajo configuraciones de despliegue específicas (por ejemplo, detrás de proxies inversos o gateways de API), esto puede llevar a la exposición de detalles sensibles de la infraestructura interna, como claves de API, tokens de servicio y direcciones IP internas. Este problema ha sido solucionado en la versión 5.0.40.","source":"nvd"}],"published":"2026-02-19T20:32:37.000Z","modified":"2026-06-17T10:26:49.503Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"< 5.0.40","status":"affected"}],"vendor":"feathersjs","product":"feathers","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.0.40"}],"ecosystem":"npm","package":"@feathersjs/authentication-oauth","purl":"pkg:npm/%40feathersjs/authentication-oauth","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.40"}],"vendor":"feathersjs","product":"feathers","cpe":"cpe:2.3:a:feathersjs:feathers:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/feathersjs/feathers/security/advisories/GHSA-9m9c-vpv5-9g85","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/feathersjs/feathers/commit/ee19a0ae9bc2ebf23b1fe598a1f7361981b65401","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/feathersjs/feathers/releases/tag/v5.0.40","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27193","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/feathersjs/feathers","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-25T21:24:07.337Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27193","url":"https://www.cve.org/CVERecord?id=CVE-2026-27193","licence":"CVE Terms of Use","modified":"2026-02-25T21:24:17.388Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9m9c-vpv5-9g85","url":"https://github.com/advisories/GHSA-9m9c-vpv5-9g85","licence":"CC-BY-4.0","modified":"2026-02-23T23:43:57.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27193","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27193","licence":"Public domain","modified":"2026-06-17T10:26:49.503Z"}],"updatedAt":"2026-11-25T22:59:14.594Z","epss":{"score":0.00392,"percentile":0.35509,"date":"2026-12-01T12:00:22.000Z"}}