Skip to main content
← All vulnerabilities
CVE-2026-77360GHSA-J9V4-RHGR-4M5F

oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.14.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • middleapi orpc

    fixed in 1.14.8

  • @orpc/servernpm

    fixed in 1.14.8

References 5

GitHub · middleapi/orpc