# Linux-pam: linux-pam directory traversal

CVE record · `CVE-2025-6020`

- **Identifiers:** `CVE-2025-6020`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** redhat
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Technologies:** [Red Hat Enterprise Linux 10](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-10.md) · [Red Hat Enterprise Linux 10.0 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-10-0-extended-update-support.md) · [Red Hat Enterprise Linux 7 Extended Lifecycle Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-7-extended-lifecycle-support.md) · [Red Hat Enterprise Linux 8](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8.md) · [Red Hat Enterprise Linux 8.2 Advanced Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-2-advanced-update-support.md) · [Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-4-advanced-mission-critical-update-support.md) · [Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-advanced-mission-critical-update-support.md) · [Red Hat Enterprise Linux 8.6 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 8.8 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9.md) · [Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-0-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-2-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.4 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-4-extended-update-support.md) · [Red Hat Web Terminal 1.11 on RHEL 9](https://agentprime.io/advisories/technology/red-hat-web-terminal-1-11-on-rhel-9.md) · [Red Hat Web Terminal 1.12 on RHEL 9](https://agentprime.io/advisories/technology/red-hat-web-terminal-1-12-on-rhel-9.md) · [Red Hat RHEL-8 based Middleware Containers](https://agentprime.io/advisories/technology/red-hat-rhel-8-based-middleware-containers.md) · [Red Hat RHOSS-1.36-RHEL-8](https://agentprime.io/advisories/technology/red-hat-rhoss-1-36-rhel-8.md) · [cert-manager operator for Red Hat OpenShift 1.16](https://agentprime.io/advisories/technology/cert-manager-operator-for-red-hat-openshift-1-16.md)
- **Published:** 17 Jun 2025
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: redhat) at 17 Jun 2025, 12:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Not given. Product: Not given.
  - affected: `before 1.7.1` (semver)
  - Other versions: unaffected
  - Package name: `linux-pam`
  - Collection: `https://github.com/linux-pam/linux-pam`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 10.
  - unaffected: `0:1.6.1-8.el10 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 10.0 Extended Update Support.
  - unaffected: `0:1.6.1-8.el10_0 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support.
  - unaffected: `0:1.1.8-23.el7_9.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.
  - unaffected: `0:1.3.1-37.el8_10 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.
  - unaffected: `0:1.3.1-38.el8_10 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.2 Advanced Update Support.
  - unaffected: `0:1.3.1-8.el8_2.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.
  - unaffected: `0:1.3.1-14.el8_4.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support.
  - unaffected: `0:1.3.1-16.el8_6.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service.
  - unaffected: `0:1.3.1-16.el8_6.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions.
  - unaffected: `0:1.3.1-16.el8_6.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service.
  - unaffected: `0:1.3.1-26.el8_8.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions.
  - unaffected: `0:1.3.1-26.el8_8.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:1.5.1-26.el9_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:1.5.1-25.el9_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:1.5.1-26.el9_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `0:1.5.1-25.el9_6 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions.
  - unaffected: `0:1.5.1-9.el9_0.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions.
  - unaffected: `0:1.5.1-15.el9_2.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.4 Extended Update Support.
  - unaffected: `0:1.5.1-24.el9_4 to before *` (rpm)
  - Other versions: affected
  - Package name: `pam`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Web Terminal 1.11 on RHEL 9.
  - unaffected: `1.11-19 to before *` (rpm)
  - Other versions: affected
  - Package name: `web-terminal/web-terminal-rhel9-operator`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Web Terminal 1.11 on RHEL 9.
  - unaffected: `1.11-8 to before *` (rpm)
  - Other versions: affected
  - Package name: `web-terminal/web-terminal-tooling-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: Red Hat Web Terminal 1.12 on RHEL 9.
  - unaffected: `1.12-4 to before *` (rpm)
  - Other versions: affected
  - Package name: `web-terminal/web-terminal-tooling-rhel9`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752066672 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-businesscentral-monitoring-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752065732 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-businesscentral-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752065732 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-controller-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-3.1752065737 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-dashbuilder-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752065731 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-kieserver-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-25 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-operator-bundle`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752065736 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-process-migration-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-2.1752065733 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-rhel8-operator`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHEL-8 based Middleware Containers.
  - unaffected: `7.13.5-4.1752065755 to before *` (rpm)
  - Other versions: affected
  - Package name: `rhpam-7/rhpam-smartrouter-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-11 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-data-index-ephemeral-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-11 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-data-index-postgresql-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-11 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-db-migrator-tool-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-10 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-jobs-service-ephemeral-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-10 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-jobs-service-postgresql-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-4 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-9 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-management-console-rhel8`
  - Collection: `https://catalog.redhat.com/software/containers/`
- Vendor: Red Hat. Product: RHOSS-1.36-RHEL-8.
  - unaffected: `1.36.0-12 to before *` (rpm)
  - Other versions: affected
  - Package name: `openshift-serverless-1/logic-operator-bundle`
  - Collection: `https://catalog.redhat.com/software/containers/`

And 21 more products. The full list is on the CVE record: <https://www.cve.org/CVERecord?id=CVE-2025-6020>

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0047, the 40th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 17 Jun 2025, 12:44 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-6020)
- 17 Jun 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-6020)

## Sources

- [CVE List: CVE-2025-6020](https://www.cve.org/CVERecord?id=CVE-2025-6020)
- [NVD: CVE-2025-6020](https://nvd.nist.gov/vuln/detail/CVE-2025-6020)

### References from the CNA

- <https://access.redhat.com/errata/RHSA-2025:10024> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10027> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10180> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10354> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10357> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10358> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10359> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10361> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10362> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10735> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:10823> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:11386> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:11487> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:14557> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:15099> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:15709> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:15827> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:15828> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:16524> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:17181> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:18219> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:20181> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:21885> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:22019> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9526> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2026:0934> (vendor-advisory, redhat)
- <https://access.redhat.com/security/cve/CVE-2025-6020> (vdb-entry, redhat)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2372512> (issue-tracking, redhat)
- <https://github.com/linux-pam/linux-pam/security/advisories/GHSA-f9p8-gjr4-j9gx>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-6020>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-6020/>. Everything for agents: <https://agentprime.io/llms.txt>.
