Skip to main content

Genkit Dev UI EUVDEUVD-2026-56240

| CVE-2026-67179 HIGH
Improper Neutralization of HTTP Headers for Scripting Syntax (CWE-644)
2026-08-11 cisa-cg GHSA-vj3w-h7v3-5rpr
7.8
CVSS 3.1 · Vendor: cisa-cg
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker sets short-TTL malicious DNS record
  2. Delivery
    Developer visits attacker-controlled webpage
  3. Exploit
    DNS TTL expires, record re-resolves to 127.0.0.1
  4. Execution
    Browser POSTs crafted request to localhost:4000/api/runAction
  5. Persist
    Dev server executes registered Genkit action without host validation
  6. Impact
    Attacker reads response containing action output

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP header neutralization
Exploitation Conditions

The Genkit Dev UI server must be actively running on the developer's machine (it runs during local development sessions, not in production). The server must be reachable on port 4000, which is the default. For the DNS rebinding path, the developer must visit an attacker-controlled website while the Dev UI is running - browsers cannot forge the Host header, but DNS rebinding circumvents the same-origin policy by re-resolving the attacker's domain to 127.0.0.1 after the page loads. For the local-network path, any host on the same network segment as the developer's machine can reach port 4000 directly, with no interaction required from the developer beyond having the server running. No authentication credentials are required on the dev server itself (it is an unauthenticated local tool by design). Exploitation is limited to: developer workstations only (not production servers), the active development session window (server must be running), and Genkit-specific action invocations (attacker is constrained to the actions registered in the running Genkit app). Non-default GENKIT_DEV_SERVER_HOST configurations that explicitly expose the server on a non-loopback interface are out of scope - those are intentional opt-outs by the developer.

Impact

The official CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) scores 7.8 and is consistent with the attack model: the target is a local dev server (AV:L), attack complexity is low once the developer visits a malicious page (AC:L), no authentication is required on the dev server (PR:N), but developer interaction is mandatory - the developer must visit an attacker website for DNS rebinding, or the attacker must already be on the same local network (UI:R). Real-world risk is bounded by deployment context: this vulnerability affects only developer workstations running the Genkit Dev UI, not production Genkit deployments. The C/I/A:H ratings reflect the ability to invoke any registered Genkit action - including model APIs, data flows, and custom tool integrations - which can expose secrets, trigger costly API calls, or corrupt development state. No EPSS score was provided, and no CISA KEV listing exists, indicating no confirmed widespread active exploitation. The CISA CSAF advisory (va-26-223-01.json) and 'reported by cisa-cg' attribution suggest this was flagged through coordinated vulnerability disclosure rather than incident response. Risk is real but scoped: developers actively working on Genkit projects with the Dev UI running are the only affected population.

Exploit ScenarioDerived

An attacker registers a domain (e.g., evil.attacker.com) and sets a very short DNS TTL. They serve a page that, once loaded in the developer's browser, waits for the TTL to expire and then updates the DNS record to resolve to 127.0.0.1. The browser - treating the domain as still same-origin - then POSTs arbitrary payloads to http://evil.attacker.com:4000/api/runAction, which the dev server (now receiving a request addressed to loopback) processes without Host validation, executing a registered Genkit action such as a model inference call or a custom flow that accesses local resources, and returning the full result to the attacker's page via JavaScript. No public exploit code has been identified at time of analysis, but DNS rebinding toolkits (e.g., Singularity) are widely available and trivially adaptable to this target.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

DNS rebinding and local-network exposure in the Genkit Developer UI server (default port 4000) allows any attacker-controlled website visited by the developer, or any host on the developer's local network, to invoke POST /api/runAction and execute arbitrary registered Genkit actions, reading full results. The root cause is absent Host header validation combined with the server binding to all network interfaces rather than loopback only. No public exploit or CISA KEV listing has been identified; the upstream fix was merged on 2026-06-18 per GitHub PR #5587 and independently corroborated by a CISA CSAF advisory.

RemediationAI

Update to a Genkit release incorporating the fix from PR #5587 (merged 2026-06-18); this is the primary and complete remediation as confirmed by the upstream patch. The fix both adds the rejectNonLoopbackHost Express middleware and restricts the server's bind address to loopback. Developers who cannot update immediately should apply two compensating controls: first, set the environment variable GENKIT_DEV_SERVER_HOST to 'localhost' or '127.0.0.1' explicitly if their installation supports it - this is the escape hatch the new code provides and enforces loopback binding; second, use browser-level DNS rebinding protections such as enabling Chrome's experimental DNS rebinding protection flag or running a local DNS resolver that blocks external domains from resolving to RFC 1918 addresses. Avoid running the Genkit Dev UI on machines connected to untrusted networks (public Wi-Fi, shared office segments). The CISA CSAF advisory is at https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-223-01.json. Note that the patched exact npm package version number is not independently confirmed from available data - verify the fix version against the npm registry or GitHub releases.

Affected VersionsENISA

genkit 0 <2026-06-18

Affected Packages

euvd genkit fix: 2026-06-18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Genkit (cpe:2.3:a:genkit-ai:genkit:*:*:*:*:*:*:*:*) is Google's open-source framework for building AI-powered applications in Node.js. Its development workflow includes a local Dev UI Express server that exposes internal action-dispatch endpoints - most critically POST /api/runAction - used to trigger model calls, flows, and other registered Genkit actions. Before the fix, this server bound to all network interfaces and applied no Host header validation, violating CWE-644 (Improper Neutralization of HTTP Headers for Scripting Syntax). DNS rebinding exploits this by having the developer's browser request a page from an attacker domain whose DNS TTL expires and is re-resolved to 127.0.0.1; the browser then treats subsequent requests as same-origin and forwards them to localhost:4000 with the attacker's chosen Host header. The fix (PR #5587) introduces a new dev-server-security.ts module with rejectNonLoopbackHost Express middleware that validates the Host header against loopback values (localhost, 127.0.0.1, ::1, *.localhost) and simultaneously changes the server's bind address from wildcard to 'localhost' via getDevServerHost(), closing both the DNS rebinding and local-network attack paths in a single change.

Know when Genkit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (cisa-cg) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

AV:L because the target is a local dev server; PR:N because the dev server has no authentication; UI:R because DNS rebinding requires the developer to visit an attacker page.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (cisa-cg).

CVSS VectorVendor: cisa-cg

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Genkit does not properly validate host request headers. Any host on the developer's network, and any website the developer visits (via DNS rebinding), can reach POST /api/runAction on the Dev UI server (default port 4000) and execute any registered Genkit action and read the result. Fixed on 2026-06-18.

Executive ViewAI

Why It Matters

Google Genkit Developer UI (port 4000) contains a network exposure vulnerability (CVSS 7.8) that allows attackers to execute application actions on developers' machines and access results. No public exploit identified at time of analysis, but any website a developer visits could trigger unauthorized access to proprietary application logic, data processing flows, and credentials-creating supply chain and intellectual property risks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
developer-only tool for Google's Genkit AI framework, niche footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy