---
id: CVE-2026-77360
title: >-
  oRPC is an tool that helps build APIs that are end-to-end type-safe and adhere
  to OpenAPI standards
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…
severity: medium
cvss: 6.3
cvssVector: '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'
cwe:
  - CWE-113
vendor: middleapi
product: orpc
affected:
  - orpc < 1.14.8
published: '2026-09-16'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T20:17:31.877'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77360'
references:
  - url: >-
      https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/issues/1661'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/pull/1662'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/releases/tag/v1.14.8'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f'
    label: security-advisories@github.com
  - url: 'https://github.com/middleapi/orpc/issues/1661'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77360'
  - url: 'https://github.com/advisories/GHSA-j9v4-rhgr-4m5f'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - npm
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-16T19:40:46.280651Z'
cvssSource: cna
ingestedAt: '2026-09-16T19:02:30.727Z'
aliases:
  - GHSA-j9v4-rhgr-4m5f
ecosystem: npm
patched:
  - '@orpc/server 1.14.8'
epss: 0.00623
epssPercentile: 0.48522
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-77360)

Affected packages:

- `@orpc/server <= 1.14.7`

Patched in:

- `@orpc/server 1.14.8`

Source: https://github.com/advisories/GHSA-j9v4-rhgr-4m5f
