Advisory

GHSA-6q9c-m9fr-865m

Also known as: CVE-2025-59163, GO-2025-3986

Summary

vet MCP Server SSE Transport DNS Rebinding Vulnerability

Details

SafeDep vet is vulnerable to a DNS rebinding attack due to lack of HTTP Host and Origin header validation.

To exploit this vulnerability following conditions must be met:

  1. A vet scan is executed and reports are saved as sqlite3 database
  2. A vet MCP server is running on default port with SSE transport that has access to the report database
  3. The attacker lures the victim to attacker controlled website
  4. Attacker leverages DNS rebinding to access vet SSE server on 127.0.0.1 through the website
  5. Attacker uses MCP tools to read information from report database

Impact

Data from vet scan sqlite3 database may be exposed to remote attackers when vet is used as an MCP server in SSE mode with default ports through the sqlite3 query MCP tool.

Patches

  • v1.12.5 is released that patches the issue with Host and Origin header allow list and validation

Workarounds

  • Use stdio (default) transport for SSE server

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-09-29 16:28 UTC
Modified
2025-10-23 20:21 UTC

Affected packages and fixes

github.com/safedep/vet

Go · All systems

Affected

  • introduced 0, fixed 1.12.5 (semver)

Fixed versions

1.12.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences