Skip to main content

CVE-2026-77360: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in middleapi orpc

0
Medium
VulnerabilityCVE-2026-77360cvecve-2026-77360cwe-113
Published: 09/16/2026 (09/16/2026, 18:42:45 UTC)
Source: CVE Database V5
Vendor/Project: middleapi
Product: orpc

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.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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 software

middleapi

orpc

Affected versions
<1.14.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 19:17:08 UTC

Technical Analysis

The vulnerability arises from improper handling of the Vary HTTP header in the orpc @orpc/server CORS plugin before version 1.14.8. Instead of controlling Vary as a response-only header and using Origin for request-origin variation, the plugin copies the client's incoming Vary request header into the response. In deployments behind shared caches, CDNs, or reverse proxies that use Vary to key responses, this allows a client to inject arbitrary variation values, causing cache key pollution and inconsistent CORS enforcement for other clients. The issue is addressed by correcting header handling in version 1.14.8.

Potential Impact

In environments using shared caches, CDNs, or reverse proxies that key responses based on the Vary header, an attacker can manipulate cache keys by injecting arbitrary variation values. This can lead to inconsistent CORS enforcement affecting other clients. However, in default non-cached configurations, there is no direct impact on confidentiality, integrity, or availability.

Mitigation Recommendations

Upgrade to orpc version 1.14.8 or later, where the issue is fixed by proper handling of the Vary header. No additional mitigation is required if upgrading is not immediately possible, but be aware of the risk in shared caching environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-20T19:28:35.245Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aaae7b755bf5e2cf5087553

Added to database: 09/16/2026, 19:02:15 UTC

Last enriched: 09/16/2026, 19:17:08 UTC

Last updated: 09/17/2026, 00:24:36 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses