CVE-2025-62348: CWE-94 Improper Control of Generation of Code ('Code Injection') in Salt Project Salt
Salt's junos execution module contained an unsafe YAML decode/load usage. A specially crafted YAML payload processed by the junos module could lead to unintended code execution under the context of the Salt process.
AI Analysis
Technical Summary
CVE-2025-62348 is a vulnerability classified under CWE-94 (Improper Control of Generation of Code) affecting the Salt Project's Salt software, version 3006.0. The issue resides in the junos execution module, which improperly handles YAML deserialization by using unsafe YAML decode/load functions. This unsafe deserialization allows an attacker to craft malicious YAML payloads that, when processed by the junos module, result in arbitrary code execution within the context of the Salt process. The vulnerability requires an attacker to have local access with low privileges (PR:L) but does not require user interaction (UI:N). The scope is unchanged (S:U), meaning the exploit affects only the vulnerable component without extending privileges beyond the Salt process. The CVSS v3.1 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability (all rated high). No patches are currently linked, and no known exploits have been observed in the wild, but the potential for exploitation remains significant due to the nature of YAML deserialization vulnerabilities. The Salt software is widely used for configuration management and automation, making this vulnerability critical for environments relying on Salt for infrastructure orchestration, especially where the junos module is employed for network device management.
Potential Impact
The impact of CVE-2025-62348 is substantial for organizations using Salt 3006.0, particularly those leveraging the junos execution module for network device management. Successful exploitation allows attackers to execute arbitrary code with the privileges of the Salt process, potentially leading to full system compromise. This can result in unauthorized access to sensitive data, modification or destruction of configuration files, disruption of automation workflows, and broader network compromise if Salt is used to manage multiple systems. Given Salt's role in infrastructure automation, an attacker could pivot to other systems or disrupt critical operations, impacting availability and integrity of IT environments. The requirement for local access limits remote exploitation but does not eliminate risk, especially in environments where multiple users or automated processes interact with Salt. The absence of known exploits in the wild suggests limited current exploitation but does not reduce the urgency of remediation due to the high severity and potential for rapid weaponization.
Mitigation Recommendations
To mitigate CVE-2025-62348, organizations should: 1) Monitor Salt Project communications and apply official patches immediately once released to address the unsafe YAML deserialization. 2) Restrict access to Salt processes and the junos execution module to trusted administrators only, minimizing the risk of local exploitation. 3) Implement strict input validation and sanitization for any YAML inputs processed by Salt, particularly those related to the junos module. 4) Employ sandboxing or containerization techniques to isolate Salt processes, limiting the impact of potential code execution. 5) Audit and monitor Salt logs and system behavior for unusual activity indicative of exploitation attempts. 6) Review and tighten permissions on Salt configuration files and execution environments to prevent unauthorized modification. 7) Educate administrators on the risks of unsafe deserialization and enforce the principle of least privilege for users interacting with Salt. These steps go beyond generic advice by focusing on controlling local access, input validation, and process isolation specific to this vulnerability's exploitation vector.
Affected Countries
United States, Germany, United Kingdom, Japan, Canada, Australia, France, Netherlands, South Korea, India
CVE-2025-62348: CWE-94 Improper Control of Generation of Code ('Code Injection') in Salt Project Salt
Description
Salt's junos execution module contained an unsafe YAML decode/load usage. A specially crafted YAML payload processed by the junos module could lead to unintended code execution under the context of the Salt process.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-62348 is a vulnerability classified under CWE-94 (Improper Control of Generation of Code) affecting the Salt Project's Salt software, version 3006.0. The issue resides in the junos execution module, which improperly handles YAML deserialization by using unsafe YAML decode/load functions. This unsafe deserialization allows an attacker to craft malicious YAML payloads that, when processed by the junos module, result in arbitrary code execution within the context of the Salt process. The vulnerability requires an attacker to have local access with low privileges (PR:L) but does not require user interaction (UI:N). The scope is unchanged (S:U), meaning the exploit affects only the vulnerable component without extending privileges beyond the Salt process. The CVSS v3.1 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability (all rated high). No patches are currently linked, and no known exploits have been observed in the wild, but the potential for exploitation remains significant due to the nature of YAML deserialization vulnerabilities. The Salt software is widely used for configuration management and automation, making this vulnerability critical for environments relying on Salt for infrastructure orchestration, especially where the junos module is employed for network device management.
Potential Impact
The impact of CVE-2025-62348 is substantial for organizations using Salt 3006.0, particularly those leveraging the junos execution module for network device management. Successful exploitation allows attackers to execute arbitrary code with the privileges of the Salt process, potentially leading to full system compromise. This can result in unauthorized access to sensitive data, modification or destruction of configuration files, disruption of automation workflows, and broader network compromise if Salt is used to manage multiple systems. Given Salt's role in infrastructure automation, an attacker could pivot to other systems or disrupt critical operations, impacting availability and integrity of IT environments. The requirement for local access limits remote exploitation but does not eliminate risk, especially in environments where multiple users or automated processes interact with Salt. The absence of known exploits in the wild suggests limited current exploitation but does not reduce the urgency of remediation due to the high severity and potential for rapid weaponization.
Mitigation Recommendations
To mitigate CVE-2025-62348, organizations should: 1) Monitor Salt Project communications and apply official patches immediately once released to address the unsafe YAML deserialization. 2) Restrict access to Salt processes and the junos execution module to trusted administrators only, minimizing the risk of local exploitation. 3) Implement strict input validation and sanitization for any YAML inputs processed by Salt, particularly those related to the junos module. 4) Employ sandboxing or containerization techniques to isolate Salt processes, limiting the impact of potential code execution. 5) Audit and monitor Salt logs and system behavior for unusual activity indicative of exploitation attempts. 6) Review and tighten permissions on Salt configuration files and execution environments to prevent unauthorized modification. 7) Educate administrators on the risks of unsafe deserialization and enforce the principle of least privilege for users interacting with Salt. These steps go beyond generic advice by focusing on controlling local access, input validation, and process isolation specific to this vulnerability's exploitation vector.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2025-10-10T10:06:33.841Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 697d02b1ac06320222725d76
Added to database: 1/30/2026, 7:12:49 PM
Last enriched: 2/27/2026, 7:33:08 AM
Last updated: 3/25/2026, 5:13:20 AM
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.