{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.14.8"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "daabded122a89d323357c4c401e879701864cb2f"
            },
            {
              "fixed": "1c8767f41a8a7f428eb15ab9b25668f3a9dced48"
            }
          ],
          "repo": "https://github.com/middleapi/orpc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j9v4-rhgr-4m5f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-113"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77360.json"
  },
  "details": "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.",
  "id": "CVE-2026-77360",
  "modified": "2026-09-18T03:30:27.765204131Z",
  "published": "2026-09-16T18:42:45.816Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/middleapi/orpc/releases/tag/v1.14.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77360.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/middleapi/orpc/security/advisories/GHSA-j9v4-rhgr-4m5f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77360"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/middleapi/orpc/issues/1661"
    },
    {
      "type": "FIX",
      "url": "https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/middleapi/orpc/pull/1662"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass"
}