CVE-2026-42351
JSON

7.5high

pygeoapi: Path Traversal in STAC FileSystemProvider

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.51% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f6pr-83pg-ghh6PYSEC-2026-2985

Description

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.

Affected

Product or packageVersionsReported by
geopython pygeoapi>= 0.23.0, < 0.23.3CVE List
pygeoapi (PyPI)from 0.23.0 before 0.23.3GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

NVD (es)

pygeoapi es una implementación de servidor Python de la suite de estándares OGC API. Desde la versión 0.23.0 hasta antes de la versión 0.23.3, una vulnerabilidad de concatenación de rutas de cadena sin procesar en el plugin STAC FileSystemProvider de pygeoapi puede permitir que las solicitudes a colecciones basadas en colecciones STAC expongan directorios sin autenticación. El problema se manifiesta cuando pygeoapi se despliega sin un proxy o un front-end web que normalizaría las URL con valores .., junto con un recurso de tipo stac-collection definido en la configuración. Este problema ha sido parcheado en la versión 0.23.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42351 changed 2026-05-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-f6pr-83pg-ghh6 changed 2026-07-13CC-BY-4.0
NVDCVE-2026-42351 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-2985 changed 2026-07-13CC-BY-4.0