CVE-2026-76561 Overview
CVE-2026-76561 is a command injection vulnerability in Dogtag PKI, the certificate authority component used by FreeIPA. The certificate profile import functionality fails to fully validate uploaded profile content beyond the profile ID. An authenticated attacker holding CA Administrator privileges can abuse Dogtag's ExternalProcessConstraint mechanism to run arbitrary commands with attacker-controlled environment variables. Successful exploitation yields code execution as the pkiuser account on the CA host. The flaw is tracked under CWE-78 (OS Command Injection).
Critical Impact
A CA Administrator can pivot from certificate profile management to arbitrary command execution as pkiuser, compromising the certificate authority trust anchor of a FreeIPA deployment.
Affected Products
- Dogtag PKI (certificate authority subsystem)
- FreeIPA deployments using the Dogtag CA component
- Red Hat Identity Management (IdM) integrations relying on Dogtag PKI
Discovery Timeline
- 2026-09-08 - CVE-2026-76561 published to the National Vulnerability Database
- 2026-09-08 - Last updated in NVD database
Technical Details for CVE-2026-76561
Vulnerability Analysis
Dogtag PKI supports customizable certificate profiles that define issuance policy, defaults, and constraints. Administrators can import profiles through the CA's REST and management interfaces. The import path validates only the profile ID field and passes the remainder of the profile content into the profile subsystem without adequate sanitization.
One of the supported policy constraints is ExternalProcessConstraint, a mechanism that invokes an external program during profile evaluation. The attacker configures this constraint through the imported profile to reference an executable path along with environment variables that the attacker controls. When the profile is later exercised, Dogtag invokes the external process with those attacker-controlled parameters, resulting in arbitrary command execution as the pkiuser service account.
Exploitation requires CA Administrator credentials, which limits the attack to insiders or attackers who have already compromised a privileged CA account. However, because Dogtag underpins FreeIPA's certificate issuance, code execution as pkiuser provides a foothold on the CA host and access to signing key material handled by the subsystem.
Root Cause
The root cause is insufficient input validation during certificate profile import. The importer trusts the profile body once the profile ID is accepted, allowing a crafted profile to configure ExternalProcessConstraint with attacker-supplied command paths and environment variables. This aligns with CWE-78, OS Command Injection.
Attack Vector
The attack is network-reachable through Dogtag's administrative API surface but requires authenticated CA Administrator privileges. An attacker with such credentials submits a malicious profile that declares an ExternalProcessConstraint referencing a chosen binary and environment. Triggering the profile causes the CA process to execute the specified command in the security context of the pkiuser account. Refer to the Red Hat CVE-2026-76561 advisory and Red Hat Bug Report #2519523 for vendor technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-76561
Indicators of Compromise
- Unexpected certificate profile import or modification events attributed to CA Administrator accounts in Dogtag audit logs.
- Profile definitions containing ExternalProcessConstraint referencing binaries outside standard Dogtag policy tooling.
- Child processes spawned by the Dogtag CA Java process (typically pki-tomcatd) running under the pkiuser UID.
- Outbound network connections or shell utilities executed by pkiuser where none are expected.
Detection Strategies
- Alert on any profile create or update API call that introduces or modifies an ExternalProcessConstraint policy element.
- Monitor process ancestry on CA hosts for non-Java children of the Dogtag Tomcat process running as pkiuser.
- Correlate Dogtag audit events with host-level process telemetry to detect profile changes followed by anomalous command execution.
Monitoring Recommendations
- Forward Dogtag audit logs and FreeIPA management logs to a centralized analytics platform for retention and correlation.
- Baseline expected certificate profile inventory and alert on drift, particularly additions of external-process constraints.
- Track privileged CA Administrator authentications and flag sessions performing profile imports outside change windows.
How to Mitigate CVE-2026-76561
Immediate Actions Required
- Apply vendor updates for Dogtag PKI and FreeIPA as they become available from Red Hat and upstream maintainers.
- Audit current certificate profiles for any ExternalProcessConstraint entries and remove untrusted ones.
- Review CA Administrator account membership and revoke privileges that are not operationally required.
- Rotate credentials for CA Administrator accounts that may have been exposed.
Patch Information
Consult the Red Hat CVE-2026-76561 page and Red Hat Bug Report #2519523 for fixed package versions and errata. Apply the patched Dogtag PKI packages to all CA replicas in the FreeIPA topology and restart the affected services.
Workarounds
- Restrict access to the Dogtag CA administrative interfaces to trusted management networks only.
- Enforce multi-factor authentication for all accounts with CA Administrator role assignments.
- Implement change control and peer review for certificate profile imports until patches are deployed.
- Monitor and alert on any invocation path involving ExternalProcessConstraint in profile definitions.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

