Skip to main content
Vulnerability Database/CVE-2026-97875

CVE-2026-97875: Rojo HTTP API DNS Rebinding Vulnerability

CVE-2026-97875 is a DNS rebinding flaw in Rojo's serve HTTP API that enables attackers to read project source, write malicious code, and launch programs without user interaction. This article covers technical details, exploitation risks, and mitigation methods.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97875 Overview

CVE-2026-97875 affects Rojo, a Rust-based project management tool used by Roblox developers to sync files between a filesystem and Roblox Studio. The rojo serve HTTP API, which listens on default port 34872, fails to validate Host and Origin request headers. This omission exposes the local service to DNS rebinding attacks from any webpage a developer visits. A malicious site can read all project source files, write attacker-controlled code to disk, and trigger local program execution through opener::open(). The flaw is tracked as CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action.

Critical Impact

A single webpage visit while rojo serve is running can lead to arbitrary file read, arbitrary file write, and local program launch on the developer workstation.

Affected Products

  • Rojo (rojo-rbx) — versions prior to the fix in pull request #1270
  • Rust crate rojo as published through crates.io and tracked by RUSTSEC-2026-0279
  • Developer workstations running rojo serve on the default port 34872

Discovery Timeline

  • 2026-09-25 - CVE-2026-97875 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-97875

Vulnerability Analysis

Rojo exposes a local HTTP API that Roblox Studio and tooling query during development. The server accepts any request whose TCP connection reaches port 34872, regardless of the hostname used in the client's Host header. Because browsers freely send cross-origin requests to private IP ranges when the DNS answer points there, an attacker-controlled domain can first resolve to a public IP, then rebind to 127.0.0.1 after the browser caches the origin. Subsequent requests from the attacker's JavaScript are treated by the browser as same-origin with the attacker's page, yet the TCP destination is the local Rojo server. The API then returns project source, accepts write operations against files on disk, and invokes opener::open() for URIs supplied by the request. The combination of file read, file write, and local program launch transforms a browsing session into full developer-account compromise.

Root Cause

The root cause is missing origin validation on the HTTP server. Rojo does not inspect the Host header against an allowlist of loopback values, does not require a shared secret or token, and does not check the Origin or Referer headers for cross-origin requests. Without these controls, the service cannot distinguish a legitimate request from Roblox Studio from a cross-origin fetch issued by a malicious page.

Attack Vector

Exploitation requires that a developer runs rojo serve and then visits an attacker-controlled webpage in the same session. The page serves JavaScript that performs DNS rebinding, waits for the browser to refresh its DNS record to 127.0.0.1:34872, and then issues API calls to the Rojo endpoint. No credentials, prompts, or additional user interaction are required beyond page navigation. See the vendor fix in rojo pull request #1270 and the advisory at OSV RUSTSEC-2026-0279 for technical details.

Detection Methods for CVE-2026-97875

Indicators of Compromise

  • Unexpected inbound HTTP requests to 127.0.0.1:34872 from browser processes rather than Roblox Studio
  • Host headers on requests to the Rojo API containing non-loopback hostnames or attacker-controlled domains
  • Writes to project files on developer workstations immediately followed by browser activity
  • Child processes launched by the rojo binary that correspond to URIs or executables not initiated by the developer

Detection Strategies

  • Enable HTTP access logging on the Rojo server and alert on requests whose Origin header is not null or a loopback value
  • Monitor endpoints for rojo processes spawning unexpected child processes through opener::open()
  • Correlate browser process network connections to port 34872 with simultaneous file modifications in known Rojo project directories

Monitoring Recommendations

  • Track command-line invocations of rojo serve across developer fleets and inventory which workstations are exposed
  • Collect DNS query telemetry and flag short-TTL responses that resolve to RFC1918 or loopback addresses, a hallmark of DNS rebinding
  • Review endpoint telemetry for process trees where a browser is followed by file writes under source-controlled directories

How to Mitigate CVE-2026-97875

Immediate Actions Required

  • Upgrade Rojo to the version containing pull request #1270, which adds Host header validation
  • Stop any running rojo serve instances on untrusted or shared networks until the patched version is deployed
  • Instruct developers to close rojo serve sessions when not actively syncing with Roblox Studio

Patch Information

The maintainers addressed the issue by validating the Host header on incoming HTTP requests, rejecting anything that is not a loopback value. The fix is tracked in rojo pull request #1270 and advisory RUSTSEC-2026-0279. Update through cargo install rojo or the distribution channel used by your team.

Workarounds

  • Bind rojo serve only to a loopback interface and firewall off port 34872 from all external interfaces
  • Use host-based firewall rules to block outbound browser connections to 127.0.0.1:34872 for processes other than Roblox Studio
  • Avoid browsing untrusted sites in the same session where rojo serve is active
bash
# Configuration example: block external access to the Rojo API with iptables
sudo iptables -A INPUT -p tcp --dport 34872 ! -i lo -j DROP
sudo iptables -A OUTPUT -p tcp --dport 34872 ! -o lo -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.