Intel

AIKIDO-2026-804912

encore.dev is vulnerable to Cross-Site Request Forgery (CSRF)

GHSA-wpvj-6m4r-5v3hPublished Jul 31, 2026
July 31, 2026

90

CVE Score

Critical

Cross-Site Request Forgery (CSRF)

Are you affected? Scan for Free

TL;DR

The Encore CLI daemon binds several unauthenticated HTTP servers to loopback addresses, and after they were moved to deterministic ports any website a developer visits can drive them cross-origin from the browser. Affected servers include the MCP introspection server exposing application source, API metadata, databases, logs and traces, the local development dashboard serving captured traces and reverse-proxied API calls, the bucket emulator, and the runtime/trace ingest and pprof endpoints. An Origin header check alone is insufficient because browsers omit Origin on cross-site sub-resource loads, allowing data exfiltration and forged local API calls. The fix adds a shared origin gate that rejects cross-site requests and only allows loopback or non-browser callers.

How do I fix this?

Upgrade the encore.dev library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the Encore CLI daemon (for example via encore run) while browsing untrusted sites in the same browser profile.

Package

Versions

0.0.1 - 1.57.12

Fixed in 1.57.13

Background info

encore.dev is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.0.1 - 1.57.12.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea