Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pygeoapi
  4. ›
  5. CVE-2026-42351

CVE-2026-42351: pygeoapi 0.23.x: Path Traversal in STAC FileSystemProvider

April 29, 2026

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.

References

  • github.com/advisories/GHSA-f6pr-83pg-ghh6
  • github.com/geopython/pygeoapi
  • github.com/geopython/pygeoapi/commit/bf25b8695edbdd5476eeffc102b633d1d3e45f52
  • github.com/geopython/pygeoapi/security/advisories/GHSA-f6pr-83pg-ghh6
  • nvd.nist.gov/vuln/detail/CVE-2026-42351

Code Behaviors & Features

Detect and mitigate CVE-2026-42351 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.23.0 before 0.23.3

Fixed versions

  • 0.23.3

Solution

Upgrade to version 0.23.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/pygeoapi/CVE-2026-42351.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:59 +0000.