Home / geopython / OWSLib / CVE-2023-27476
CVE-2023-27476: is it exploited, and which versions of geopython OWSLib are affected and fixed?
CVE-2023-27476 is a XML external entity (XXE) vulnerability in geopython OWSLib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: OWSLib before 0.28.1 (GitHub advisory GHSA-8h9c-r582-mggc). Fixed in 0.28.1 (GitHub advisory GHSA-8h9c-r582-mggc). Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-27476?
XML External Entity (XXE) Injection in OWSLib
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.
From the CVE record by GitHub_M, last updated February 25, 2025, 15:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| geopython | OWSLib | < 0.28.1 |
As the CVE record by GitHub_M states it, last updated February 25, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | OWSLib | < 0.28.1 | 0.28.1 | GHSA-8h9c-r582-mggc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 7, 2024. Summary: OWSLib vulnerable to XML External Entity (XXE) Injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osgeo | owslib | before 0.28.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:45 UTC.
How severe is CVE-2023-27476?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-27476 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 25, 2025)
- EPSS
- 0.98% probability of exploitation activity in the next 30 days, percentile 63.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc x_refsource_CONFIRM
- https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2022-131_owslib/ x_refsource_MISC
- https://www.debian.org/security/2023/dsa-5426
- https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html
When was it published, and where is the official record?
- Reserved
- March 1, 2023
- Published
- March 7, 2023, 23:20 UTC
- CVE record updated
- February 25, 2025, 15:00 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:45 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-27476
Is CVE-2023-27476 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.98% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of geopython OWSLib are affected by CVE-2023-27476?
OWSLib before 0.28.1, per the GitHub advisory GHSA-8h9c-r582-mggc. The tables above give every range the sources list.
Which version fixes CVE-2023-27476?
0.28.1, per the GitHub advisory GHSA-8h9c-r582-mggc. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-27476?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-27476?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.