# CVE-2026-77360: oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T18:42:45.816Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-j9v4-rhgr-4m5f
- Weaknesses: CWE-113
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- middleapi orpc: < 1.14.8
- @orpc/server (npm): before 1.14.8

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/middleapi/orpc/issues/1661> (exploit, web)
- <https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f> (web)
- <https://github.com/middleapi/orpc/pull/1662> (web)
- <https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f> (web)
- <https://github.com/middleapi/orpc/releases/tag/v1.14.8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-77360> (advisory)
- <https://github.com/middleapi/orpc> (package)

## Sources

- CVE List: [CVE-2026-77360](https://www.cve.org/CVERecord?id=CVE-2026-77360), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-j9v4-rhgr-4m5f](https://github.com/advisories/GHSA-j9v4-rhgr-4m5f), CC-BY-4.0, modified 2026-09-17
- NVD: [CVE-2026-77360](https://nvd.nist.gov/vuln/detail/CVE-2026-77360), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-77360 · Whole record: https://cve.day/CVE-2026-77360.json · Rebuilt by cve.day 2026-11-25T22:59:39.098Z
