{"cve":"CVE-2017-16616","nvd":{"published":"2017-11-08T03:29:00.247","modified":"2026-06-17T01:09:34.603","status":"Modified","description":"An exploitable vulnerability exists in the YAML parsing functionality in the YAMLParser method in Interfaces.py in PyAnyAPI before 0.6.1. A YAML parser can execute arbitrary Python commands resulting in command execution because load is used where safe_load should have been used. An attacker can insert Python into loaded YAML to trigger this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":[],"references":["https://github.com/Stranger6667/pyanyapi/issues/41","https://github.com/Stranger6667/pyanyapi/releases/tag/0.6.1","https://joel-malwarebenchmark.github.io/blog/2017/11/08/cve-2017-16616-yamlparser-in-pyanyapi/","https://pypi.python.org/pypi/pyanyapi/0.6.1","https://github.com/Stranger6667/pyanyapi/issues/41"],"products":["pyanyapi_project:pyanyapi"],"source":"nvd","synced_at":"2026-10-19T20:47:01.408438353+00:00"},"epss":{"cve":"CVE-2017-16616","score":0.0362,"percentile":0.89514,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vg8g-jpm9-jh8r","url":"https://osv.dev/vulnerability/GHSA-vg8g-jpm9-jh8r","summary":"Unsafe pyyaml load usage in PyAnyAPI","modified":"2024-10-21T21:01:58.950074Z","packages":[{"ecosystem":"PyPI","name":"pyanyapi","purl":"pkg:pypi/pyanyapi","ranges":["<0.6.1"],"fixed":["0.6.1"]}]},{"id":"PYSEC-2017-23","url":"https://osv.dev/vulnerability/PYSEC-2017-23","summary":"","modified":"2023-11-08T03:59:13.122220Z","packages":[{"ecosystem":"PyPI","name":"pyanyapi","purl":"pkg:pypi/pyanyapi","ranges":["<0.6.1"],"fixed":["0.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}