Skip to main content
EPSS 0.2%top 88%

CVE-2026-81092: Origin Validation Error in mark3labs mcp-go

0
High
VulnerabilityCVE-2026-81092cvecve-2026-81092
Published: 08/27/2026 (08/27/2026, 14:50:33 UTC)
Source: CVE Database V5
Vendor/Project: mark3labs
Product: mcp-go

Description

CVE-2026-81092 is a high-severity vulnerability in mark3labs mcp-go prior to version 0.56.0. The software accepted HTTP requests on its loopback interface without validating the Host header, allowing cross-origin requests from browser pages to access local services. This flaw could enable a malicious web page to interact with local servers that assume only local software can connect. Version 0.56.0 introduced validation to reject loopback requests with non-loopback Host headers, mitigating this issue.

CVSS v4.0

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

mark3labs

mcp-go

Affected versions
>=0 <0.56.0
GitHub Actionsmore threats →cve
mcp-go
pkg:github/mcp-go
Affected versions
>=0 <0.56.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 12:37:35 UTC

Technical Analysis

The vulnerability in mcp-go versions before 0.56.0 involves the lack of Host header validation on HTTP transports bound to the loopback interface. Specifically, StreamableHTTPServer.ServeHTTP and SSEServer.ServeHTTP served requests regardless of the Host header value, and the SSE transport allowed any origin by default. This allowed a browser page controlled by an attacker to direct requests to the loopback address with arbitrary Host headers, potentially invoking local tools and reading resources exposed by the server under the assumption that only local clients would connect. The fix in version 0.56.0 adds server/http_localhost.go, which rejects loopback-bound requests with Host headers that are not loopback names, securing both HTTP transports.

Potential Impact

The vulnerability allows an attacker controlling a web page to bypass origin restrictions and interact with local services on the loopback interface. This could lead to unauthorized invocation of local tools and access to sensitive resources exposed by mcp-go servers, violating the assumption that only local software can connect. The CVSS 4.0 score of 7.6 reflects high impact due to network attack vector, low attack complexity, partial user interaction, and high impact on confidentiality and integrity.

Mitigation Recommendations

Upgrade mcp-go to version 0.56.0 or later, which includes Host header validation for loopback-bound HTTP requests. This update rejects requests with non-loopback Host headers on the loopback interface, effectively mitigating the vulnerability. No other specific mitigations are indicated by the vendor advisory or data.

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
VulnCheck
Date Reserved
2026-08-26T16:00:30.950Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a906bafacd9273b4983a0e9

Added to database: 08/27/2026, 16:54:07 UTC

Last enriched: 09/08/2026, 12:37:35 UTC

Last updated: 10/11/2026, 18:48:22 UTC

Views: 59

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