---
id: CVE-2024-38825
aliases:
  - GHSA-4j59-vv55-q6h3
  - PYSEC-2026-1893
title: Salt's salt.auth.pki module does not properly authenticate callers
summary: Salt's salt.auth.pki module does not properly authenticate callers
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
vendor: salt
product: salt
ecosystem: pip
affected:
  - 'salt >= 3006.0rc1, < 3006.12'
  - 'salt >= 3007.0rc1, < 3007.4'
patched:
  - salt 3006.12
  - salt 3007.4
published: '2025-06-13'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-4j59-vv55-q6h3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-38825'
  - url: >-
      https://github.com/saltstack/salt/commit/5ff18fd0ececdfd083ddce693c3ccef30e44f155
  - url: >-
      https://github.com/saltstack/salt/commit/d7cb64e44db5f82fd615373f5dca2eb1fb29bbab
  - url: 'https://docs.saltproject.io/en/3006/topics/releases/3006.12.html'
  - url: 'https://docs.saltproject.io/en/3007/topics/releases/3007.4.html'
  - url: 'https://github.com/saltstack/salt'
tags:
  - osv
  - pip
epss: 0.00154
epssPercentile: 0.03741
ingestedAt: '2026-07-08T18:25:45.502Z'
---

## Overview

The salt.auth.pki module does not properly authenticate callers. The "password" field contains a public certificate which is validated against a CA certificate by the module. This is not pki authentication, as the caller does not need access to the corresponding private key for the authentication attempt to be accepted.

## Affected packages

- `salt >= 3006.0rc1, < 3006.12`
- `salt >= 3007.0rc1, < 3007.4`

## Remediation

Upgrade to a patched release:

- `salt 3006.12`
- `salt 3007.4`
