{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:tidewave-ai:tidewave:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Tidewave'","'Elixir.Tidewave.Router'"],"packageName":"tidewave","packageURL":"pkg:hex/tidewave","product":"tidewave","programFiles":["lib/tidewave.ex","lib/tidewave/router.ex"],"programRoutines":[{"name":"'Elixir.Tidewave':tidewave_config_meta/1"},{"name":"'Elixir.Tidewave':call/2"},{"name":"'Elixir.Tidewave.Router':call/2"}],"repo":"https://github.com/tidewave-ai/tidewave_phoenix","vendor":"tidewave-ai","versions":[{"lessThan":"0.9.2","status":"affected","version":"0.8.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:tidewave-ai:tidewave:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Tidewave'","'Elixir.Tidewave.Router'"],"packageName":"tidewave-ai/tidewave_phoenix","packageURL":"pkg:github/tidewave-ai/tidewave_phoenix","product":"tidewave","programFiles":["lib/tidewave.ex","lib/tidewave/router.ex"],"programRoutines":[{"name":"'Elixir.Tidewave':tidewave_config_meta/1"},{"name":"'Elixir.Tidewave':call/2"},{"name":"'Elixir.Tidewave.Router':call/2"}],"repo":"https://github.com/tidewave-ai/tidewave_phoenix","vendor":"tidewave-ai","versions":[{"lessThan":"80159536f752dc4d34797934d1516f29cea12b50","status":"affected","version":"f78352b56d19cd4ae49999aa385011cef73e8b93","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:tidewave-ai:tidewave:*:*:*:*:*:*:*:*","versionEndExcluding":"0.9.2","versionStartIncluding":"0.8.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Neil Berkman"},{"lang":"en","type":"reporter","value":"Neil Berkman"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-10-23T13:15:52.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An attacker can read the name of filesystem paths of your application present via Tidewave configuration via /tidewave/connect or via the rendered toolbar.</p>\n<p>Neither response checks the <code>Host</code> header. A web page that rebinds its own domain to the loopback address can therefore read the tag with a same-origin request, which carries no <code>Origin</code> header. The paths usually reveal the local username and the project layout.</p>\n<p>This issue affects tidewave: from 0.8.0 before 0.9.2.</p>"},{"base64":false,"type":"text/markdown","value":"An attacker can read the name of filesystem paths of your application present via Tidewave configuration via /tidewave/connect or via the rendered toolbar.\n\nNeither response checks the `Host` header. A web page that rebinds its own domain to the loopback address can therefore read the tag with a same-origin request, which carries no `Origin` header. The paths usually reveal the local username and the project layout.\n\nThis issue affects tidewave: from 0.8.0 before 0.9.2."}],"value":"An attacker can read the name of filesystem paths of your application present via Tidewave configuration via /tidewave/connect or via the rendered toolbar.\n\nNeither response checks the Host header. A web page that rebinds its own domain to the loopback address can therefore read the tag with a same-origin request, which carries no Origin header. The paths usually reveal the local username and the project layout.\n\nThis issue affects tidewave: from 0.8.0 before 0.9.2."}],"impacts":[{"capecId":"CAPEC-170","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A malicious web page that a developer visits while the Phoenix development server runs can learn the developer's username, project location, and dependency layout on disk. This information helps an attacker prepare further attacks against the machine.</p>"},{"base64":false,"type":"text/markdown","value":"A malicious web page that a developer visits while the Phoenix development server runs can learn the developer's username, project location, and dependency layout on disk. This information helps an attacker prepare further attacks against the machine."}],"value":"A malicious web page that a developer visits while the Phoenix development server runs can learn the developer's username, project location, and dependency layout on disk. This information helps an attacker prepare further attacks against the machine."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-497","description":"CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-27T15:47:36.862Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"EEF CNA record for CVE-2026-109823","tags":["related","third-party-advisory"],"url":"https://cna.erlef.org/cves/CVE-2026-109823.html"},{"name":"OSV record EEF-CVE-2026-109823","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-109823"},{"name":"Introducing commit f78352b in tidewave-ai/tidewave_phoenix","tags":["related"],"url":"https://github.com/tidewave-ai/tidewave_phoenix/commit/f78352b56d19cd4ae49999aa385011cef73e8b93"},{"name":"Fix commit 8015953 in tidewave-ai/tidewave_phoenix","tags":["patch"],"url":"https://github.com/tidewave-ai/tidewave_phoenix/commit/80159536f752dc4d34797934d1516f29cea12b50"}],"source":{"discovery":"UNKNOWN"},"title":"Host filesystem path disclosure via DNS rebinding","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Run a Phoenix or Plug application with <code>plug Tidewave</code> on <code>127.0.0.1:4001</code>.</li>\n<li>From a loopback peer, send <code>GET /tidewave/connect</code> with <code>Host: attacker.example:4001</code> and <code>Sec-Fetch-Site: same-origin</code>, and no <code>Origin</code> header. This is the request a DNS-rebound page makes.</li>\n<li>The server answers <code>200 OK</code>. The <code>tidewave:config</code> meta tag contains the absolute project root and the dependency paths.</li>\n<li>Send the same request to any HTML route of the application. The injected toolbar tag contains the same data.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Run a Phoenix or Plug application with `plug Tidewave` on `127.0.0.1:4001`.\n2. From a loopback peer, send `GET /tidewave/connect` with `Host: attacker.example:4001` and `Sec-Fetch-Site: same-origin`, and no `Origin` header. This is the request a DNS-rebound page makes.\n3. The server answers `200 OK`. The `tidewave:config` meta tag contains the absolute project root and the dependency paths.\n4. Send the same request to any HTML route of the application. The injected toolbar tag contains the same data."}],"value":"* Run a Phoenix or Plug application with plug Tidewave on 127.0.0.1:4001.\n* From a loopback peer, send GET /tidewave/connect with Host: attacker.example:4001 and Sec-Fetch-Site: same-origin, and no Origin header. This is the request a DNS-rebound page makes.\n* The server answers 200 OK. The tidewave:config meta tag contains the absolute project root and the dependency paths.\n* Send the same request to any HTML route of the application. The injected toolbar tag contains the same data."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Data collection.</strong> <code>Tidewave.tidewave_config_meta/1</code> builds a map with <code>root</code> (<code>Tidewave.MCP.root()</code>), <code>framework.app_paths</code> (<code>Mix.Project.deps_paths()</code>), <code>wsl_distro</code>, and <code>host_path</code>. It HTML-escapes the JSON encoding of the map into <code>&lt;meta name=\"tidewave:config\"&gt;</code>.</p>\n<p><strong>2. Exposure.</strong> <code>Tidewave.Router.control_html/1</code> serves the tag on <code>GET /tidewave/connect</code>. For all other routes, <code>Tidewave.call/2</code> registers a <code>before_send</code> callback that injects the tag into every <code>text/html</code> response when <code>toolbar: true</code>.</p>\n<p><strong>3. Read access.</strong> <code>check_origin/2</code> accepts any request without an <code>Origin</code> header, and no code validates <code>Host</code>. After DNS rebinding, the browser sends a same-origin <code>GET</code> from a loopback peer.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Data collection.** `Tidewave.tidewave_config_meta/1` builds a map with `root` (`Tidewave.MCP.root()`), `framework.app_paths` (`Mix.Project.deps_paths()`), `wsl_distro`, and `host_path`. It HTML-escapes the JSON encoding of the map into `<meta name=\"tidewave:config\">`.\n\n**2. Exposure.** `Tidewave.Router.control_html/1` serves the tag on `GET /tidewave/connect`. For all other routes, `Tidewave.call/2` registers a `before_send` callback that injects the tag into every `text/html` response when `toolbar: true`.\n\n**3. Read access.** `check_origin/2` accepts any request without an `Origin` header, and no code validates `Host`. After DNS rebinding, the browser sends a same-origin `GET` from a loopback peer."}],"value":"1. Data collection. Tidewave.tidewave_config_meta/1 builds a map with root (Tidewave.MCP.root()), framework.app_paths (Mix.Project.deps_paths()), wsl_distro, and host_path. It HTML-escapes the JSON encoding of the map into <meta name=\"tidewave:config\">.\n\n2. Exposure. Tidewave.Router.control_html/1 serves the tag on GET /tidewave/connect. For all other routes, Tidewave.call/2 registers a before_send callback that injects the tag into every text/html response when toolbar: true.\n\n3. Read access. check_origin/2 accepts any request without an Origin header, and no code validates Host. After DNS rebinding, the browser sends a same-origin GET from a loopback peer."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-109823","datePublished":"2026-10-27T15:47:36.862Z","dateReserved":"2026-10-23T13:00:02.150Z","dateUpdated":"2026-10-27T15:47:36.862Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}