Advisories
This weekExploitable · Confirmed

salt: SaltStack Salt Directory Traversal vulnerability

There is evidence it can be used, or an emergency alert, without the proof that makes it urgent.

Does it affect what I run?

salt (PyPI)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • salt (PyPI): every version, before 2015.8.13
  • salt (PyPI): from 2016.3.0, before 2016.11.5
  • salt (PyPI): from 2016.11.7, before 2016.11.10
  • salt (PyPI): from 2017.5.0, before 2017.7.8
  • salt (PyPI): from 2018.2.0, up to and including 2018.3.5
  • salt (PyPI): from 2019.2.0, before 2019.2.8
  • salt (PyPI): from 3000, before 3000.7
  • salt (PyPI): from 3001, before 3001.5
  • salt (PyPI): from 3002, before 3002.3
  • salt (PyPI): every version, before 2015.8.10; from 2015.8.11, before 2015.8.13; from 2016.3.0, before 2016.3.4; from 2016.3.5, before 2016.3.6; from 2016.3.7, before 2016.3.8; from 2016.11.0, before 2016.11.3; from 2016.11.4, before 2016.11.5; from 2016.11.7, before 2016.11.10; from 2017.7.0, before 2017.7.8; from 2018.3.0rc1, before 2019.2.0rc1; from 2019.2.0, before 2019.2.5; from 2019.2.6, before 2019.2.8; from 3000, before 3000.6; from 3001, before 3001.4; from 3002, before 3002.5

The fix

  • salt (PyPI) fixed in 2015.8.13

    pip
    python -m pip install salt==2015.8.13
    uv
    uv add salt==2015.8.13
    poetry
    poetry add salt@2015.8.13
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2015.8.13 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.5

    pip
    python -m pip install salt==2016.11.5
    uv
    uv add salt==2016.11.5
    poetry
    poetry add salt@2016.11.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.5 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.10

    pip
    python -m pip install salt==2016.11.10
    uv
    uv add salt==2016.11.10
    poetry
    poetry add salt@2016.11.10
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.10 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2017.7.8

    pip
    python -m pip install salt==2017.7.8
    uv
    uv add salt==2017.7.8
    poetry
    poetry add salt@2017.7.8
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2017.7.8 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2019.2.8

    pip
    python -m pip install salt==2019.2.8
    uv
    uv add salt==2019.2.8
    poetry
    poetry add salt@2019.2.8
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2019.2.8 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3000.7

    pip
    python -m pip install salt==3000.7
    uv
    uv add salt==3000.7
    poetry
    poetry add salt@3000.7
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3000.7 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3001.5

    pip
    python -m pip install salt==3001.5
    uv
    uv add salt==3001.5
    poetry
    poetry add salt@3001.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3001.5 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3002.3

    pip
    python -m pip install salt==3002.3
    uv
    uv add salt==3002.3
    poetry
    poetry add salt@3002.3
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3002.3 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2015.8.10

    pip
    python -m pip install salt==2015.8.10
    uv
    uv add salt==2015.8.10
    poetry
    poetry add salt@2015.8.10
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2015.8.10 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.4

    pip
    python -m pip install salt==2016.3.4
    uv
    uv add salt==2016.3.4
    poetry
    poetry add salt@2016.3.4
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.4 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.6

    pip
    python -m pip install salt==2016.3.6
    uv
    uv add salt==2016.3.6
    poetry
    poetry add salt@2016.3.6
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.6 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.3.8

    pip
    python -m pip install salt==2016.3.8
    uv
    uv add salt==2016.3.8
    poetry
    poetry add salt@2016.3.8
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.3.8 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2016.11.3

    pip
    python -m pip install salt==2016.11.3
    uv
    uv add salt==2016.11.3
    poetry
    poetry add salt@2016.11.3
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2016.11.3 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2019.2.0rc1

    pip
    python -m pip install salt==2019.2.0rc1
    uv
    uv add salt==2019.2.0rc1
    poetry
    poetry add salt@2019.2.0rc1
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2019.2.0rc1 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 2019.2.5

    pip
    python -m pip install salt==2019.2.5
    uv
    uv add salt==2019.2.5
    poetry
    poetry add salt@2019.2.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 2019.2.5 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3000.6

    pip
    python -m pip install salt==3000.6
    uv
    uv add salt==3000.6
    poetry
    poetry add salt@3000.6
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3000.6 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3001.4

    pip
    python -m pip install salt==3001.4
    uv
    uv add salt==3001.4
    poetry
    poetry add salt@3001.4
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3001.4 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • salt (PyPI) fixed in 3002.5

    pip
    python -m pip install salt==3002.5
    uv
    uv add salt==3002.5
    poetry
    poetry add salt@3002.5
    Check what is installed
    python -m pip show salt
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency salt to 3002.5 or the nearest later release, to fix CVE-2021-25282. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

  • Exploitable · Confirmed

    EPSS puts the chance of exploitation in the next 30 days at 93%.

    FIRST EPSSStated

Timeline

  1. First published here, as "For your digest".
  2. Fixed releases changed: added salt 2015.8.10, salt 2016.3.4, salt 2016.3.6, salt 2016.3.8, salt 2016.11.3, salt 2019.2.0rc1, salt 2019.2.5, salt 3000.6, salt 3001.4, salt 3002.5.
  3. Level changed from "For your digest" to "This week".
  4. Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)