CVE-2026-42351: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in geopython pygeoapi
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.
AI Analysis
Technical Summary
pygeoapi, a Python server implementation of OGC API standards, had a path traversal vulnerability in its STAC FileSystemProvider plugin from version 0.23.0 to before 0.23.3. The vulnerability arises from raw string path concatenation that does not properly restrict pathname traversal, allowing directory exposure without authentication if deployed without a proxy or web front end that normalizes URL paths. This issue is resolved in version 0.23.3.
Potential Impact
Exploitation of this vulnerability can lead to unauthorized disclosure of directory contents on the server hosting pygeoapi. The vulnerability affects confidentiality (high impact) but does not affect integrity or availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade pygeoapi to version 0.23.3 or later, where this vulnerability has been patched. If upgrading is not immediately possible, deploy pygeoapi behind a proxy or web front end that normalizes URL paths to prevent path traversal using '..' sequences. Patch status is not explicitly stated in vendor advisory content, but the description confirms the issue is fixed in version 0.23.3.
CVE-2026-42351: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in geopython pygeoapi
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
pygeoapi, a Python server implementation of OGC API standards, had a path traversal vulnerability in its STAC FileSystemProvider plugin from version 0.23.0 to before 0.23.3. The vulnerability arises from raw string path concatenation that does not properly restrict pathname traversal, allowing directory exposure without authentication if deployed without a proxy or web front end that normalizes URL paths. This issue is resolved in version 0.23.3.
Potential Impact
Exploitation of this vulnerability can lead to unauthorized disclosure of directory contents on the server hosting pygeoapi. The vulnerability affects confidentiality (high impact) but does not affect integrity or availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade pygeoapi to version 0.23.3 or later, where this vulnerability has been patched. If upgrading is not immediately possible, deploy pygeoapi behind a proxy or web front end that normalizes URL paths to prevent path traversal using '..' sequences. Patch status is not explicitly stated in vendor advisory content, but the description confirms the issue is fixed in version 0.23.3.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T13:26:14.515Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe68edcbff5d861039d87c
Added to database: 05/08/2026, 22:51:25 UTC
Last enriched: 05/16/2026, 10:17:10 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 106
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.