{
  "id": "CVE-2026-58400",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58400",
  "published_at": "2026-09-03T17:06:17.827Z",
  "title": "GeoNetwork vulnerable to Remote Code Execution via unsafe Saxon XSLT processor configuration in formatter",
  "vendor": "geonetwork",
  "product": "core-geonetwork",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-17T13:12:01Z",
    "first_seen_at": "2026-11-18T11:13:56.742Z",
    "days_after_publication": 74.8,
    "repo": "c0gnit00/GNSShell",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "GeoNetwork is a catalog application to manage spatially referenced resources. Prior to versions 4.4.12 and 4.2.17, the Saxon XSLT processor used to render formatters is configured without secure processing (`FEATURE_SECURE_PROCESSING`) and without disabling Java extension functions (`ALLOW_EXTERNAL_FUNCTIONS`). Any stylesheet loaded by GeoNetwork can therefore invoke\n`java.lang.Runtime.exec()` or `java.lang.ProcessBuilder` directly, achieving arbitrary command execution as the GeoNetwork process user. A user with sufficient privileges to upload a formatter can deliver a `.xsl` file containing Java extension call that execute arbitrary OS commands with the privileges of the GeoNetwork process. The issue is patched in GeoNetwork versions 4.4.12 and 4.2.17.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [
    {
      "repo": "c0gnit00/GNSShell",
      "url": "https://github.com/c0gnit00/GNSShell",
      "created_at": "2026-11-17T13:12:01Z",
      "first_seen_at": "2026-11-18T11:13:56.742Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-06-08T10:53:02Z"
    },
    {
      "repo": "Cyberuser-hash/CVE-2026-63219",
      "url": "https://github.com/Cyberuser-hash/CVE-2026-63219",
      "created_at": "2026-11-17T14:31:46Z",
      "first_seen_at": "2026-11-18T11:13:56.742Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-06-24T01:53:34Z"
    },
    {
      "repo": "gzzcoo/GeoNetwork-UnauthenticatedRCE",
      "url": "https://github.com/gzzcoo/GeoNetwork-UnauthenticatedRCE",
      "created_at": "2026-11-18T10:26:20Z",
      "first_seen_at": "2026-11-18T11:13:56.742Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-05-24T18:50:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "geonetwork",
        "product": "core-geonetwork",
        "ranges": [
          "\u003e= 4.3.0, \u003c 4.4.12",
          "\u003c 4.2.17"
        ],
        "fixed_in": [
          "4.4.12",
          "4.2.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade core-geonetwork to 4.4.12 or 4.2.17 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-x898-729x-cc3r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/srv/api/records/{var}/formatters/{var}",
      "query_markers": [
        "cmd="
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept",
          "value": "text/html"
        }
      ],
      "user_agents": [
        "GeoNetwork-formatter-chain/1.1",
        "Mozilla/5.0 GNSShell"
      ],
      "protocol": "http",
      "repos": [
        "c0gnit00/GNSShell",
        "gzzcoo/GeoNetwork-UnauthenticatedRCE"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "c0gnit00/GNSShell/gns_rce.py:170",
        "c0gnit00/GNSShell/gnshell.py:280",
        "gzzcoo/GeoNetwork-UnauthenticatedRCE/GeoNetWork-RCE.py:112"
      ]
    },
    {
      "method": "GET",
      "path_template": "/2005/gmd\u0026resulttype=results\u0026elementsetname=brief",
      "protocol": "http",
      "repos": [
        "c0gnit00/GNSShell"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "c0gnit00/GNSShell/gns_rce.py:145",
        "c0gnit00/GNSShell/gnshell.py:250"
      ]
    },
    {
      "method": "GET",
      "path_template": "/srv/api/info",
      "user_agents": [
        "GeoNetwork-formatter-chain/1.1"
      ],
      "protocol": "http",
      "repos": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE/GeoNetWork-RCE.py:70"
      ]
    },
    {
      "method": "GET",
      "path_template": "/srv/api/site",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "protocol": "http",
      "repos": [
        "c0gnit00/GNSShell"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "c0gnit00/GNSShell/gns_rce.py:108",
        "c0gnit00/GNSShell/gns_rce.py:126",
        "c0gnit00/GNSShell/gnshell.py:231"
      ]
    },
    {
      "method": "GET",
      "path_template": "/srv/eng/catalog.search",
      "protocol": "http",
      "repos": [
        "c0gnit00/GNSShell"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "c0gnit00/GNSShell/gns_rce.py:122",
        "c0gnit00/GNSShell/gnshell.py:227"
      ]
    },
    {
      "method": "POST",
      "path_template": "/srv/api/formatters",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "X-Xsrf-Token",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "name=\"file\""
      ],
      "content_type": "multipart/form-data",
      "user_agents": [
        "GeoNetwork-formatter-chain/1.1"
      ],
      "protocol": "http",
      "repos": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE/GeoNetWork-RCE.py:95"
      ]
    },
    {
      "method": "POST",
      "path_template": "/srv/api/formatters/",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "X-Xsrf-Token",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "name=\"file\""
      ],
      "content_type": "multipart/form-data",
      "protocol": "http",
      "repos": [
        "c0gnit00/GNSShell"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "c0gnit00/GNSShell/gns_rce.py:152",
        "c0gnit00/GNSShell/gnshell.py:256"
      ]
    },
    {
      "method": "POST",
      "path_template": "/srv/api/search/records/_search",
      "query_markers": [
        "bucket=metadata"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"query\"",
        "\"size\"",
        "\"_source\""
      ],
      "content_type": "application/json",
      "user_agents": [
        "GeoNetwork-formatter-chain/1.1"
      ],
      "protocol": "http",
      "repos": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "gzzcoo/GeoNetwork-UnauthenticatedRCE/GeoNetWork-RCE.py:76"
      ]
    }
  ],
  "rules": []
}
