CVE-2026-79678

Freeipa: idm: freeipa: idp-add eval() reachable before authorization check allows environment disclosure and denial of service

Published Sep 7, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
A flaw was found in FreeIPA's idp-add command, where insufficiently validated --organization/--base-url input reaches a constrained eval() call before the corresponding LDAP access control check is enforced. This allows any authenticated IPA principal, regardless of privilege level, to enumerate and read the environment variables of the affected server process and to cause denial of service via memory exhaustion.

Analysis

AI-generated

Technical impact

The flaw lives in the FreeIPA idp‑add command. Insufficient validation of the --organization/--base‑url arguments allows the attacker to reach a constrained eval() call before the LDAP access control check runs. The eval call executes shell code derived from user‑supplied data, enabling any authenticated IPA principal—regardless of privilege—to read environment variables of the server process and to trigger a memory‑exhaustion denial of service.

Affected Systems

Red Hat Enterprise Linux 6 through 10 running FreeIPA are affected. The vulnerability is present in the FreeIPA packages shipped with these RHEL releases. The known CPE identifiers include versions 6, 7, 8, 9, and 10 of Red Hat Enterprise Linux.

Risk and Exploitability

The detected CVSS base score is 8.1, indicating high severity. No EPSS score is available. The vulnerability is not yet listed in the CISA KEV catalog. Exploitation requires an authenticated IPA user; it is likely carried out over the network by executing idp‑add with crafted parameters. Successful exploitation exposes the process’s environment and can crash the service by exhausting available memory.

Remediation

Vendor Workaround

There is no configuration-based mitigation that prevents an authenticated but unprivileged principal from reaching the affected code path; upgrading to a fixed package is required once available. Administrators of container-based deployments should verify that credentials supplied via the PASSWORD environment variable during initial container setup do not persist in the running server process's environment.


OpenCVE Recommended Actions

  • Upgrade FreeIPA to the patched version provided by Red Hat once it becomes available.
  • For container deployments, ensure that any PASSWORD environment variable used during initial setup is not retained in the running container’s environment; remove or unset it after start.
  • Restrict privileged access to the idp‑add command—for example, by configuring LDAP ACLs to limit its use to administrators or by disabling the command in unneeded environments.

Generated by OpenCVE AI on September 7, 2026 at 14:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Eus Long Life
CPEs cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
Vendors & Products Redhat rhel Aus
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
First Time appeared Redhat rhel Tus
CPEs cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
Vendors & Products Redhat rhel Tus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.4::appstream
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_eus:9.6::crb
Vendors & Products Redhat rhel E4s
Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
CPEs cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
References
Type Values Removed Values Added
First Time appeared Redhat freeipa
Vendors & Products Redhat freeipa
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in FreeIPA's idp-add command, where insufficiently validated --organization/--base-url input reaches a constrained eval() call before the corresponding LDAP access control check is enforced. This allows any authenticated IPA principal, regardless of privilege level, to enumerate and read the environment variables of the affected server process and to cause denial of service via memory exhaustion.
Title Freeipa: idm: freeipa: idp-add eval() reachable before authorization check allows environment disclosure and denial of service
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-95
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}

Weaknesses
  • CWE-95

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 23, 2026, 3:54 PM
Reserved
Aug 25, 2026, 11:27 AM
Status
Awaiting Analysis
Published
Sep 7, 2026, 1:20 PM
Modified
Nov 23, 2026, 4:18 PM
Severity
Important
Public date
Sep 7, 2026, 11:46 AM