Skip to content
Heist/ feed
Back to feed
High

pygeoapi: Path Traversal in STAC FileSystemProvider

Type: advisorySources: OSV

pygeoapi is a Python server implementation of the OGC API suite of standards. From version 0.23.0 to before version 0.23.3, a raw string path concatenation vulnerability in pygeoapi's STAC FileSystemProvider plugin can allow for requests to STAC collection based collections to expose directories without authentication. The issue manifests when pygeoapi is deployed without a proxy or web front end that would normalize URLs with .. values, along with a resource of type stac-collection defined in configuration. This issue has been patched in version 0.23.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-42351
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 05:17 UTC · Revision 1

Source evidence

pygeoapi: Path Traversal in STAC FileSystemProvider

core-osv · Original source

Published 8 May 2026, 22:31 UTC

pygeoapi is a Python server implementation of the OGC API suite of standards. From version 0.23.0 to before version 0.23.3, a raw string path concatenation vulnerability in pygeoapi's STAC FileSystemProvider plugin can allow for requests to STAC collection based collections to expose directories without authentication. The issue manifests when pygeoapi is deployed without a proxy or web front end that would normalize URLs with .. values, along with a resource of type stac-collection defined in configuration. This issue has been patched in version 0.23.3.

osv:CVE-2026-42351
Complete source record
{
  "id": "86a0e5df8040dedda0ab7e9c607286a0b19199468542f058f869504cacc83546",
  "url": "https://osv.dev/vulnerability/CVE-2026-42351",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "pygeoapi: Path Traversal in STAC FileSystemProvider",
    "summary": "pygeoapi is a Python server implementation of the OGC API suite of standards. From version 0.23.0 to before version 0.23.3, a raw string path concatenation vulnerability in pygeoapi's STAC FileSystemProvider plugin can allow for requests to STAC collection based collections to expose directories without authentication. The issue manifests when pygeoapi is deployed without a proxy or web front end that would normalize URLs with .. values, along with a resource of type stac-collection defined in configuration. This issue has been patched in version 0.23.3.",
    "evidence": "osv:CVE-2026-42351",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-42351",
      "aliases": [
        "CVE-2026-42351",
        "GHSA-f6pr-83pg-ghh6",
        "PYSEC-2026-2985"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/geopython/pygeoapi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7ff27c13535a78c034a9569d92361074f02ed2cf"
                },
                {
                  "fixed": "a0dcc61664c770fe7b407ddc6daf8d7f93d4dc32"
                },
                {
                  "fixed": "bf25b8695edbdd5476eeffc102b633d1d3e45f52"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.23.0"
                      },
                      {
                        "fixed": "0.23.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bf25b8695edbdd5476eeffc102b633d1d3e45f52"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a0dcc61664c770fe7b407ddc6daf8d7f93d4dc32"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.23.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.23.2",
            "0.23.1",
            "0.23.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42351.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.372460181Z",
      "provider": "osv",
      "references": [
        "https://github.com/geopython/pygeoapi/releases/tag/0.23.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42351.json",
        "https://github.com/geopython/pygeoapi/security/advisories/GHSA-f6pr-83pg-ghh6",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-42351",
        "https://github.com/geopython/pygeoapi/commit/bf25b8695edbdd5476eeffc102b633d1d3e45f52"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42351.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-42351",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500471,
  "published_at": "2026-05-08T22:31:18.001+00:00"
}