KeygraphLabs · CVE MCP

CVE-2017-16616 · mitre

CVE-2017-16616

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.

Published 2017-11-08, last changed 2026-06-17.

CVSS
9.8
critical, from NVD
EPSS
3.62%
percentile 89.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: pyanyapi 0.6.1 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in Stranger6667/pyanyapi by 810db626c1, 90f862de7e. Functions changed by the fix: perform_parsing. Regression tests: tests/test_parsers.py. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-11-08Published
2017-11-08Package advisory PYSEC-2017-23
2022-05-13Package advisory GHSA-vg8g-jpm9-jh8r
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 3.62%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-vg8g-jpm9-jh8rpyanyapi (PyPI)0.6.1
PYSEC-2017-23pyanyapi (PyPI)0.6.1

Also known as: GHSA-vg8g-jpm9-jh8r, PYSEC-2017-23

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-16616, or call /api/v1/vulnerabilities/CVE-2017-16616. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org