CWE-23Weakness · CWE-23

CVE-2025-20059

CRITICAL · 9.1 CVSS v3.1 Published 2025-02-20
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Relative Path Traversal vulnerability in Ping Identity PingAM Java Policy Agent allows Parameter Injection.This issue affects PingAM Java Policy Agent: through 5.10.3, through 2023.11.1, through 2024.9.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Relative path traversal vulnerability in PingAM Java Policy Agent enables attackers to manipulate file path parameters to access files outside the intended web root directory. The parameter injection aspect allows malicious input to bypass path validation controls, potentially leading to unauthorized file access, information disclosure, or remote code execution in certain configurations.

MitigationUpgrade PingAM Java Policy Agent to the latest patched version once available. Implement strict input validation and canonicalization of file paths before use to prevent traversal sequences. Apply principle of least privilege to the agent's filesystem access.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate PingAM Java Policy Agent installation
    Search for PingAM or OpenAM policy agent JAR files in the application server's lib directory, or check for agent installation under /web_agents/ or /policy-agents/ paths. Common locations include /opt/pingidentity/ or the application's WEB-INF/lib folder.
    Affected if PingAM Java Policy Agent JAR files (such as pingfederate-agent*.jar, am-agent*.jar, or policy-agent*.jar) are present in the environment
  2. Determine installed agent version
    Examine the MANIFEST.MF file inside the policy agent JAR, or check the version file in the agent installation directory (often named VERSION or version.properties). Compare the version string to the affected version range provided by Ping Identity.
    Affected if The installed version falls within the vulnerable version range for CVE-2025-20059
  3. Verify web agent policy configuration is enabled
    Check the agent's bootstrap properties file (typically agent.conf, AgentConfiguration.xml, or the JSON configuration file in the agent config directory) for lines containing 'com.sun.identity.agents.config.policy.evaluation.mode' or similar policy evaluation settings. Look for whether policy enforcement is actively configured.
    Affected if The web agent has active policy configuration with path-based policy evaluation enabled, as traversal only affects agents handling file path parameters through policy evaluation
  4. Inspect file path handling in agent configuration
    Examine the agent's configuration files for settings related to URL resource handling, such as 'com.sun.identity.agents.config.resource.access' or similar resource mapping entries. Check if the agent is configured to process file-based resources or custom URL patterns.
    Affected if The agent configuration contains resource mappings or URL patterns that process file path parameters, enabling the path traversal vector
  5. Review agent log for traversal attempts
    Check the agent debug logs (typically in logs/ or debug/ subdirectories under the agent home) for any entries containing '../', '..\', or path traversal patterns that may indicate exploitation attempts or configuration anomalies.
    Affected if The agent logs show unusual path traversal patterns in requests or configuration entries, suggesting the vulnerable code path may be exercised

A user is affected if PingAM Java Policy Agent is installed and the version matches the vulnerable range, particularly when file path handling or policy-based resource access is enabled in the agent configuration.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade PingAM Java Policy Agent to the latest patched version once available. Implement strict input validation and canonicalization of file paths before use to prevent traversal sequences. Apply principle of least privilege to the agent's filesystem access.

Recommended fix Moderate confidence

5.11+ or 2024.10+ depending on release track

  1. 1. Identify your current PingAM Java Policy Agent version by checking the agent configuration or WAR file properties
  2. 2. For the 5.x release track: upgrade to version 5.11 or later
  3. 3. For the year-month release track (2023.x/2024.x): upgrade to version 2024.10 or later
  4. 4. After upgrading, verify the agent starts successfully and policy enforcement continues to work correctly
  5. 5. Test that the path traversal vulnerability is no longer exploitable by attempting parameter injection on affected endpoints
Caveat Review release notes for any deprecated features or configuration changes between your current version and the upgrade target

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA4.0 h
22.0 hours of engineering $3,860
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-20059 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-20059 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data