{"id":"CVE-2020-29128","aliases":["EUVD-2020-0127","GHSA-69q2-p9xp-739v","GHSA-f5gc-p5m3-v347","PYSEC-2020-75"],"status":"published","title":"Duplicate Advisory: XML Injection in petl","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02323,"percentile":0.83699,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611","CWE-91"],"published":"2020-11-26T05:01:00Z","modified":"2026-10-20T10:53:13Z","fixes":[{"ecosystem":"PyPI","package":"petl","fixed_in":["1.6.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"petl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8"}]}]},{"source":"osv","ecosystem":"PyPI","package":"petl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8"}]}],"versions":["0.10","0.10.1","0.10.2","0.11","0.11.1","0.12","0.13","0.13.1","0.14","0.15","0.16","0.16.1","0.16.2","0.17","0.17.1","0.18","0.18.1","0.19","0.2","0.20","0.21","0.21.2","0.22","0.22.1","0.23","0.24","0.24.1","0.24.2","0.24.3","0.25","0.25.1","0.25.2","0.25.3","0.26","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1.0.0","1.0.0-alpha1","1.0.0a2","1.0.0a3","1.0.0b1","1.0.0b2","1.0.1","1.0.10","1.0.11","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.2.0","1.3.0","1.3.0rc3","1.4.0","1.5.0","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7"]},{"source":"osv","ecosystem":"PyPI","package":"petl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.8"}]}],"versions":["0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","0.10","0.10.1","0.10.2","0.11","0.11.1","0.12","0.13","0.13.1","0.14","0.15","0.16","0.16.1","0.16.2","0.17","0.17.1","0.18","0.18.1","0.19","0.20","0.21","0.21.2","0.22","0.22.1","0.23","0.24","0.24.1","0.24.2","0.24.3","0.25","0.25.1","0.25.2","0.25.3","0.26","1.0.0-alpha1","1.0.0a2","1.0.0a3","1.0.0b1","1.0.0b2","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.10","1.0.11","1.1.0","1.1.1","1.2.0","1.3.0rc3","1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7"]}],"products":[{"vendor":"petl_project","product":"petl"}],"references":[{"url":"https://github.com/petl-developers/petl/pull/527","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://petl.readthedocs.io/en/stable/changes.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://github.com/petl-developers/petl/issues/526","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/petl-developers/petl/compare/v1.6.7...v1.6.8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/petl-developers/petl/pull/527/commits/1b0a09f08c3cdfe2e69647bd02f97c1367a5b5f8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/petl-developers/petl/security/advisories/GHSA-f5gc-p5m3-v347","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/nvn1729/advisories/blob/master/cve-2020-29128.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29128","tags":["advisory"]},{"url":"https://github.com/petl-developers/petl/commit/07420ef8463cc387aea84e2d6241cf556574e2a5","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/petl/PYSEC-2020-75.yaml","tags":["web"]},{"url":"https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing","tags":["web"]},{"url":"https://github.com/advisories/GHSA-69q2-p9xp-739v","tags":["advisory"]},{"url":"https://github.com/petl-developers/petl/releases/tag/v1.6.8","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f5gc-p5m3-v347"},{"url":"https://github.com/petl-developers/petl","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-29128","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"published","published":"2020-11-26T05:01:00Z","modified":"2024-08-04T16:48:01.5Z","updated_at":"2026-11-02T14:35:55.460269Z"}],"euvd":[{"id":"EUVD-2020-0127","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"published","published":"2020-11-26T05:01:00Z","modified":"2024-08-04T16:48:01Z","updated_at":"2026-11-03T03:07:08.475588Z"}],"ghsa":[{"id":"GHSA-69q2-p9xp-739v","title":"Duplicate Advisory: XML Injection in petl","description":"## Duplicate Advisory\nThis advisoerey has been withdrawn because it is a duplicate of GHSA-f5gc-p5m3-v347. This link is maintained to preserve external references.\n\n## Original Description\npetl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"withdrawn","published":"2021-04-20T16:32:08Z","modified":"2024-10-09T20:47:37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T14:38:09.785133Z"},{"id":"GHSA-f5gc-p5m3-v347","title":"XXE in petl","description":"### Impact\nInformation Disclosure\n\n### Summary\n\n[petl](https://github.com/petl-developers/petl) is a Python library that provides functions for extraction, transformation, and loading (ETL) of data.\n\npetl before 1.68, in some configurations, allows resolution of entities in XML input.\n\nAn attacker who is able to submit XML input to an application using petl can disclose arbitrary files on the file system in the context of the user under which the application is running.\n\n### Affected Applications\n\nApplications that:\n\n- accept attacker-supplied XML input that is processed using petl \u003c 1.68\n- return the response generated by petl back to the attacker\n- configure lxml as the underlying XML processing library used by petl\n- have read privileges in filesystem files with sensitive information\n\n### Mitigation\nUpdate to petl \u003e= 1.68\n\n### Workarounds\n\n- Assure there is no user/external access to the application using [petl](https://github.com/petl-developers/petl)\n- Assure your application is not using the function [fromxml()](https://petl.readthedocs.io/en/stable/io.html#petl.io.xml.fromxml)\n\n### References\n- https://github.com/nvn1729/advisories/blob/master/cve-2020-29128.md\n- https://github.com/petl-developers/petl/pull/527\n- https://github.com/petl-developers/petl/releases/tag/v1.6.8\n- https://petl.readthedocs.io/en/stable/changes.html\n- https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Add a comment in the Github [issue](https://github.com/petl-developers/petl/pull/527)\n\nThaks to Naveen Sunkavally.","status":"published","published":"2020-12-02T18:28:30Z","modified":"2024-10-09T20:55:05Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:38:09.785133Z"}],"nvd":[{"id":"CVE-2020-29128","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"published","published":"2020-11-26T05:15:10.47Z","modified":"2026-06-17T03:11:03.99Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"CVE-2020-29128","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"published","published":"2020-11-26T05:15:10.47Z","modified":"2026-10-20T10:53:13.591770552Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-69q2-p9xp-739v","title":"Duplicate Advisory: XML Injection in petl","description":"## Duplicate Advisory\nThis advisoerey has been withdrawn because it is a duplicate of GHSA-f5gc-p5m3-v347. This link is maintained to preserve external references.\n\n## Original Description\npetl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"withdrawn","published":"2021-04-20T16:32:08Z","modified":"2024-11-29T05:40:28.628319Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T15:46:39.618611Z"},{"id":"GHSA-f5gc-p5m3-v347","title":"XXE in petl","description":"### Impact\nInformation Disclosure\n\n### Summary\n\n[petl](https://github.com/petl-developers/petl) is a Python library that provides functions for extraction, transformation, and loading (ETL) of data.\n\npetl before 1.68, in some configurations, allows resolution of entities in XML input.\n\nAn attacker who is able to submit XML input to an application using petl can disclose arbitrary files on the file system in the context of the user under which the application is running.\n\n### Affected Applications\n\nApplications that:\n\n- accept attacker-supplied XML input that is processed using petl \u003c 1.68\n- return the response generated by petl back to the attacker\n- configure lxml as the underlying XML processing library used by petl\n- have read privileges in filesystem files with sensitive information\n\n### Mitigation\nUpdate to petl \u003e= 1.68\n\n### Workarounds\n\n- Assure there is no user/external access to the application using [petl](https://github.com/petl-developers/petl)\n- Assure your application is not using the function [fromxml()](https://petl.readthedocs.io/en/stable/io.html#petl.io.xml.fromxml)\n\n### References\n- https://github.com/nvn1729/advisories/blob/master/cve-2020-29128.md\n- https://github.com/petl-developers/petl/pull/527\n- https://github.com/petl-developers/petl/releases/tag/v1.6.8\n- https://petl.readthedocs.io/en/stable/changes.html\n- https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Add a comment in the Github [issue](https://github.com/petl-developers/petl/pull/527)\n\nThaks to Naveen Sunkavally.","status":"published","published":"2020-12-02T18:28:30Z","modified":"2026-09-10T03:49:00.212553421Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:46.006631Z"},{"id":"PYSEC-2020-75","description":"petl before 1.68, in some configurations, allows resolution of entities in an XML document.","status":"published","published":"2020-11-26T05:15:00Z","modified":"2023-11-08T04:03:30.437607Z","updated_at":"2026-11-02T15:52:52.682031Z"}]}}
