CVE-2026-77360
MEDIUM 6.3CVSS 4.0oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass
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.
- Published
- 16 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-113
- Also known as
- GHSA-j9v4-rhgr-4m5f
- Sources
- NVDJSONOSV GHSA-j9v4-rhgr-4m5fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @orpc/server | < 1.14.8 | 1.14.8 |
References
- https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f · WEB
- https://github.com/middleapi/orpc/issues/1661 · WEB
- https://github.com/middleapi/orpc/pull/1662 · WEB
- https://github.com/middleapi/orpc/releases/tag/v1.14.8 · WEB
- https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77360 · ADVISORY
- https://github.com/middleapi/orpc · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Sep 2026)