{"id":"CVE-2026-77360","state":"PUBLISHED","title":"oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass","description":"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.","publishedAt":"2026-09-16T18:42:45.816Z","updatedAt":"2026-09-16T19:40:51.991Z","severity":{"score":6.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["middleapi orpc"],"affected":[{"vendor":"middleapi","product":"orpc","versions":[{"version":"< 1.14.8","status":"affected"}]}],"references":["https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f","https://github.com/middleapi/orpc/issues/1661","https://github.com/middleapi/orpc/pull/1662","https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f","https://github.com/middleapi/orpc/releases/tag/v1.14.8"],"weaknesses":["CWE-113"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77360.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77360","state":"PUBLISHED","datePublished":"2026-09-16T18:42:45.816Z","dateUpdated":"2026-09-16T19:40:51.991Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T19:28:35.245Z"},"containers":{"cna":{"title":"oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"middleapi","product":"orpc","versions":[{"version":"< 1.14.8","status":"affected"}]}],"references":[{"url":"https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f","name":"https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/middleapi/orpc/issues/1661","name":"https://github.com/middleapi/orpc/issues/1661","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/pull/1662","name":"https://github.com/middleapi/orpc/pull/1662","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f","name":"https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f","tags":["x_refsource_MISC"]},{"url":"https://github.com/middleapi/orpc/releases/tag/v1.14.8","name":"https://github.com/middleapi/orpc/releases/tag/v1.14.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-113","lang":"en","description":"CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-16T18:42:45.816Z"},"source":{"advisory":"GHSA-j9v4-rhgr-4m5f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/middleapi/orpc/issues/1661","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-16T19:40:46.280651Z","id":"CVE-2026-77360","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-16T19:40:51.991Z"}}]}}}