# CVE-2025-58713: Rhpam: privilege escalation via excessive /etc/passwd permissions

Status: published. Published: 2026-04-08. Updated: 2026-11-05.

A container privilege escalation flaw was found in certain Red Hat Process Automation Manager images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Red Hat / Red Hat Process Automation 7 (rhpam-businesscentral-monitoring-rhel8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Process Automation 7 (rhpam-businesscentral-rhel8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Process Automation 7 (rhpam-controller-rhel8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Process Automation 7 (rhpam-dashbuilder-rhel8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Process Automation 7 (rhpam-kieserver-rhel8): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Process Automation 7 (rhpam-process-migration-rhel8): Version range not reported. Source: CNA: redhat

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:process_automation_manager:7.0:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 6.4 (medium); CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H; source: CNA: redhat

- CVSS 3.1: 6.4 (medium); CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.15% as of 2026-11-05; percentile 4.31%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-276

## Exploit evidence

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

## References

- https://access.redhat.com/security/cve/CVE-2025-58713 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2394419 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2025-58713 (secalert@redhat.com; Vendor Advisory)

- https://bugzilla.redhat.com/show_bug.cgi?id=2394419 (secalert@redhat.com; Issue Tracking, Vendor Advisory)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2025-58713; retrieved 2026-11-05; source updated 2026-11-05

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-58713; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-58713; retrieved 2026-11-05; source updated Not reported

Revision: 46ae7061dcc72f29136ff378513772fa40a2ad82716de4bedd6b02a5cca714d8

Canonical: https://y2.dev/cve/CVE-2025-58713

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.