Read the docs
TI-2023-12204 Aliases CVE-2023-27476GHSA-8h9c-r582-mggc

XML External Entity (XXE) Injection in OWSLib

Priority MEDIUM 44CWE-611Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00977 62nd percentileScored 2026-11-07
Fix Fixed OWSLib (geopython): 0.28.1OWSLib (PyPI): 0.28.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
geopythonOWSLibbefore 0.28.10.28.1Patch availableCNA
—OWSLib (PyPI)before 0.28.10.28.1Patch availableGHSA-8h9c-r582-mggc
  • OWSLib Vendorgeopython Affected before 0.28.1 Fixed in 0.28.1 Patch available CNA
  • OWSLib (PyPI) Vendor— Affected before 0.28.1 Fixed in 0.28.1 Patch available GHSA-8h9c-r582-mggc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:osgeo:owslib:*:*:*:*:*:*:*:*before 0.28.1VulnerableOSGeo
  • cpe:2.3:a:osgeo:owslib:*:*:*:*:*:*:*:* Versions before 0.28.1 Vulnerable ·OSGeo

Remediation

  • Fix · CNA OWSLib (geopython) Fixed in 0.28.1
  • Fix · GHSA-8h9c-r582-mggc OWSLib (PyPI) Fixed in 0.28.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-27476
  2. 2026-10-03 Alias added: GHSA-8h9c-r582-mggc

References

  • TI-2026-30654 pygeoapi 0.23.x: Unauthenticated SSRF via OGC API - Processes Subscriber CVSS 3.1HIGH 8.6
  • TI-2026-30653 pygeoapi: Path Traversal in STAC FileSystemProvider CVSS 3.1HIGH 7.5

Sources