{"id":"PYSEC-2026-2985","summary":"pygeoapi 0.23.x: Path Traversal in STAC FileSystemProvider","details":"### Impact\nA 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.\n\n### Patches\nThe issue has been patched in master branch and made available as part of the 0.23.3 release.\n\nThe commit/fix can be found in [bf25b8695edbdd5476eeffc102b633d1d3e45f52](https://github.com/geopython/pygeoapi/commit/bf25b8695edbdd5476eeffc102b633d1d3e45f52).\n### Workarounds\nUsers can safeguard existing applications by disabling STAC collection based resources in their pygeoapi config, until 0.23.3 can be installed and deployed.","aliases":["CVE-2026-42351","GHSA-f6pr-83pg-ghh6"],"modified":"2026-07-13T16:32:42.672638250Z","published":"2026-07-13T15:02:55.307233Z","references":[{"type":"WEB","url":"https://github.com/geopython/pygeoapi/security/advisories/GHSA-f6pr-83pg-ghh6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42351"},{"type":"WEB","url":"https://github.com/geopython/pygeoapi/commit/bf25b8695edbdd5476eeffc102b633d1d3e45f52"},{"type":"PACKAGE","url":"https://github.com/geopython/pygeoapi"},{"type":"WEB","url":"https://github.com/geopython/pygeoapi/releases/tag/0.23.3"},{"type":"PACKAGE","url":"https://pypi.org/project/pygeoapi"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f6pr-83pg-ghh6"}],"affected":[{"package":{"name":"pygeoapi","ecosystem":"PyPI","purl":"pkg:pypi/pygeoapi"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.23.0"},{"fixed":"0.23.3"}]}],"versions":["0.23.0","0.23.1","0.23.2"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pygeoapi/PYSEC-2026-2985.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}