NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
CRITICAL severity

CVE-2017-12791 — salt

CRITICALFix: saltstack/salt#42944

CVE-2017-12791 is a critical-severity (CVSS 9.8) Path Traversal vulnerability in salt. A fix is available for salt — see the affected versions and patch details below.

SaltStack Salt Directory traversal vulnerability in minion id validation

Also known asGHSA-xxvj-8g5m-4qgwPYSEC-2017-35
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
4.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs92th percentile — riskier than 92% of all scored CVEsHighest risk
0.00%1.93%3.86%5.79%0.9%4.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
🐍salt🐍salt

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

Directory traversal vulnerability in minion id validation in SaltStack Salt before 2016.11.7 and 2017.7.x before 2017.7.1 allows remote minions with incorrect credentials to authenticate to a master via a crafted minion ID.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIsaltall versions2016.11.7pip install --upgrade 'salt==2016.11.7'
🐍PyPIsalt≥ 2017.7.0&&< 2017.7.12017.7.1pip install --upgrade 'salt==2017.7.1'

Affected Products

1 product · 2 configurations
Application
saltsaltstack
≤ 2016.11.6
1 version
2017.7.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for salt, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update salt to 2016.11.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-12791 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

Directory traversal vulnerability in minion id validation in SaltStack Salt before 2016.11.7 and 2017.7.x before 2017.7.1 allows remote minions with incorrect credentials to authenticate to a master via a crafted minion ID.
O3 Security · Impact-Aware SCA

Is CVE-2017-12791 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2017-12791: salt Path Traversal — Fixed in 2016.11.7