Public vulnerability disclosure

CVE-2025-6020

Linux-pam: linux-pam directory traversal

publishedCWE-22

A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.

Technical severity7.8 highCVSS 3.1 · CNA: redhat
Published2025-06-17Source updated 2026-11-04
Collected2026-11-042 attributed sources

Fixes and workarounds

Workaround

Disable the `pam_namespace` module if it is not essential for your environment, or carefully review and configure it to avoid operating on any directories or paths that can be influenced or controlled by unprivileged users, such as user home directories or world-writable locations like `/tmp`.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


linux-pam
https://github.com/linux-pam/linux-pam
≥ 0; < 1.7.1 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 10
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.6.1-8.el10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.6.1-8.el10_0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.1.8-23.el7_9.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-37.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-38.el8_10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.2 Advanced Update Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-8.el8_2.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-14.el8_4.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-16.el8_6.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-16.el8_6.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-16.el8_6.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-26.el8_8.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.3.1-26.el8_8.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.5.1-26.el9_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.5.1-25.el9_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.5.1-9.el9_0.2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.5.1-15.el9_2.1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.4 Extended Update Support
Red Hat
pam
https://access.redhat.com/downloads/content/package-browser/
≥ 0:1.5.1-24.el9_4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Web Terminal 1.11 on RHEL 9
Red Hat
web-terminal/web-terminal-rhel9-operator
https://catalog.redhat.com/software/containers/
≥ 1.11-19; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Web Terminal 1.11 on RHEL 9
Red Hat
web-terminal/web-terminal-tooling-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.11-8; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Web Terminal 1.12 on RHEL 9
Red Hat
web-terminal/web-terminal-tooling-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.12-4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-businesscentral-monitoring-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752066672; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-businesscentral-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752065732; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-controller-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752065732; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-dashbuilder-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-3.1752065737; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-kieserver-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752065731; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 7.13.5-25; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-process-migration-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752065736; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-rhel8-operator
https://catalog.redhat.com/software/containers/
≥ 7.13.5-2.1752065733; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHEL-8 based Middleware Containers
Red Hat
rhpam-7/rhpam-smartrouter-rhel8
https://catalog.redhat.com/software/containers/
≥ 7.13.5-4.1752065755; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-data-index-ephemeral-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-11; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-data-index-postgresql-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-11; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-db-migrator-tool-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-11; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-jobs-service-ephemeral-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-jobs-service-postgresql-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-10; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-management-console-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-9; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 1.36.0-12; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-rhel8-operator
https://catalog.redhat.com/software/containers/
≥ 1.36.0-18; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-swf-builder-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-11; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RHOSS-1.36-RHEL-8
Red Hat
openshift-serverless-1/logic-swf-devmode-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.36.0-7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
cert-manager operator for Red Hat OpenShift 1.16
Red Hat
cert-manager/jetstack-cert-manager-rhel9
https://catalog.redhat.com/software/containers/
≥ v1.16.5-1760515757; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Compliance Operator 1
Red Hat
compliance/openshift-compliance-openscap-rhel8
https://catalog.redhat.com/software/containers/
≥ 1.8.0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 2
Red Hat
discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 2.0.0-1752592913; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Discovery 2
Red Hat
discovery/discovery-server-rhel9
https://catalog.redhat.com/software/containers/
≥ 2.2.1-1758555934; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Insights proxy 1.5
Red Hat
insights-proxy/insights-proxy-container-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.5.7-1759331989; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/opentelemetry-collector-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752046452; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/opentelemetry-rhel8-operator
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752046437; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/opentelemetry-target-allocator-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752046439; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-gateway-opa-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752070865; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-gateway-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752070873; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-jaeger-query-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1751993590; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-query-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752070827; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-rhel8
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752070833; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift distributed tracing 3.6.0
Red Hat
rhosdt/tempo-rhel8-operator
https://catalog.redhat.com/software/containers/
≥ rhosdt-3.6-1752070866; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift sandboxed containers 1.10
Red Hat
openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.10.2-1757422110; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift sandboxed containers 1.10
Red Hat
openshift-sandboxed-containers/osc-monitor-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.10.2-1757421804; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift sandboxed containers 1.10
Red Hat
openshift-sandboxed-containers/osc-podvm-builder-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.10.2-1757421879; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat OpenShift sandboxed containers 1.10
Red Hat
openshift-sandboxed-containers/osc-podvm-payload-rhel9
https://catalog.redhat.com/software/containers/
≥ 1.10.2-1757422401; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
RUGGEDCOM ROX MX5000
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX MX5000RE
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1400
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1500
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1501
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1510
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1511
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1512
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1524
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX1536
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP
RUGGEDCOM ROX RX5000
Siemens
≥ 0; < V2.17.1 (affected, custom)
Other versions: unknown
ADP: siemens-SADP

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: redhat

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide