Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42351: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in geopython pygeoapi

0
High
VulnerabilityCVE-2026-42351cvecve-2026-42351cwe-22
Published: Fri May 08 2026 (05/08/2026, 22:31:18 UTC)
Source: CVE Database V5
Vendor/Project: geopython
Product: 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

AILast updated: 05/08/2026, 23:06:56 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses