CVE-2026-42351geopython pygeoapi
High 7.5 No auth needed
Follow: this CVE · geopython · geopython pygeoapi We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- May 8, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for pygeoapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pygeoapi |
≥ 0.23.0 < 0.23.3 |
0.23.3 |
pip install "pygeoapi>=0.23.3" |
| PyPI | pygeoapi |
≥ 0.23.0 < 0.23.3 |
0.23.3 |
pip install "pygeoapi>=0.23.3" |
Per OSV / GitHub Advisories (GHSA-f6pr-83pg-ghh6, PYSEC-2026-2985). Check the version in your lockfile before upgrading.
Affected products
- geopython · pygeoapi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.