{"id":"CVE-2026-77360","published":"2026-09-16T18:42:45Z","modified":"2026-09-16T19:40:51Z","title":"oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass","vendor":"middleapi","product":"orpc","tier":"tail","description":{"text":"oRPC is an tool that helps build APIs that are end-to-end type-safe and adhere to OpenAPI standards. Prior to 1.14.8, the @orpc/server CORS plugin in packages/server/src/plugins/cors.ts copies a client's incoming Vary request header into the response instead of controlling Vary as a response-only header and using Origin for request-origin variation. In deployments behind a shared cache, CDN, or reverse proxy that keys responses using Vary, a client can inject arbitrary variation values, pollute cache keys, and cause inconsistent CORS enforcement for other clients. Default non-cached configurations have no established direct confidentiality, integrity, or availability impact. This issue is fixed in version 1.14.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00543,"percentile":0.46513,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/middleapi/orpc/issues/1661","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/pull/1662","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/releases/tag/v1.14.8","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"middleapi","affectedVersions":[{"vendor":"middleapi","product":"orpc","versions":["< 1.14.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T19:40:46.280651Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@orpc/server","vulnerableRanges":["<1.14.8"],"patched":["1.14.8"],"from":["GHSA-j9v4-rhgr-4m5f"],"provenance":"source"}],"summary":{"text":"The oRPC library's CORS plugin in @orpc/server (versions before 1.14.8) echoes a client's incoming Vary request header into responses instead of setting Vary correctly as a response header keyed on Origin. An attacker who can send requests over the network to a deployment that sits behind a shared cache, CDN, or reverse proxy that keys on Vary can inject arbitrary variation values to pollute cache keys and cause inconsistent CORS behaviour for other clients, with no authentication or user interaction required and no effect in default non-cached configurations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:52Z"},"euvd":{"id":"EUVD-2026-80991","exploited":false,"provenance":"source"}}