Bug 2519523 (CVE-2026-76561) - CVE-2026-76561 pki-core: Dogtag/PKI: certprofile-import allows code execution via unsanitized profile content (ExternalProcessConstraint)
Summary: CVE-2026-76561 pki-core: Dogtag/PKI: certprofile-import allows code execution...
Keywords:
Status: NEW
Alias: CVE-2026-76561
Deadline: 2026-09-07
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 12:32 UTC by OSIDB Bzimport
Modified: 2026-11-04 14:40 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:73765 0 None None None 2026-09-30 08:16:30 UTC
Red Hat Product Errata RHSA-2026:73766 0 None None None 2026-09-30 09:07:20 UTC
Red Hat Product Errata RHSA-2026:75573 0 None None None 2026-10-05 02:44:33 UTC
Red Hat Product Errata RHSA-2026:86621 0 None None None 2026-10-21 06:32:07 UTC
Red Hat Product Errata RHSA-2026:86623 0 None None None 2026-10-21 06:54:18 UTC
Red Hat Product Errata RHSA-2026:86624 0 None None None 2026-10-21 06:51:56 UTC
Red Hat Product Errata RHSA-2026:86625 0 None None None 2026-10-21 06:48:11 UTC
Red Hat Product Errata RHSA-2026:93668 0 None None None 2026-11-02 12:46:07 UTC
Red Hat Product Errata RHSA-2026:95097 0 None None None 2026-11-04 12:32:11 UTC
Red Hat Product Errata RHSA-2026:95181 0 None None None 2026-11-04 14:33:14 UTC
Red Hat Product Errata RHSA-2026:95182 0 None None None 2026-11-04 14:40:14 UTC

Description OSIDB Bzimport 2026-08-19 12:32:13 UTC
FreeIPA's certprofile_import.pre_callback (ipaserver/plugins/certprofile.py) only extracts and validates the profileId field from an uploaded certificate profile; the remainder of the profile configuration is passed through unvalidated to Dogtag. Dogtag's ExternalProcessConstraint (base/ca/src/main/java/com/netscape/cms/profile/constraint/ExternalProcessConstraint.java) executes a configured binary with request-derived environment variables, giving a user who can import certificate profiles (a CA-Administrator-equivalent privilege) code execution as pkiuser.

Independently reproduced against a stock freeipa/freeipa-server:almalinux-10 (FreeIPA 4.13.1) install, using an administrator credential obtained via the companion FreeIPA takeover flaw: the certprofile-import -> ExternalProcessConstraint chain executed attacker-controlled commands. In the reference container, a further SSSD-cache-forging + ksu misconfiguration escalated this to full root — confirmed via a random-token file write, then read back through an independent channel to rule out fabricated output. Whether the root escalation applies to a genuine RHEL RPM-packaged IdM/PKI install (as opposed to being specific to the community container's SSSD/ksu configuration) has not yet been independently confirmed and needs follow-up before finalizing severity.

This requires an already-authenticated CA-Administrator-equivalent account — it is not reachable anonymously on its own. Identified as part of the PSIRTSUPT-21812 investigation; see linked ticket for reproduction evidence.

Comment 1 Jon Orris 2026-09-30 08:16:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:73765 https://access.redhat.com/errata/RHSA-2026:73765

Comment 2 Jon Orris 2026-09-30 09:07:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:73766 https://access.redhat.com/errata/RHSA-2026:73766

Comment 3 Jon Orris 2026-10-05 02:44:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:75573 https://access.redhat.com/errata/RHSA-2026:75573

Comment 6 Jon Orris 2026-10-21 06:32:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:86621 https://access.redhat.com/errata/RHSA-2026:86621

Comment 7 Jon Orris 2026-10-21 06:48:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:86625 https://access.redhat.com/errata/RHSA-2026:86625

Comment 8 Jon Orris 2026-10-21 06:51:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:86624 https://access.redhat.com/errata/RHSA-2026:86624

Comment 9 Jon Orris 2026-10-21 06:51:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:86624 https://access.redhat.com/errata/RHSA-2026:86624

Comment 10 Jon Orris 2026-10-21 06:54:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:86623 https://access.redhat.com/errata/RHSA-2026:86623

Comment 11 Jon Orris 2026-11-02 12:46:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:93668 https://access.redhat.com/errata/RHSA-2026:93668

Comment 13 Jon Orris 2026-11-04 12:32:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:95097 https://access.redhat.com/errata/RHSA-2026:95097

Comment 14 Jon Orris 2026-11-04 12:32:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:95097 https://access.redhat.com/errata/RHSA-2026:95097

Comment 15 Jon Orris 2026-11-04 14:33:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:95181 https://access.redhat.com/errata/RHSA-2026:95181

Comment 16 Jon Orris 2026-11-04 14:40:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:95182 https://access.redhat.com/errata/RHSA-2026:95182

Comment 17 Jon Orris 2026-11-04 14:40:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:95182 https://access.redhat.com/errata/RHSA-2026:95182


Note You need to log in before you can comment on or make changes to this bug.