oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass
Published Sep 16, 2026
6.3
MEDIUMCVSS 4.0
EPSS 0.54%
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.
Affected products
-
- Version < 1.14.8StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
@orpc/server
npm
Introduced 0 Fixed 1.14.8
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @orpc/server | 0 | 1.14.8 |
Remediation
No remediation recorded yet.
References (8)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-80991 Advisory
- https://github.com/advisories/GHSA-j9v4-rhgr-4m5f Advisory
- https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f x_refsource_MISC
- https://github.com/middleapi/orpc/issues/1661 exploitx_refsource_MISC
- https://github.com/middleapi/orpc/pull/1662 x_refsource_MISC
- https://github.com/middleapi/orpc/releases/tag/v1.14.8 x_refsource_MISC
- https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-77360
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-80991 | Advisory | |
| https://github.com/advisories/GHSA-j9v4-rhgr-4m5f | Advisory | |
| https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f | x_refsource_MISC | |
| https://github.com/middleapi/orpc/issues/1661 | exploitx_refsource_MISC | |
| https://github.com/middleapi/orpc/pull/1662 | x_refsource_MISC | |
| https://github.com/middleapi/orpc/releases/tag/v1.14.8 | x_refsource_MISC | |
| https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-77360 |
Change history (0)
No recorded changes yet.