Skip to content
Fencer Intel
high 7.5

CVE-2016-10149 json

Pysaml2 does not sanitize XML responses

published 2017-03-24 9 y ago modified 2026-06-17 4 mo ago also GHSA-c2vx-49jm-h3f6 , PYSEC-2017-25 , EUVD-2017-0104

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.0%
EPSS 5.0% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

XML External Entity (XXE) vulnerability in PySAML2 4.4.0 and earlier allows remote attackers to read arbitrary files via a crafted SAML XML request or response.

Patch / fix

  • pypi pysaml2 4.5.0
  • python-pysaml2 Debian 14, Debian 13, Debian 12 3.0.0-5

debian advisories DEBIAN-CVE-2016-10149

  • python-pysaml2 Ubuntu 16.04 LTS 3.0.0-3ubuntu1.16.04.1

ubuntu advisories UBUNTU-CVE-2016-10149

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-pysaml2 openstack 10, openstack 9, openstack 8 3.0.2-3.el7ost
  • python-defusedxml openstack 10, openstack 9, openstack 8 0.5.0-1.el7ost

red hat advisories RHSA-2017:0938RHSA-2017:0937RHSA-2017:0936

  • python-pysaml2 OpenStack Cloud 6 2.4.0-3.1
  • python-defusedxml OpenStack Cloud 6 0.4.1-2.1

suse advisories SUSE-SU-2017:0569-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-10149 updated cvss 5.3

python-pysaml2: Entity expansion issue

  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) python-pysaml2
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 8.0 (Liberty) python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ost
    fixed: vendor fix RHSA-2017:0936
  • Red Hat OpenStack Platform 9.0 python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ost
    fixed: vendor fix RHSA-2017:0937
  • Red Hat OpenStack Platform 10.0 python-pysaml2 3.0.2-3.el7ost, python-defusedxml 0.5.0-1.el7ost
    fixed: vendor fix RHSA-2017:0938
  • Red Hat OpenStack Platform 11 (Ocata) python-pysaml2
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.02% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi pysaml2
<4.5.0
4.5.0

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.