Sceawere
Vulnerability Detail
CVE-2026-76561UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
Dogtag PKI Arbitrary Command Execution
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.2
- Creation Date
- 4h ago
- Vendor
- Red Hat
- Product
- Red Hat Certificate System 9
- Attack Type
- Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
A flaw was found in Dogtag PKI, as used by FreeIPA's certificate authority component. The certificate profile import functionality does not fully validate uploaded profile content beyond the profile ID. An authenticated user with CA Administrator privileges can exploit Dogtag's ExternalProcessConstraint mechanism to execute arbitrary commands with attacker-controlled environment variables, achieving code execution as the pkiuser account.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.2",
"pubDate": "2026-09-08T08:17:12.020Z",
"pubdate": "2026-09-08T08:17:12.020Z",
"executiveSummary": "A critical command injection vulnerability exists within the Dogtag PKI certificate profile import functionality, which is utilized by the FreeIPA certificate authority component.\nThe vulnerability originates from improper validation of uploaded profile content, specifically within the ExternalProcessConstraint mechanism.\nAn authenticated attacker possessing CA Administrator privileges can leverage this flaw to execute arbitrary system commands, operating with the permissions of the pkiuser account.\nThe risk implication is severe, as successful exploitation facilitates full system compromise within the context of the PKI service, potentially allowing for lateral movement, credential theft, or the compromise of managed certificates.\nThe attack requires prior authentication and administrative-level access to the CA, limiting the threat surface to trusted or compromised privileged accounts.",
"technicalDetails": "The root cause of this vulnerability lies in the insufficient input validation performed during the certificate profile import process in Dogtag PKI. While the system validates the profile ID, it fails to sanitize or restrict the configuration parameters defined within the imported profile content.\nThe vulnerability specifically targets the ExternalProcessConstraint mechanism, a feature designed to invoke external processes as part of the certificate issuance or management workflow.\nBecause the application does not implement adequate validation or sanitization on these constraints, an attacker with CA Administrator privileges can supply a malicious profile configuration. This configuration can define arbitrary binary paths and controlled environment variables intended for execution by the underlying operating system.\nThe attack flow follows a structured sequence: 1) The authenticated CA Administrator crafts a malicious XML-based profile definition containing a command payload within the ExternalProcessConstraint fields. 2) The attacker uploads this profile to the Dogtag PKI via the administrative interface or API. 3) The PKI service processes the profile, failing to perform the necessary security checks on the embedded external process configuration. 4) Upon triggering the specific certificate operation associated with the malicious profile, the application invokes the defined command. 5) The command is executed with the effective privileges of the pkiuser service account.\nThe exploitation allows for the injection of arbitrary commands and environment variables, bypassing intended execution restrictions. By manipulating environment variables, an attacker can potentially alter the execution context, inject malicious libraries, or influence the behavior of other system processes.\nPost-exploitation impact includes complete control over the PKI subsystem, the ability to intercept or forge certificate requests, and the potential for privilege escalation to the host operating system depending on the existing environment configuration and security hardening measures implemented on the pkiuser account.\nThis vulnerability highlights a flaw in the trust boundary between the administrative input of certificate profiles and the execution of system-level operations, emphasizing the need for strict sandboxing or parameterization of external constraints within high-privilege administrative services."
}