{"id":"CVE-2016-10127","aliases":["GHSA-m269-wj6g-c459","PYSEC-2017-67"],"kind":"cve","tier":"cold","status":"published","title":"PySAML2 XML external entity attack","description":"PySAML2 allows remote attackers to conduct XML external entity (XXE) attacks via a crafted SAML XML request or response.","ai_summary":null,"severity":"critical","cvss":{"score":9,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-611"],"remote":true,"remote_unauth":false,"epss":{"score":0.02616,"percentile":0.86191,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"pysaml2","affected":"< 4.5.0","fixed":["4.5.0"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade pysaml2 to 4.5.0 or later.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10127","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-m269-wj6g-c459","kind":"vendor"},{"url":"https://github.com/rohe/pysaml2/issues/366","kind":"patch"},{"url":"https://github.com/rohe/pysaml2/pull/379","kind":"patch"},{"url":"https://github.com/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b","kind":"patch"},{"url":"http://www.openwall.com/lists/oss-security/2017/01/19/5","kind":"other"},{"url":"http://www.securityfocus.com/bid/95376","kind":"other"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-67.yaml","kind":"other"},{"url":"https://github.com/rohe/pysaml2","kind":"other"},{"url":"https://web.archive.org/web/20200227195127/http://www.securityfocus.com/bid/95376","kind":"other"}],"workarounds":null,"vendors":["pysaml2_project"],"products":["pysaml2"],"cpes":["cpe:2.3:a:pysaml2_project:pysaml2:-:*:*:*:*:*:*:*"],"published_at":"2017-03-03T15:00:00.000Z","modified_at":"2026-06-17T00:39:06.537Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10127"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-m269-wj6g-c459","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2017-67","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-10127","markdown":"https://flawdb.com/CVE-2016-10127.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-10127"}}