CVE Professor
/
All CVEs
CVE-2026-129243

CVE-2026-129243 — Geoserver (< 2.27.7) — CWE-863

HIGH CVSS 9 ⚡ EPSS 7,120.0% 🚨 CISA KEV NVD+KEV

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-ows" versions 2.27.7, 2.28.6, and 3.0.2, a service parameter with a prefix, such as service=x/WFS, was resolved to the WFS service by the dispatcher, but service security checked the unresolved name x/WFS. No rule matched, so operations restricted in service security ran without a role check. The default configuration restricts CreateStoredQuery and DropStoredQuery to administrators, so anonymous users could create and delete WFS stored queries. This issue has been patched in versions 2.27.7, 2.28.6, and 3.0.2.

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-ows" versions 2.27.7, 2.28.6, and 3.0.2, a service parameter with a prefix, such as service=x/WFS, was resolved to the WFS service by the dispatcher, but service security checked the unresolved name x/WFS. No rule matched, so operations restricted in service security ran without a role check. The default configuration restricts CreateStoredQuery and DropStoredQuery to administrators, so anonymous users could create and delete WFS stored queries. This issue has been patched in versions 2.27.7, 2.28.6, and 3.0.2.

Active Exploitation Detected — CISA KEV

This vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and is actively exploited in the wild. Patch due date: 2026-11-30

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity High VI:H
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
7,120.0%
30-day probability
In the 99. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE-2026-129243 is a critical Incorrect Authorization vulnerability (CWE-285) in OSGeo GeoServer. The core technical flaw lies in the application's service-level role checking mechanism. GeoServer relies on specific service parameters to determine which security context (role/permission set) should be applied to an incoming request.

The vulnerability occurs because the authorization logic fails to correctly validate or sanitize the service parameter when it is prefixed. An unauthenticated remote attacker can manipulate this parameter to bypass the intended service-level role checks. This allows the attacker to invoke operations that are normally protected by these checks, effectively escalating their privileges from "anonymous" to a higher-privileged service role without valid credentials.

Crucially, this is a bypass vulnerability, not a direct code execution flaw. However, the CVE description explicitly states it can be chained with other vulnerabilities (CVE-2026-129244, CVE-2026-120705, CVE-2026-129245, CVE-2026-129242) to achieve unauthenticated Remote Code Execution (RCE). This indicates that the authorization bypass grants access to an endpoint or functionality that is vulnerable to one of the chained exploits (likely an arbitrary file upload, template injection, or deserialization flaw that requires elevated permissions to trigger).

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies GeoServer instances using standard reconnaissance tools (e.g., Nmap, Shodan, Censys).
  • Version Identification: GeoServer typically exposes version information in HTTP response headers (X-GeoServer-Version), the root page HTML, or via the /web/gs endpoint. The attacker confirms the version is within the affected range (specifically those vulnerable to CVE-2026-129243 and its chain partners).
  • Service Parameter Mapping: The attacker identifies the specific service parameter used for authorization (e.g., service, wfs, wms, or a custom internal parameter). The CVE mentions a "prefixed service parameter," suggesting the parameter name itself or its value is being manipulated.
  • 2. Exploitation

    The attacker crafts a request where the service parameter is prefixed in a way that bypasses the role check. Since the exact parameter name and prefix are not explicitly stated in the CVE description, the following is an illustrative example of the vulnerability class:

    Hypothetical Vulnerable Logic:
    The application checks: if (service == "wfs" && user.hasRole("WFS_ADMIN")) { allow(); }
    The attacker sends: service=prefix_wfs or service=../wfs (depending on the parsing flaw). The authorization check fails to match the strict string, or the prefix causes the parser to skip the role check entirely, defaulting to a permissive state or allowing the request to proceed to a vulnerable handler.

    Illustrative PoC (curl):

    # Illustrative Example - NOT a confirmed exploit payload
    # The exact parameter name and prefix must be discovered via code review or dynamic analysis
    curl -X GET "http://target:8080/geoserver/wfs?service=PREFIXED_WFS&request=GetCapabilities" -H "User-Agent: Mozilla/5.0"

    Chaining for RCE:
    Once the authorization bypass is achieved, the attacker invokes the operation protected by the bypassed check. This operation is likely vulnerable to one of the chained CVEs (e.g., CVE-2026-129244). For instance, if the bypass allows access to a file upload endpoint or a configuration change API that is vulnerable to arbitrary file write or deserialization, the attacker proceeds to:
    1. Upload a malicious JSP webshell or a serialized object.
    2. Trigger the execution of the malicious payload.

    3. Post-exploitation

  • RCE Achievement: The attacker achieves unauthenticated RCE on the GeoServer host.
  • Persistence: The attacker may deploy a reverse shell, modify GeoServer configuration to load malicious plugins, or create a new admin account.
  • Lateral Movement: With RCE, the attacker can pivot to internal networks, exfiltrate sensitive geospatial data, or compromise other services accessible from the GeoServer host.
  • 🌍 Real World Impact

  • Confidentiality (High): Unauthenticated attackers can access sensitive geospatial data, configuration files, and potentially credentials stored in GeoServer.
  • Integrity (High): Attackers can modify geospatial data, corrupt layers, or alter server configurations.
  • Availability (High): RCE allows attackers to crash the server, delete data, or deploy ransomware (though the CVE states "Ransomware: No," the RCE capability makes it a precursor).
  • Practical Consequences:
  • * Data Breach: Exposure of proprietary maps, GIS data, and location information. * Supply Chain Compromise: If GeoServer is used in critical infrastructure (e.g., utilities, transportation), RCE could lead to physical-world impacts. * Active Exploitation: Being on the CISA KEV list means this is being actively exploited in the wild, likely for initial access in larger attacks.

    🛡️ Remediation & Mitigation

    1. Patching

  • Immediate Action: Upgrade GeoServer to the latest version released by OSGeo that includes fixes for CVE-2026-129243 and the chained vulnerabilities (CVE-2026-129244, CVE-2026-120705, CVE-2026-129245, CVE-2026-129242).
  • Check OSGeo Announcements: Monitor the OSGeo GeoServer security mailing list and GitHub repository for the specific patch release. Do not rely on third-party mirrors.
  • 2. Workarounds (If Patching is Delayed)

  • Restrict Access: Limit access to GeoServer to trusted IP addresses only using firewall rules (e.g., iptables, AWS Security Groups).
  • Disable Unnecessary Services: If possible, disable WFS, WMS, or other services that are not strictly required.
  • WAF Rules (ModSecurity):
  • * Block requests with unusual service parameter prefixes. * Example ModSecurity rule (illustrative):
    SecRule ARGS:service "@rx ^[a-zA-Z0-9_]+$" \
                "id:100001,phase:1,deny,status:403,msg:'Invalid service parameter format'"

    Note:* This rule assumes the service parameter should only contain alphanumeric characters and underscores. Adjust based on the actual expected format.

    3. Detection

  • Web Server Logs: Look for requests to GeoServer endpoints with unusual service parameter values.
  • * Example Log Pattern: GET /geoserver/wfs?service=PREFIXED_WFS...
  • GeoServer Logs: Monitor for unauthorized access attempts to protected operations.
  • File Integrity Monitoring (FIM): Monitor for unexpected file creation or modification in GeoServer directories (e.g., webapps, data_dir).
  • Network Traffic Analysis: Look for outbound connections from the GeoServer host to unknown external IPs (indicating data exfiltration or C2 communication).
  • ⚠️ Urgency

  • CVSS Score: 9.0 (CRITICAL)
  • CISA KEV: YES — Actively exploited in the wild.
  • Exploit Complexity: Low (unauthenticated, remote).
  • Priority: IMMEDIATE.
* This vulnerability is being actively exploited. Organizations should treat this as a P1 (Critical) incident. * Patching should be performed within 24-48 hours. * If patching is not possible immediately, implement strict network access controls and monitor for signs of compromise. * Assume compromise if the instance was internet-facing and unpatched. Perform a full forensic investigation.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="OSGeo GeoServer"
PoC & Exploit Intelligence (GitHub)
Crypto-Cat/geoserver-unauth-rce-poc ★ 39 Python 2026-11-30
Proof of concept for a pre-auth GeoServer RCE chain (CVE-2026-129244, CVE-2026-129243, CVE-2026-120705, CVE-2026-129245, CVE-2026-129242) via WFS stored queries
foxcornlab/geoserver-scanner Python 2026-11-28
Detection-only triage for the GeoServer November 2026 batch (CVE-2026-129245/129243/120705/129242/129244 + 14 more) — grades versions against the 3.0.2/2.28.6/2
Technical reference / advisory repository for CVE-2026-129243
Technical reference / advisory repository for CVE-2026-129243
Technical reference / advisory repository for CVE-2026-129243
Technical reference / advisory repository for CVE-2026-129243
CVSS Score
9 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (1)
geoserver:geoserver (< 2.27.7)
Related CVEs
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.4
CVE-2026-115523
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined wit
9.4
CVE-2026-68548
## Summary Algernon's URL-prefix authorization gate matches its protected prefixes (`/admin`, `/repo`, `/data`
8.8
CVE-2026-145077
OpenClaw 2026.9.2 before 2026.10.33 and 2026.11.1 before 2026.11.4 contains an authorization bypass in delegat
8.7
CVE-2026-144607
Tencent WeKnora 0.3.2 through 0.9.1 contains an incorrect authorization vulnerability that allows any self-reg
8.7
CVE-2026-115992
Improper authorization in user role management (the UserAjax.updateUserRoles DWR method used by the Users tool