pygeoapi 0.23.x: Path Traversal in STAC FileSystemProvider
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pygeoapi | >= 0.23.0, < 0.23.3 | 0.23.3 |
References
- 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
- https://github.com/geopython/pygeoapi
- https://github.com/geopython/pygeoapi/releases/tag/0.23.3
- https://pypi.org/project/pygeoapi
- https://github.com/advisories/GHSA-f6pr-83pg-ghh6
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
pygeoapi- Disclosed
- 29.04.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2985 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-f6pr-83pg-ghh6 - CC BY 4.0
Vulnerability history: pygeoapi
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 04.2026 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2026: 2
-
pygeoapi 0.23.x: Path Traversal in STAC FileSystemProvider this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.