CVE-2026-77360: oRPC Vary Header Injection Vulnerability
MODERATECVE-2026-77360 is a MODERATE vary header injection vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')) affecting oRPC libraries in the npm ecosystem. The issue involves vary header injection in cors plugin leading to potential cache/cors bypass. Remediation is available by upgrading affected packages to version 1.14.8.
CVE-2026-77360 at a Glance
How to Fix CVE-2026-77360
To remediate this vulnerability, upgrade all affected oRPC dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @orpc/server@1.14.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @orpc/server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-77360, inspect your project dependencies using npm:
npm ls @orpc/server
Analyze the terminal output to locate any version of oRPC in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.14.8), your application is affected.
Note: The npm ls @orpc/server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'), where the product receives data from an http agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes cr and lf characters before the data is included in outgoing http headers. In oRPC, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-77360 Affected oRPC Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@orpc/server
|
npm |
< 1.14.8
|
1.14.8
|
References
Frequently Asked Questions
What is CVE-2026-77360?
Which oRPC versions are affected?
What version fixes CVE-2026-77360?
Is @orpc/server affected?
What CWE is associated with CVE-2026-77360?
How can I check npm dependencies for CVE-2026-77360?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j9v4-rhgr-4m5f",
"modified" : "2026-09-17T14:52:38Z",
"published" : "2026-09-17T14:52:37Z",
"aliases" : [ "CVE-2026-77360" ],
"summary" : "oRPC: Vary Header Injection in CORS Plugin leading to potential Cache/CORS Bypass",
"details" : "### Summary\nA flaw in the CORS plugin allowed the incoming request's `Vary` header to be reflected into the response, letting a client influence a header that should be controlled solely by the server.\n\n### Details\nThe CORS plugin previously copied the request's `Vary` header directly onto the response instead of treating `Vary` as a response-only header. Because `Vary` tells downstream caches and proxies how to key their cached responses, this allowed a client to inject arbitrary values into the response's `Vary` header, potentially distorting cache-key behavior in shared caches/CDNs sitting in front of an oRPC server and leading to inconsistent CORS enforcement for other clients.\n\nPractical impact is limited to deployments where a shared cache or reverse proxy keys on the `Vary` header; the real-world effect depends on the caching layer's configuration.\n\n### Impact\nMay cause cache key pollution and inconsistent CORS enforcement in setups that rely on shared/edge caches keying on `Vary`. No direct confidentiality, integrity, or availability impact in default (non-cached) configurations.\n\n### Resolution\nUpdate `@orpc/server` (and any other `@orpc/*` packages bundling the CORS plugin) to `1.14.8`. The CORS plugin now derives `Vary` exclusively from the response, appending `Origin` and preserving existing values instead of reflecting request headers.",
"severity" : [ {
"type" : "CVSS_V4",
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@orpc/server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.14.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.14.7"
}
} ],
"references" : [ {
"type" : "WEB",
"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" : "WEB",
"url" : "https://github.com/middleapi/orpc/issues/1661"
}, {
"type" : "WEB",
"url" : "https://github.com/middleapi/orpc/pull/1662"
}, {
"type" : "WEB",
"url" : "https://github.com/middleapi/orpc/commit/daabded122a89d323357c4c401e879701864cb2f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/middleapi/orpc"
}, {
"type" : "WEB",
"url" : "https://github.com/middleapi/orpc/releases/tag/v1.14.8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-113" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-17T14:52:37Z",
"nvd_published_at" : "2026-09-16T19:17:38Z"
}
}