CVE-2018-15751 · mitre
CVE-2018-15751
SaltStack Salt before 2017.7.8 and 2018.3.x before 2018.3.3 allow remote attackers to bypass authentication and execute arbitrary commands via salt-api(netapi).
Published 2018-10-24, last changed 2026-06-17. Weakness: CWE-287.
How to fix
Upgrade to a fixed version: salt 2016.11.10, 2017.7.8, 2018.3.3 (PyPI) (each is the fix for its own release line). 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 saltstack/salt by d520f9acc1, ad0d83c6a8. Functions changed by the fix: _is_valid_token. Regression tests: tests/integration/netapi/rest_cherrypy/test_app.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2018-10-24 | Published |
| 2018-10-24 | Package advisory PYSEC-2018-30 |
| 2022-05-13 | Package advisory GHSA-x549-r7m8-gv63 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 5.00% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-x549-r7m8-gv63 | salt (PyPI) | 2017.7.8 |
| GHSA-x549-r7m8-gv63 | salt (PyPI) | 2018.3.3 |
| GHSA-x549-r7m8-gv63 | salt (PyPI) | 2016.11.10 |
| PYSEC-2018-30 | salt (PyPI) | 2018.3.3, 2017.7.8 |
Also known as: GHSA-x549-r7m8-gv63, PYSEC-2018-30
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-62349 | 2026-01-30 | 7.5 | Salt Master authentication protocol downgrade may enable minion impersonation |
| CVE-2025-62348 | 2026-01-30 | 7.3 | Salt junos module uses an unsafe YAML loader which may allow unintended code execution |
| CVE-2024-38824 | 2025-06-13 | 7.5 | CVE-2024-38824 salt advisory |
| CVE-2025-22242 | 2025-06-13 | 5.6 | CVE-2025-22242 salt advisory |
| CVE-2025-22241 | 2025-06-13 | 5.6 | CVE-2025-22241 salt advisory |
| CVE-2025-22240 | 2025-06-13 | 6.3 | CVE-2025-22240 salt advisory |
| CVE-2025-22239 | 2025-06-13 | 8.1 | CVE-2025-22239 salt advisory |
| CVE-2025-22238 | 2025-06-13 | 4.2 | CVE-2025-22238 salt advisory |
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-2018-15751, or call /api/v1/vulnerabilities/CVE-2018-15751. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.