Dev.to Security 🔐 Cybersecurity 👁 0

GeoServer CVE-2026-120705 XML Injection Enables Agent Pipeline

TL;DR: Patch GeoServer to 2.27.7, 2.28.6, or 3.0.2 and sandbox agent web-fetch tools to block unauthenticated WFS XML injection from exfiltrating secrets via indirect prompt injection. CVE-2026-120705 is an unauthentic

TL;DR: Patch GeoServer to 2.27.7, 2.28.6, or 3.0.2 and sandbox agent web-fetch tools to block unauthenticated WFS XML injection from exfiltrating secrets via indirect prompt injection.

CVE-2026-120705 is an unauthenticated XML injection in GeoServer's built-in WFS 2.0 GetFeatureById stored query. Attacker-supplied identifiers are inserted into an XML query template without adequate escaping, permitting injection of additional XML elements including XInclude. A single unauthenticated WFS request can disclose local text files readable by the GeoServer process or trigger server-side HTTP/HTTPS requests to attacker-selected destinations. CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on November 27, 2026, and active exploitation is reported. CVE-2026-120705 advisory

Verified Key Facts

Metric / Signal Finding
CVE ID CVE-2026-120705
CWE CWE-91 XML Injection
Affected GeoServer versions Before 2.27.7, 2.28.x before 2.28.6, 3.0.x before 3.0.2
Fixed GeoServer versions 2.27.7, 2.28.6, 3.0.2
CISA KEV status Added Nov 27, 2026; active exploitation reported
GeoTools gt-metadata fixed versions 33.7, 34.6, 35.2 or newer

Inside the Full Technical Dispatch

  • Threat Model & Attack Surface Matrix
  • Why Naive Prompt Filters Fail
  • Defense-in-Depth & Sandbox Isolation Architecture
  • Runnable Guardrail Policy / Verification Code
  • Operational Tradeoffs & False-Positive Budget

Read the full analysis, runnable configurations, benchmark tables, and primary source citations on Pyvren.

Originally published on Pyvren by Hamdi Soudani.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.