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
CVE-2026-42351 is a path traversal vulnerability (CWE-22) in the pygeoapi Python server implementation, specifically in the STAC FileSystemProvider plugin. Versions 0.23.0 through 0.23.2 allow raw string path concatenation without proper normalization, enabling requests to access directories outside the intended restricted directory. This occurs when pygeoapi is deployed without a proxy or web front end that would otherwise normalize URL paths containing '..'. The vulnerability allows exposure of directories without authentication. The issue has been patched in pygeoapi version 0.23.3.
Potential Impact
Exploitation of this vulnerability can lead to unauthorized disclosure of directory contents on the server hosting pygeoapi, compromising confidentiality. There is no indication of impact on integrity or availability. The vulnerability requires no privileges and no user interaction, and can be exploited remotely over the network.
Mitigation Recommendations
Upgrade pygeoapi to version 0.23.3 or later, where this vulnerability has been patched. If upgrading immediately is not possible, deploy pygeoapi behind a proxy or web front end that normalizes URL paths to prevent path traversal via '..' sequences. Patch status is not explicitly stated in the vendor advisory, but the fix is included starting with 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42351 is a path traversal vulnerability (CWE-22) in the pygeoapi Python server implementation, specifically in the STAC FileSystemProvider plugin. Versions 0.23.0 through 0.23.2 allow raw string path concatenation without proper normalization, enabling requests to access directories outside the intended restricted directory. This occurs when pygeoapi is deployed without a proxy or web front end that would otherwise normalize URL paths containing '..'. The vulnerability allows exposure of directories without authentication. The issue has been patched in pygeoapi version 0.23.3.
Potential Impact
Exploitation of this vulnerability can lead to unauthorized disclosure of directory contents on the server hosting pygeoapi, compromising confidentiality. There is no indication of impact on integrity or availability. The vulnerability requires no privileges and no user interaction, and can be exploited remotely over the network.
Mitigation Recommendations
Upgrade pygeoapi to version 0.23.3 or later, where this vulnerability has been patched. If upgrading immediately is not possible, deploy pygeoapi behind a proxy or web front end that normalizes URL paths to prevent path traversal via '..' sequences. Patch status is not explicitly stated in the vendor advisory, but the fix is included starting with 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: 5/8/2026, 10:51:25 PM
Last enriched: 5/8/2026, 11:06:56 PM
Last updated: 5/9/2026, 2:45:13 AM
Views: 8
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.