{"id":"CVE-2022-22941","aliases":["CVE-2022-22941","GHSA-qcr3-hr2f-6557","PYSEC-2022-174"],"related":[],"kind":"vulnerability","state":"published","title":"SaltStack Salt Permissions Bypass","summary":"An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. When configured as a Master-of-Masters, with a publisher_acl, if a user configured in the publisher_acl targets any minion connected to the Syndic, the Salt Master incorrectly interpreted no valid targets as valid, allowing configured users to target any of the minions connected to the syndic with their configured commands. This requires a syndic master combined with publisher_acl configured on the Master-of-Masters, allowing users specified in the publisher_acl to bypass permissions, publishing authorized commands to any configured minion.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. When configured as a Master-of-Masters, with a publisher_acl, if a user configured in the publisher_acl targets any minion connected to the Syndic, the Salt Master incorrectly interpreted no valid targets as valid, allowing configured users to target any of the minions connected to the syndic with their configured commands. This requires a syndic master combined with publisher_acl configured on the Master-of-Masters, allowing users specified in the publisher_acl to bypass permissions, publishing authorized commands to any configured minion.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en SaltStack Salt en versiones anteriores a 3002.8, 3003.4, 3004.1. Cuando es configurado como \"Master-of-Masters\", con un publisher_acl, si un usuario configurado en el publisher_acl apunta a cualquier minion conectado al Syndic, el Maestro de Salt interpreta incorrectamente que no presenta objetivos válidos, permitiendo a usuarios configurados apuntar a cualquiera de los minions conectados al syndic con sus comandos configurados. Esto requiere un syndic master combinado con publisher_acl configurado en el Master-of-Masters, permitiendo a usuarios especificados en el publisher_acl omitir los permisos, publicando comandos autorizados a cualquier minion configurado","source":"nvd"}],"published":"2022-03-29T00:00:00.000Z","modified":"2026-06-17T04:29:12.743Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"version":"SaltStack Salt prior to 3002.8, 3003.4, 3004.1","status":"affected"}],"product":"SaltStack Salt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3002.8"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3003","status":"affected","fixed":"3003.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3004","status":"affected","fixed":"3004.1"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3002","fixed":"3002.8"},{"status":"affected","introduced":"3003","fixed":"3003.4"},{"status":"affected","introduced":"3004","fixed":"3004.1"}],"vendor":"saltstack","product":"salt","cpe":"cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3002.8"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"}],"references":[{"url":"https://saltproject.io/security_announcements/salt-security-advisory-release/%2C","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/saltstack/salt/releases%2C","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://repo.saltproject.io/","tags":["product","web","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://security.gentoo.org/glsa/202310-22","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22941","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.8.rst#L31","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3003.4.rst#L32","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3004.1.rst#L30","tags":["web"],"sources":["ghsa"]},{"url":"https://repo.saltproject.io","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt/releases,","tags":["web"],"sources":["pysec"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-release/,","tags":["advisory"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-qcr3-hr2f-6557","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T13:30:52.383Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-22941","url":"https://www.cve.org/CVERecord?id=CVE-2022-22941","licence":"CVE Terms of Use","modified":"2025-05-05T16:28:25.364Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcr3-hr2f-6557","url":"https://github.com/advisories/GHSA-qcr3-hr2f-6557","licence":"CC-BY-4.0","modified":"2024-10-22T15:11:34.787Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-22941","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22941","licence":"Public domain","modified":"2026-06-17T04:29:12.743Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-174","url":"https://osv.dev/vulnerability/PYSEC-2022-174","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:40.188Z"}],"updatedAt":"2026-11-25T22:58:10.325Z","epss":{"score":0.01335,"percentile":0.72014,"date":"2026-12-01T12:00:22.000Z"}}