Live threats

All CVEs / Pyanyapi Project

CVE-2017-16616Pyanyapi Project Pyanyapi

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Nov 8, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyanyapi.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyanyapi < 0.6.1 0.6.1 pip install "pyanyapi>=0.6.1"
PyPI pyanyapi < 0.6.1 0.6.1 pip install "pyanyapi>=0.6.1"

Per OSV / GitHub Advisories (GHSA-vg8g-jpm9-jh8r, PYSEC-2017-23). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyanyapi_projectpyanyapi< 0.6.1

Official sources

References

Links published by the sources. Open them with care.