Every CVE Search/ Get API key

CVE-2016-10149

Pysaml2 does not sanitize XML responses

7.5 HighFix available

CVE-2016-10149 is a high vulnerability (CVSS 7.5) in Pysaml2 Project Pysaml2, published January 12, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.02%, the 92nd percentile. Fixed in pysaml2 4.5.0.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

5.02%Up 2.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2016-10149
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-10149
Updated
2026-11-02
EUVDEUVD-2017-0104 No score

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.

Record
EUVD-2017-0104
Updated
2026-11-03
GitHub AdvisoriesGHSA-c2vx-49jm-h3f6 8.7

Pysaml2 does not sanitize XML responses

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.

Record
GHSA-c2vx-49jm-h3f6
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2016-10149
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2016-10149 7.5

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.

Record
DEBIAN-CVE-2016-10149
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVGHSA-c2vx-49jm-h3f6 8.7

Pysaml2 does not sanitize XML responses

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.

Record
GHSA-c2vx-49jm-h3f6
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-611
Updated
2026-11-02
OSVRHSA-2017:0936 5.3

Red Hat Security Advisory: python-defusedxml and python-pysaml2 security update

Record
RHSA-2017:0936
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHSA-2017:0937 5.3

Red Hat Security Advisory: python-defusedxml and python-pysaml2 security update

Record
RHSA-2017:0937
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHSA-2017:0938 5.3

Red Hat Security Advisory: python-defusedxml and python-pysaml2 security update

Record
RHSA-2017:0938
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2016-10149 7.5

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.

Record
UBUNTU-CVE-2016-10149
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVPYSEC-2017-25 No score

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.

Record
PYSEC-2017-25
Updated
2026-11-02
OSVSUSE-SU-2017:0569-1 No score

Security update for python-pysaml2

This update for python-pysaml2 fixes the following issues:

  • CVE-2016-10127 and CVE-2016-10149: XXE (XML external entity) issues were fixed in python-pysaml2, where external requests to other XML content could be made by parsing XML files using this SAML2 library. (bsc#1019074)

    To fix this bug, the new dependency python-defusedxml was added and is used for sanitizing XML content.

Record
SUSE-SU-2017:0569-1
Updated
2026-11-02
OSVUSN-3402-1 No score

python-pysaml2 vulnerability

It was discovered that PySAML2 incorrectly handled certain SAML XML requests and responses. A remote attacker could use this issue to read arbitrary files.

Record
USN-3402-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
pysaml2
PyPI
through 4.4.0
4.5.0
python-pysaml2
Debian:12
before 3.0.0-5
3.0.0-5
python-pysaml2
Debian:13
before 3.0.0-5
3.0.0-5
python-pysaml2
Debian:14
before 3.0.0-5
3.0.0-5
python-pysaml2
Debian:8
before 2.0.0-1+deb8u1, plus listed versions
2.0.0-1
2.0.0-1+deb8u1
pysaml2
PyPI
before 4.5.0, plus listed versions
0.4.31.0.11.0.21.0.31.1.0
Show 18 moreShow less
2.0.02.1.02.2.02.3.02.4.03.0.03.0.24.0.04.0.14.0.24.0.34.0.44.0.54.0.5rc14.1.04.2.04.3.04.4.0
4.5.0
python-defusedxml
Red Hat:openstack:8::el7
before 0:0.5.0-1.el7ost
0:0.5.0-1.el7ost
python-pysaml2
Red Hat:openstack:8::el7
before 0:3.0.2-3.el7ost
0:3.0.2-3.el7ost
python-defusedxml
Red Hat:openstack:9::el7
before 0:0.5.0-1.el7ost
0:0.5.0-1.el7ost
python-pysaml2
Red Hat:openstack:9::el7
before 0:3.0.2-3.el7ost
0:3.0.2-3.el7ost
Show 5 moreShow less
Affected packages
PackageAffectedFixed
python-defusedxml
Red Hat:openstack:10::el7
before 0:0.5.0-1.el7ost
0:0.5.0-1.el7ost
python-pysaml2
Red Hat:openstack:10::el7
before 0:3.0.2-3.el7ost
0:3.0.2-3.el7ost
python-defusedxml
SUSE:OpenStack Cloud 6
before 0.4.1-2.1
0.4.1-2.1
python-pysaml2
SUSE:OpenStack Cloud 6
before 2.4.0-3.1
2.4.0-3.1
python-pysaml2
Ubuntu:16.04:LTS
before 3.0.0-3ubuntu1.16.04.1, plus listed versions
2.4.0-0ubuntu23.0.0-3ubuntu1
3.0.0-3ubuntu1.16.04.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 22 moreShow less
MoveEnter Open