Live threats

All CVEs / Osgeo

CVE-2023-27476Osgeo Owslib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Mar 8, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
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

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details.

Original NVD text.

What to do

  1. Apply the vendor's security update for Owslib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI owslib < 0.28.1 0.28.1 pip install "owslib>=0.28.1"
PyPI owslib < 0.28.1 0.28.1 pip install "owslib>=0.28.1"

Per OSV / GitHub Advisories (GHSA-8h9c-r582-mggc, PYSEC-2023-86). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osgeoowslib< 0.28.1

Official sources

References

Links published by the sources. Open them with care.