CVE-2025-20059
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 · uneditedRelative 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 confidenceRelative 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Locate PingAM Java Policy Agent installationSearch 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
-
Determine installed agent versionExamine 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
-
Verify web agent policy configuration is enabledCheck 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
-
Inspect file path handling in agent configurationExamine 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
-
Review agent log for traversal attemptsCheck 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.
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 · scopedUpgrade 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.
5.11+ or 2024.10+ depending on release track
- 1. Identify your current PingAM Java Policy Agent version by checking the agent configuration or WAR file properties
- 2. For the 5.x release track: upgrade to version 5.11 or later
- 3. For the year-month release track (2023.x/2024.x): upgrade to version 2024.10 or later
- 4. After upgrading, verify the agent starts successfully and policy enforcement continues to work correctly
- 5. Test that the path traversal vulnerability is no longer exploitable by attempting parameter injection on affected endpoints
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-20059 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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