CVE-2026-77360
published medium CVSS 4.0 · 6.3oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| middleapi | — | orpc< 1.14.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| middleapi | orpc | < 1.14.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-113 CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
References
5- https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f
- https://github.com/middleapi/orpc/issues/1661
- https://github.com/middleapi/orpc/pull/1662
- https://github.com/middleapi/orpc/releases/tag/v1.14.8
- https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f
Provider assertions
2GitHub_M · cna
oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2d2e18f11be451ce3818dfa30e8fa8fe5103c905da7e1afdab9d6a39f1c11312
- Ingested
- 23 Sep 2026, 09:32:39 UTC
- Source record
- Official CVE record