GitHub Advisoryadvisory · PyPI

GHSA-f6pr-83pg-ghh6 pygeoapi 0.23.x: Path Traversal in STAC FileSystemProvider

HIGH Published 2026-04-29 Modified 2026-05-13 Official page ↗
Aliases
CVE-2026-42351
Ecosystem
PyPI
Packages
pygeoapi
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2026-04-29

Affected packages

• PyPI pygeoapi: >= 0.23.0, < 0.23.3 → fixed in 0.23.3

Description

Impact 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. Patches The issue has been patched in master branch and made available as part of the 0.23.3 release. The commit/fix can be found in bf25b8695edbdd5476eeffc102b633d1d3e45f52. Workarounds Users can safeguard existing applications by disabling STAC collection based resources in their pygeoapi config, until 0.23.3 can be installed and deployed.

Related

Alias · CVE (1)

  • CVE-2026-42351 pygeoapi is a Python server implementation of the OGC API suite of standards. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References