# CVE-2021-39371

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-08-23 · Modified: 2024-08-04
- Aliases: GHSA-p9wf-3xpg-c9g5, PYSEC-2021-121, UBUNTU-CVE-2021-39371, DEBIAN-CVE-2021-39371, DLA-2754-1, USN-9147-1
- Record: https://cvemate.com/vulnerability/CVE-2021-39371 · JSON: https://cvemate.com/vulnerability/CVE-2021-39371/json

## Description

```text
An XML external entity (XXE) injection in PyWPS before 4.4.5 allows an attacker to view files on the application server filesystem by assigning a path to the entity. OWSLib 0.24.1 may also be affected.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.524%, percentile 75.522%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian pywps (Debian): \< 4.5.0-1 \| \< 4.0.0-3+deb9u1
- ubuntu pywps (Ubuntu): All versions (No fix recorded) \| \< 4.0.0-5ubuntu0.1~esm1 \| \< 4.2.4-1ubuntu0.1~esm1
- debian debian\_linux: 9.0
- osgeo owslib: 0.24.1
- osgeo pywps: \< 4.4.5
- PyPI pywps (PyPI): \< 4.5.0

## References

- <https://github.com/geopython/pywps/pull/616>
- <https://github.com/geopython/OWSLib/issues/790>
- <https://lists.debian.org/debian-lts-announce/2021/09/msg00001.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39371>
- <https://github.com/geopython/pywps/commit/7d6b26a2e931df2feca0b7fb24f4d01610825aee>
- <https://github.com/advisories/GHSA-p9wf-3xpg-c9g5>
- <https://github.com/geopython/pywps>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pywps/PYSEC-2021-121.yaml>
- <https://ubuntu.com/security/CVE-2021-39371>
- <https://www.cve.org/CVERecord?id=CVE-2021-39371>
- <https://security-tracker.debian.org/tracker/CVE-2021-39371>
- <https://ubuntu.com/security/notices/USN-9147-1>

---

Data as of 2026-12-05T10:25:22.647Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
