Security mailing lists by PureSourceCode

CVE-2025-22240

MEDIUM 6.3CVSS 3.1

Salt allows arbitrary directory creation or file deletion

Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.

Published
13 Jun 2025
Last modified
7 Jul 2026
Assigned by
security@vmware.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-xh32-3m67-qjgfPYSEC-2026-1903
Sources
NVDJSONOSV GHSA-xh32-3m67-qjgfJSONOSV PYSEC-2026-1903JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@vmware.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI salt >= 3007.0rc1, < 3007.4 3007.4
OSV PyPI salt >= 3006.0rc1, < 3006.12 3006.12
OSV PyPI salt >= 3006.0rc1, < 3006.12; >= 3007.0rc1, < 3007.4 3006.12, 3007.4

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Jun 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.