Skip to content
Noroxi
CVE-2016-10127· NVD / CVE Program· CNA debian

PySAML2 allows remote attackers to conduct XML external entity (XXE) attacks via a crafted SAML XML request or response.

CriticalCVSS 9.0 · v3.0—No exploit Fix available
Published
Mar 3, 2017
Updated
Jun 16, 2026
EPSS
2.1% · 81th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
36 / 40 · 9.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.1%

Affected systems

VendorProduct
pysaml2 projectpysaml2

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • pysaml2 project pysaml2all versions

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12python-pysaml2all versions—
PyPIpysaml2before 4.5.04.5.0
SUSE:HPE Helion OpenStack 8ardana-ansiblebefore 8.0+git.1566374355.c509923-3.67.38.0+git.1566374355.c509923-3.67.3
SUSE:HPE Helion OpenStack 8ardana-glancebefore 8.0+git.1566376789.be0fe01-3.17.38.0+git.1566376789.be0fe01-3.17.3
SUSE:HPE Helion OpenStack 8ardana-horizonbefore 8.0+git.1565816064.5d4f73f-3.18.38.0+git.1565816064.5d4f73f-3.18.3
SUSE:HPE Helion OpenStack 8ardana-input-modelbefore 8.0+git.1566517401.98450e6-3.33.38.0+git.1566517401.98450e6-3.33.3
SUSE:HPE Helion OpenStack 8ardana-manilabefore 8.0+git.1568835837.2452e7a-1.21.38.0+git.1568835837.2452e7a-1.21.3
SUSE:HPE Helion OpenStack 8ardana-neutronbefore 8.0+git.1568220097.74ee4b4-3.33.38.0+git.1568220097.74ee4b4-3.33.3
SUSE:HPE Helion OpenStack 8ardana-novabefore 8.0+git.1566902754.c58ff69-3.35.38.0+git.1566902754.c58ff69-3.35.3
SUSE:HPE Helion OpenStack 8ardana-octaviabefore 8.0+git.1568373448.bcaee7e-3.20.38.0+git.1568373448.bcaee7e-3.20.3
SUSE:HPE Helion OpenStack 8ardana-tempestbefore 8.0+git.1566471887.fd2fec7-3.27.38.0+git.1566471887.fd2fec7-3.27.3
SUSE:HPE Helion OpenStack 8galera-3before 25.3.25-4.6.325.3.25-4.6.3
SUSE:HPE Helion OpenStack 8grafanabefore 4.6.5-4.6.34.6.5-4.6.3
SUSE:HPE Helion OpenStack 8mariadbbefore 10.2.25-4.14.210.2.25-4.14.2
SUSE:HPE Helion OpenStack 8mariadb-connector-cbefore 3.1.2-3.12.33.1.2-3.12.3
SUSE:HPE Helion OpenStack 8novncbefore 1.0.0-3.6.31.0.0-3.6.3
SUSE:HPE Helion OpenStack 8openstack-cinderbefore 11.2.3~dev16-3.21.411.2.3~dev16-3.21.4
SUSE:HPE Helion OpenStack 8openstack-cinder-docbefore 11.2.3~dev16-3.21.311.2.3~dev16-3.21.3
SUSE:HPE Helion OpenStack 8openstack-glancebefore 15.0.3~dev3-3.12.415.0.3~dev3-3.12.4
SUSE:HPE Helion OpenStack 8openstack-glance-docbefore 15.0.3~dev3-3.12.315.0.3~dev3-3.12.3
SUSE:HPE Helion OpenStack 8openstack-heatbefore 9.0.8~dev13-3.24.49.0.8~dev13-3.24.4
SUSE:HPE Helion OpenStack 8openstack-heat-docbefore 9.0.8~dev13-3.24.39.0.8~dev13-3.24.3
SUSE:HPE Helion OpenStack 8openstack-horizon-plugin-neutron-vpnaas-uibefore 1.0.1~dev3-3.6.41.0.1~dev3-3.6.4
SUSE:HPE Helion OpenStack 8openstack-keystonebefore 12.0.4~dev4-5.27.412.0.4~dev4-5.27.4

+64

Other highest-scoring records for the same primary product.

  • CVE-2017-1000433pysaml2 version 4.4.0 and older accept any password when run with python optimizations enabled.
    33Monitor
  • CVE-2016-10149XML External Entity (XXE) vulnerability in PySAML2 4.4.0 and earlier allows remote attackers to read arbitrary files via a crafted SAML XML
    32Monitor
  • CVE-2020-5390PySAML2 before 5.0.0 does not check that the signature in a SAML document is enveloped and thus signature wrapping is effective, i.e., it is
    30Monitor
  • CVE-2021-21239Open default xmlsec1 key-type preference
    26Monitor
  • CVE-2021-21238SAML XML Signature wrapping
    26Monitor
  • CVE-2017-1000246Python package pysaml2 version 4.4.0 and earlier reuses the initialization vector across encryptions in the IDP server, resulting in weak en
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
PyPI:pysaml24.5.0Package registry (OSV)
suse:crowbar-core4.0+git.1570463621.40b11cd48-9.54.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-openstack4.0+git.1569429513.e7016b2b6-9.59.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:grafana4.6.5-1.11.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:novnc1.0.0-12.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-keystone10.0.3~dev9-7.18.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-keystone-doc10.0.3~dev9-7.18.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron9.4.2~dev21-7.32.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-doc9.4.2~dev21-7.32.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-lbaas9.2.2~dev11-4.18.3 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-lbaas-doc9.2.2~dev11-4.18.3 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:python-defusedxml0.4.1-2.1 · SUSE:OpenStack Cloud 6Package registry (OSV)
suse:python-pysaml22.4.0-3.1 · SUSE:OpenStack Cloud 6Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records