No Matching-Pattern found, using .*?@ANY_VERSION@@ARCHIVE_EXT@
There are 5 open security issues in buster.
commit 09466b128c0bce677e48f3667d3dbe222c0697a4
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Wed Nov 25 09:33:58 2026 +0200
version bump
commit 7e1cdf5857ae0c53f4148509eeaf429050c55e70
Merge: 0199811 a68e88a
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Wed Nov 25 09:33:31 2026 +0200
Merge branch 'upstream'
commit a68e88a755d1f5f0c7d589ac8baa6434d533ab9e
Author: Antonio Torres <antorres@antorres-thinkpadx1carbongen11.rmtes.csb>
Date: Mon Nov 9 15:31:15 2026 +0100
Become IPA 4.13.5
Signed-off-by: Antonio Torres <antorres@antorres-thinkpadx1carbongen11.rmtes.csb>
commit 8a09d5be8c57d726b56c9575d7dfcbfe7d44025d
Author: Carla Martinez <carlmart@redhat.com>
Date: Thu Sep 17 16:02:41 2026 +0200
CVE-2026-86593: Limit request body size on unauthenticated session endpoints
The login_password, change_password, and sync_token endpoints call
`read_input()` without passing `MAX_REQUEST_BODY_SIZE`. Because these
endpoints are exposed without authentication via the Apache
configuration (Satisfy Any / Require all granted), an attacker can
send arbitrarily large request bodies to exhaust the shared WSGI
worker pool and deny service to all IPA HTTP functionality.
Pass `MAX_REQUEST_BODY_SIZE` to `read_input()` and return 413 when the
declared Content-Length exceeds the limit.
Signed-off-by: Carla Martinez <carlmart@redhat.com>
commit d0eecb85be597d1c90bd4c8e6157672ebffb5cc2
Author: David Hanina <dhanina@redhat.com>
Date: Wed Sep 16 14:01:57 2026 +0200
webui: remove redirect from password reset page
Remove the ability to redirect to an arbitrary URL after a successful
password reset. This drops the automatic delayed redirect countdown,
the manual "Continue to next page" link, and the associated i18n
strings and Web UI tests.
Fixes: https://codeberg.org/freeipa/freeipa/issues/10063
Assisted-by: Cursor <cursoragent@cursor.com>
Signed-off-by: David Hanina <dhanina@redhat.com>
Reviewed-By: Anuja More <amore@redhat.com>
commit 019981193095bd80dc514e98b8cb0ed4c03eb01a
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Wed Sep 16 13:32:26 2026 +0300
version bump
commit 82a34ff05868c05b9e4a542951930cbb59a3c3b7
Merge: cafe62a ad8e56f
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Wed Sep 16 10:39:19 2026 +0300
Merge branch 'upstream'
commit ad8e56f5cc414fcaf54b468ebbc629192414a623
Author: Antonio Torres <antorres@redhat.com>
Date: Mon Sep 7 11:04:09 2026 +0200
Become IPA 4.13.4
Signed-off-by: Antonio Torres <antorres@redhat.com>
commit 238925fe9b59716a9c620b5dc20f020b1e9a6536
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 21:12:42 2026 +0300
vault: fix linting issues
Both arms of api.env.in_server check should result in the defined
classes and constants to allow successful compile for linters. At
runtime we use pki modules that provide correct values, while linters
should be OK with their replacements.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 768d0c3259aef5c01915bd7181a2a339b32be2b4
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:42 2026 +0300
vault: document why vaultconfig_show is intentionally ungated
vaultconfig_show reaches the KRA as the RA agent but returns only public
material (the transport certificate and the list of KRA servers) and is a
prerequisite of every vault archive/retrieve for any owner or member, so it
must remain callable without a privilege. Explain why no gate is applied.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit d5367d4686f11049bfee0183c58965b309ec5dcf
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:38 2026 +0300
cert: authorize certificate retrieval before reaching the RA agent
cert-find ran its direct Dogtag search (_ca_search) as the RA agent on every
call, letting any authenticated principal enumerate and fetch certificates
irrespective of LDAP ACIs. Gate that path on the 'retrieve certificate'
virtual operation - the gate cert-show uses; callers without it fall back to
the ACI-enforced LDAP search.
Also reorder cert-show so the access check runs before get_certificate(),
contacting the RA agent only for the host-owns-cert fallback.
Related: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit fc71e10a7a00c4bc1c0abbf37fcfdf76c813eb53
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:32 2026 +0300
ca, certprofile: require CA Administrator before RA-agent changes
CA lifecycle operations (ca-add/-del/-enable/-disable) and certprofile-mod
--file carry out their changes against Dogtag through the privileged RA agent,
which bypasses the caller's LDAP ACIs. They were gated only by the caller's
effective rights on unrelated entry attributes (e.g. write on 'description'),
and the certprofile --file path produces an empty LDAP modlist, leaving no
caller-bound write enforced at all. Require the CA Administrator privilege
explicitly before contacting Dogtag.
Related: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 6d772ead2251d6e3ca5e85c1ead616e0f476fbba
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:26 2026 +0300
certmap: require privilege before matching certificates via SSSD
certmap_match resolves a certificate to users through SSSD's root InfoPipe
(ListByCertificate) across the IPA and trusted domains. It performs no LDAP
operation of its own and therefore enforced no authorization, letting any
authenticated principal turn a certificate into the set of users it maps to.
Require the Certificate Identity Mapping Administrators privilege before the
D-Bus call.
Related: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit bceafef832fa9ce1ded8d95a36402f26c3de3b2c
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:21 2026 +0300
trust: require Replication Administrators before refreshing trust topology
trust_fetch_domains launches a root oddjobd helper that connects to LDAP as
its own service principal, bypassing the caller's ACIs. It only checked the
caller's effective write rights, which the helper does not honour. Require the
Replication Administrators privilege up front, before the D-Bus call,
consistent with trust-add and trust-enable-agent.
Related: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit ce355d693f17c9c7d2be20c8dff53a2b9f79c542
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Sep 1 20:55:17 2026 +0300
baseldap: fall back to effective rights when enforcing managed permissions
enforce_managed_permissions() only recognised RBAC privilege membership, so
it denied operations that IPA legitimately grants through non-privilege ACIs
(self-service, hosts managing their own entries, hostgroup delegation,
managed-by relationships). This broke replica enrollment, where a host in
ipaservers adds its own service via a direct ACI rather than a privilege.
When the caller holds no matching default privilege, consult the directory's
own effective rights on the target (can_write/can_delete/can_read) before
denying. 'add' cannot be evaluated up front - the target does not exist yet
and target-scoped add ACIs would not match a template entry - so defer it to
the directory, which enforces the same ACIs on the actual add.
Related: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 83d38aa10a93da6e5ae0e0494a7a78b3989546f5
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 19:21:56 2026 +0300
admins: grant admins group all default privileges
Now all API operations that either modify LDAP or launch oddjob tasks
require presence of the object-specific privileges. Administrators must
possess them to be able to continue administrative tasks.
Fixes: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit b22551964f4ed37f94f3c95ecd81bc3179a03082
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 19:20:11 2026 +0300
trust_add: require Replication Administrators privilege
Enforce Replication Administrators privilege possession
when establishing trust.
Related: Fixes: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit e3b28ed37306929b3ae62445a5f2a8b556a0bbf7
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Aug 25 19:14:08 2026 +0300
baseldap: force permission checks in LDAP-oriented operations
Generalize minimal allowed permissions for each LDAP-focusing operation
by consulting integrated managed permissions associated with the LDAP
object.
If a command derived from BaseLDAPCommand includes non-empty
'enforce_managed_permission_operations' tuple with a list of operations
required for this command to execute, then CLASS.execute() can call
'self.enforce_managed_permissions()' to automatically evaluate whether
the calling context is holding a privilege that grants those permission
operations.
This change lays the foundation which is extended in the following
commits.
Fixes: CVE-2026-79678
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 50f433fd7b02ec9429ebdd26844b40a5a5c6a812
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
tests: xmlrpc: cover the permission authentication checks
Rework test_permission_bindtype to use anonymous + read as its baseline
(anonymous is only valid for read) and add a negative test asserting that
an anonymous bind type combined with write/add/delete rights is rejected;
the bindtype-transition steps consequently assert read ACIs.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f354558d5eb7dec9371e6ff2f27d7d1dce0742e2
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
tests: xmlrpc: expect the hardened self-service ACIs
The selfservice show/find expectations and the ACL Syntax Error messages
now carry the compound (userdn = "ldap:///self" and userdn =
"ldap:///all") bind rule.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f3fea752d7908e8d1a774be8ae5eb120aaf32a67
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
tests: ipalib: cover parsing of absolute denies and compound bind rules
Add ACI parser tests: the "absolute" keyword round-trips on deny rules,
compound bind rules (and-combined userattr clauses as used by RBCD/OTP,
and the fully parenthesized self-service rule) parse and export
verbatim, and single-term rules are byte-identical to before.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 512e4cd567f881952425d0abb083be19d0a8be44
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: regenerate ACI.txt for the permission changes
makeaci --validate (acilint) output for the managed-permission changes:
ipaNTSecurityIdentifier moved to authenticated read (dropped from the
anonymous "System: Read User Standard Attributes" and "System: Read
Groups", added to "System: Read User IPA Attributes" and the new
"System: Read Group SID"), and the protected-group / ipaservers target
filters added to the delegated user, group and host write permissions.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f7e9ebf2ca2d193775402ce6a0605e8f49d1cde8
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
install: register the new 21-* ACI update scripts
Install the new ACI update scripts: 21-deny-anonymous-modify.update,
21-deny-anonymous-sid-read.update and 21-selfservice-bindrule.update.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit ba43edf3b20358d7258b46b490b0468f8e5857d0
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: convert the self-service ACIs to the hardened bind rule on upgrade
New 21-selfservice-bindrule.update replacing the bare userdn =
"ldap:///self" bind rule with (userdn = "ldap:///self" and userdn =
"ldap:///all") on the seven self-service ACIs that previous releases
already added: own password, self-service attributes, user and host SSH
public keys, X.509 certificates, the rekey operation and host
certs/keytabs. replace: is a no-op when the old value is not present, so
the update is idempotent and safe on servers that already carry the
hardened form.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 05451264dfe3020ce030824feb0db14e23f655ee
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: use the hardened self-service bind rule in the upgrade ACIs
The self-service add:aci: lines (user and host SSH public keys, X.509
certificates, the rekey operation) added the bare userdn =
"ldap:///self" bind rule. Use the hardened compound rule (userdn =
"ldap:///self" and userdn = "ldap:///all") so servers that have not run
this script yet get the hardened form directly; the rule only matches an
authenticated bind whose DN is the entry's own DN.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 0a95069c72773307dc8d2426a4b9cd6ee91b2dd3
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: deny anonymous SID reads in the upgrade update
New 21-deny-anonymous-sid-read.update for upgrades: add the "Deny read of
NT security identifier for anonymous binds" ACI (deny absolute
(read,search,compare) userdn != "ldap:///all" on ipaNTSecurityIdentifier)
on the base suffix. On upgrades the managed permission reconciler only
adds default attributes and never removes them, so this is what removes
the exposure from the existing anonymous read permissions; it also covers
the group SID still carried by the anonymous "System: Read Groups"
permission.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f1fdf30bf0d2997b35d9bc4c705925ec38a7e5e9
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: deny all anonymous modifications in the upgrade update
New 21-deny-anonymous-modify.update for upgrades: add the "Deny all
modifications for anonymous binds" ACI (deny absolute (add,delete,write)
userdn != "ldap:///all") on the base suffix, and addifexist it on o=ipaca
- the Dogtag PKI database is a separate 389-ds backend with its own ACI
set, and addifexist keeps the rule from being applied on CA-less servers.
Dogtag's own components bind authenticated (pkidbuser over
ldapi/SASL EXTERNAL), so they are unaffected.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 16e47c4e4a416638d3f158d672df533a354039eb
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: key the anonymous denies on the empty DN; harden the self-service rules
As stated in RFC 4513, a simple bind that carries a valid DN and an
empty password is an unauthenticated bind that succeeds without
verifying any credential, and 389-ds keeps the asserted DN as the
connection identity. No authmethod value means "the client sent no
credentials" (authmethod = "none" in an ACI is a no-op that always
evaluates to true), and the three credential-less binds (anonymous
simple, SASL ANONYMOUS, RFC 4513 unauthenticated) set different
authmethod values, so the only ACI-expressible test for a credential-less
bind is the empty DN: an anonymous simple bind and a SASL ANONYMOUS bind
both bind with the empty DN, which does not match "ldap:///all", while
any authenticated bind has a real DN and does.
Add, on the base suffix and keyed on userdn != "ldap:///all":
- "Deny all modifications for anonymous binds" (deny absolute
(add,delete,write) on all attributes), closing the whole class of
self-referential allow ACIs in one place, independent of which allow
would otherwise grant the operation;
- "Deny read of NT security identifier for anonymous binds" (deny
absolute (read,search,compare) on ipaNTSecurityIdentifier), keeping
SIDs out of reach of enumeration while authenticated readers (SSSD,
trust agents, admins) are unaffected.
The "absolute" keyword makes each deny final: when its bind rule
matches, the decision is returned without consulting the other rules.
Authenticated binds (GSSAPI, password simple, and the ACI-exempt
Directory Manager) are unaffected; FreeIPA performs no legitimate
anonymous write (ipa-otpd binds over ldapi with SASL EXTERNAL).
Harden every self-service userdn = "ldap:///self" grant to the compound
rule (userdn = "ldap:///self" and userdn = "ldap:///all") so it can only
be exercised by an authenticated bind.
Note: an unauthenticated simple bind that preserves a real DN (RFC
4513) still matches userdn = "ldap:///all" and is only reachable when
nsslapd-allow-unauthenticated-binds is enabled; keeping that setting off
remains a requirement.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 4ecb621f7facaa26471694a63047386525f02edf
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: generate the hardened self-service bind rule
The selfservice plugin regenerates self-service ACIs from structured
data (aci._make_aci) and emitted the bare userdn = "ldap:///self" bind
rule, so "ipa selfservice-mod" would drop any hardening from the stored
ACI.
Generate (userdn = "ldap:///self" and userdn = "ldap:///all") instead:
the bound DN has to be the entry's own DN and a real, non-anonymous DN
matching "ldap:///all". The empty DN of an anonymous simple bind or a
SASL ANONYMOUS bind satisfies neither clause, while an authenticated
bind (GSSAPI, password simple) has a real DN and does. No authmethod
value means "the client sent no credentials" (authmethod = "none" in an
ACI is a no-op that always evaluates to true), so the "real DN"
requirement cannot be expressed with authmethod; the server-wide "Deny
all modifications for anonymous binds" ACI is the backstop.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 6463840cc7c8f4eeaf1b40a2450f6969cf96e5c0
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
aci: parse absolute denies and compound bind rules
ipalib.aci.ACI modelled a bind rule as a single keyword/operator/value
triple, so a compound rule - two and/or-combined userattr clauses (the
RBCD and OTP rules), the fully parenthesized self-service
"(userdn = \"ldap:///self\" and userdn = \"ldap:///all\")" rule, etc. -
was either rejected by the naive startswith('(') != endswith(')')
parenthesis check or silently mangled by the greedy value match (which
swallowed everything up to the last quote). aci-find and the permission
plugin parse every ACI on an entry via this class and would then
warn-and-skip or mis-handle such rules.
Match the value non-greedily (a bind value never contains a double
quote) and capture whatever follows the primary term as a verbatim suffix
that export re-emits and isequal compares; replace the paren check with
a real balance check, and unwrap/re-wrap a rule that is fully
parenthesized in its own outer parentheses. Also capture the 389-ds
"absolute" keyword (deny absolute ...): such a rule's decision is final
and is now round-tripped. The primary keyword/operator/expression is
unchanged for single-term rules (byte-identical round-trip) and stays the
first clause for compound rules, so existing self/all/anonymous
detection keeps working.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit e1fed4022da62244f61f76d35a1ef51378633335
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
otp: constrain the self-managed-token ADD to OTP object classes
The "Users can create self-managed tokens" ACI restricts only the add
right and objectClass=ipaToken; it put no limit on which attributes or
object classes the new entry may carry. Combined with the SELFDN add
path, that let a client inject a Kerberos principal + key, a password and
a SID into a token entry (the credential-forging step of the reported
chain).
Add a targattrfilters clause that, on add, limits objectClass to the OTP
token classes (top, ipaToken, ipatokenTOTP, ipatokenHOTP) and forbids an
injected aci. Attributes that carry key material - krbPrincipalKey,
krbCanonicalName, userPassword, ipaNTSecurityIdentifier, ... - require
object classes outside that set, so they now fail the objectclass filter
(and LDAP schema). 389-ds does not consult targetattr for add
operations, so targattrfilters is the mechanism that works here;
legitimate ipa otptoken-add sets none of the forbidden classes/attrs and
is unaffected.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit b32e75378ae6f8ea3b5019a53483ae438d94fcbf
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
trusts: scope Samba ipaNTHash ACI to cn=accounts
The "Samba system principals can read and write NT passwords" ACI granted
adtrust agents read/write on ipaNTHash across the whole suffix. ipaNTHash
only exists on account entries (users/computers under cn=accounts);
trusted domain objects use ipaNTTrustAuthIncoming, not ipaNTHash (ipa_sam.c
derives the TDO hash from the trust secret). Restrict the ACI target to
cn=accounts. The remove:/add: pair migrates deployments carrying the old
whole-suffix form.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit cb324a1e5379a940afe407f0cb107e61d83b3e6f
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
host: exclude ipaservers from delegated host-write permissions
Only "System: Manage Host Keytab" excluded ipaservers (replica host
entries) from its target; the sibling host-write permissions in the Host
Administrators / Host Enrollment privileges did not, so a holder could
reach an ipaserver's entry through a different permission - modifying a
replica's certificate, principal, enrollment password, SSH keys or host
attributes is server impersonation, not routine host administration.
Add the (!(memberOf=ipaservers)) exclusion (via a shared
NOT_MEMBEROF_IPASERVERS constant) to Enroll a Host, Manage Host SSH
Public Keys, Modify Hosts, Manage Host Certificates, Manage Host
Principals and Manage Host Enrollment Password, and switch Manage Host
Keytab to the same constant. Managed permissions, so the filter is
reconciled onto existing installs on upgrade.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 9668a5763fa51814573359a52a8dc0bbd5e8326b
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
group: read the SID only when authenticated; exclude protected groups from delegated writes
"System: Read Groups" is an anonymous-read managed permission and it
carried ipaNTSecurityIdentifier, so every fresh install granted anonymous
reads of any group's SID. Add a new authenticated (bindruletype all)
managed permission "System: Read Group SID" holding the attribute and
drop it from the anonymous permission; on upgrades the server-wide deny
ACI for anonymous SID reads is what removes the exposure.
Introduce PROTECTED_GROUPS_FILTER (derived from PROTECTED_GROUPS) and use
it in "System: Add Group Members", "System: Modify Groups" and
"System: Remove Groups" so none of them can target admins, trust admins
or the default smb group (a delegated group administrator could
previously add themselves to cn=trust admins, or set its membermanager
and add a member through the member-manager ACI).
Also define _dcerpc_bindings_installed unconditionally; it was assigned
only inside the in_server block, tripping a used-before-assignment
warning. Pre-existing issue, surfaced by fastpylint once this branch
touches the file.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f7ae09c9bad5a0c9d700a1b6b2e679fccc56d6a1
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
stageuser: exclude privileged accounts from delegated credential writes
Add NOT_MEMBEROF_PRIVILEGED (admins, trust admins) to the target filters
of "System: Modify Preserved Users", "System: Reset Preserved User
password" and the active-user "System: Modify User RDN" permission.
Without it a Stage User Administrator could preserve a privileged
account, reset its credentials through the broad preserved-user write
(targetattr = "*") and undelete it - a lifecycle path around the
exclusions on the active-container permissions - or rename a privileged
entry. Mirrors the guards on the active-user "System: Change User
password". Managed permissions, so the filters are reconciled onto
existing installs on upgrade.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit f3a57ad3ebc6ad5bbf5c3b04cf8918d81995ca75
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
user: read the SID only when authenticated; exclude privileged accounts from delegated writes
"System: Read User Standard Attributes" is an anonymous-read managed
permission and it carried ipaNTSecurityIdentifier, so every fresh install
granted anonymous reads of any user's SID, which aids enumeration and
SID-based attacks. Move the attribute to "System: Read User IPA
Attributes" (authenticated, bindruletype all). On upgrades the managed
permission reconciler only adds default attributes and never removes
them, so the server-wide deny ACI for anonymous SID reads is what removes
the exposure there.
Extend the delegated user-credential permissions to exclude all
privileged accounts:
- NOT_MEMBEROF_PRIVILEGED (admins + trust admins) replaces
NOT_MEMBEROF_ADMINS in Change User password, Manage User
Certificates/Principals/SSH Public Keys/Certificate Mappings,
Modify/Remove/Unlock Users and Manage Passkey Mappings: resetting such
an account's credentials would let a delegated user administrator
impersonate a privileged principal;
- Manage User Certificate Mappings and Manage Passkey Mappings had no
targetfilter exclusion at all and get the same one (a passkey or
certificate mapping on an admin entry authenticates as that admin);
- Modify User RDN and Reset Preserved User password also exclude
privileged accounts (renaming, or reset-then-undelete, is an
escalation).
MEMBEROF_ADMINS is retained for "System: Change Admin User password",
which targets the admins group on purpose. Managed permissions, so the
filters are reconciled onto existing installs on upgrade.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit d37c906b97220d9155fbef51e0d9274b444bac64
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
permission: require an authenticated bind for modification permissions
A permission with ipapermbindruletype "all" generates userdn =
"ldap:///all", and one with the "anonymous" bind type generates
userdn = "ldap:///anyone". No authmethod value means "the client sent no
credentials" (authmethod = "none" in an ACI is a no-op that always
evaluates to true), so:
- a bindtype=all permission that grants add/write/delete keeps the plain
userdn = "ldap:///all" rule: an anonymous bind has the empty DN and
does not match "all", and the server-wide "Deny all modifications for
anonymous binds" ACI is the backstop;
- a bindtype=anonymous permission is rejected outright when it carries
write, add or delete rights (make_aci() raises a ValidationError,
covering both permission-add and permission-mod): a credential-less
principal must not be able to modify the tree.
The bindtype=self rule stays the bare userdn = "ldap:///self": the empty
DN of an anonymous bind never equals an entry DN.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 76a37fddd31dc03cb67294970c86cffcb45461b4
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
ipa-pwd-extop: fail closed if password metadata cannot be written
ipapwd_post_modadd() sets krbPasswordExpiration / krbLastPwdChange after
an add or password change. It runs as a betxn post-operation, but a
failure of the compound ipapwd_apply_mods() call was only logged and the
operation was allowed to succeed. An attacker could pre-seed a
single-valued krbLastPwdChange on a crafted entry so this update fails,
leaving injected Kerberos keys in place without the forced expiration.
Return an error (aborting the transaction, and thus the add/modify)
instead of only logging when the metadata update fails, so an entry can
never keep keys whose expiration could not be set.
Also initialise the intermediate Slapi_Value pointers (ipahost, zero,
ret) to NULL so the error paths can free them unconditionally.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 08ecce06c5105fc971b7eafd6e7494b687777c39
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 31 12:58:59 2026 +0300
certprofile: reject import of profiles that can execute programs
certprofile-import validated only the profileId from the uploaded profile
and passed the rest verbatim to Dogtag. A profile that references
Dogtag's ExternalProcessConstraint (class_id externalProcessConstraintImpl)
makes the CA run an external binary with request-derived environment
variables, i.e. code execution as pkiuser - the final step of the
reported chain once an attacker holds (forged) administrator credentials.
Scan the profile on import and reject any policy component whose class_id
is known to execute programs on the CA host. A deployment that genuinely
needs such a component must configure the profile directly on the CA, out
of band. This is the client-side half; restricting the constraint itself
is a matching change in dogtagpki.
Fixes: CVE-2026-76578
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit 64a1e8cec221db278295bdb3b38d5c8511df2553
Author: Erik Belko <ebelko@redhat.com>
Date: Thu Aug 6 13:02:05 2026 +0200
ipatests: Add ipa-getcert start-tracking tests
Covers start-tracking command with NSS and FILE storage modes,
including extended PIN/password-file scenarios and request
identifier (-i) tests.
Related: https://codeberg.org/freeipa/freeipa/issues/9968
Signed-off-by: Erik Belko <ebelko@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
Reviewed-By: PRANAV THUBE <pthube@redhat.com>
commit f5bcf5bbe9b140039c4c242a17a6a8b34513431a
Author: Stanislav Levin <slev@altlinux.org>
Date: Thu Jul 30 17:17:34 2026 +0300
installer: check all the required PKI ports
Internally (localhost only) PKI uses ports:
- 8005: the management port of the Tomcat instance
- 8009: the AJP port of the Tomcat instance
- 8080: the HTTP port of the Tomcat instance
- 8443: the HTTPS port of the Tomcat instance
But only the last two of them are actually checked on IPA installation.
In case some other process (e.g. another instance of tomcat) already
listens on those ports, the IPA installer crashes without any helpful
diagnostic:
```
DEBUG The ipa-server-install command failed, exception: RuntimeError: CA configuration failed.
ERROR CA configuration failed.
ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
```
PKI installation logs:
```
server[3407]: SEVERE: Failed to create server shutdown socket on address [localhost] and port [8005]
server[3407]: java.net.BindException: Address already in use
```
Gracefully fail installation with a helpful hint instead.
Similar issue:
https://codeberg.org/freeipa/freeipa/issues/7415
Fixes: https://codeberg.org/freeipa/freeipa/issues/10036
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: David Hanina <dhanina@redhat.com>
commit d3420d81715ebab925784853251ae5b767544b28
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Aug 25 10:32:25 2026 +0300
kdb: enforce CNAME comparison against ipaOriginalUid in ID overrides
Kerberos principal of an Active Directory user is stored as
ipaOriginalUid, not `uid`. `uid` value is POSIX username.
Fixes: https://codeberg.org/freeipa/freeipa/issues/10041
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
commit 85f78f90ea35aae25eb4e0e9d0e0464db18ddf4b
Author: Sudhir Menon <sumenon@redhat.com>
Date: Mon Aug 3 13:47:27 2026 +0530
ipatests: Fixes for ds-migration testsuite.
ds-migration testsuite is failing with the below error for ds-migration tests in TestDSMigrationOptions
'subprocess.CalledProcessError: Command '['dscreate', 'from-file', '/tmp/ds-instance.inf']' returned non-zero exit status 1.'
This patch adds a cleanup for removing the instance i.e _remove_389ds_on_client
Fixes: https://codeberg.org/freeipa/freeipa/issues/10029
Signed-off-by: Sudhir Menon <sumenon@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: PRANAV THUBE <pthube@redhat.com>
commit 3ea200cd819852e3d14fe0c4b117bbcb0cb2f80f
Author: David Hanina <dhanina@redhat.com>
Date: Wed Aug 19 12:52:43 2026 +0200
Spec file: bump samba version to 4.23.11 for Fedora < 44
Update the required Samba version from 2:4.23.10 to 2:4.23.11 for
Fedora releases older than 44.
Signed-off-by: David Hanina <dhanina@redhat.com>
Reviewed-By: Erik Belko <ebelko@redhat.com>
Reviewed-By: Carla Martinez <carlmart@redhat.com>
commit ce8bfcbf9894014360a1f152cbf19a8a4ae51588
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Mon Aug 24 13:10:31 2026 +0300
Principal: implicitly convert to Principal for comparison
When ipapython.kerberos.Principal is compared with unicode string, it
will return False because Principal.__eq__ method expects Principal to
compare with.
Run implicit conversion if possible, it is cheap for FreeIPA use cases.
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
commit c573bf1b128bb74d367aad80874d13e8fb8c03cc
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Fri Aug 21 12:24:34 2026 +0300
ipatests: Fix expectations in test_i18n_messages_valid
Expected 500 error but we tightened behavior up and now return 400 (bad
request).
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
commit c2d9fb5efeee1277d373bed5b109edf0af80cc0a
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Thu Aug 20 10:57:29 2026 +0300
doc: update API change for principal from Str to Principal
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: David Hanina <dhanina@redhat.com>
commit e401e9a6c1573236ad7560fbb6df50595329dfb1
Author: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed Aug 19 21:23:23 2026 -0300
Back to git snapshots
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
commit 3af131529c795764b27dca04ce0097db043d355a
Author: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed Aug 19 19:23:02 2026 +0000
Become IPA 4.13.3
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
commit 05c0930cff77e32cce97c5255c3bffab6f3d0d77
Author: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed Aug 19 19:17:21 2026 +0000
Update list of contributors
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
commit 6ec0670184f93595b577f7d793523178f2a12868
Author: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed Aug 19 19:14:30 2026 +0000
Update translations to FreeIPA master state
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
commit 9b1ca79e5440232b73a5ac02558e4b3e2cc668e1
Author: Julien Rische <jrische@redhat.com>
Date: Fri Aug 14 13:33:43 2026 +0200
ipa-lockout: fix ineffective change of krbLoginFailedCount on concurrent udpate
In ipalockout_postop(), result code of the krbLoginFailedCount update
was checked on the wrong bind pblock. As a consequence, the return code
was always 0 (success). Hence, the increment of the number of failed
login attempts was not happening if multiple concurrent requests were
being processed.
This commit uses the right bind pblock to achieve the expected behavior.
commit d5da6d49ab49798120760c3f3267fdb383bb99a2
Author: Julien Rische <jrische@redhat.com>
Date: Tue Mar 31 16:43:37 2026 +0200
ipa-kdb: Add cross-realm trust PAC content validation
* Trust validation: Verify cross-realm PAC attributes are consistent
* User registration: Confirm trusted users exist in FreeIPA
* UPN qualification: Prevent unqualified enterprise principal attacks
Fixes: CVE-2026-11861
Signed-off-by: Julien Rische <jrische@redhat.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
commit aff797a2f7a04c37f080f28ba661551186ef7f07
Author: Alexander Bokovoy <abokovoy@redhat.com>
Date: Tue Aug 11 19:26:17 2026 +0300
CVE-2026-19550: trust: require write access to refresh trust domains
trust-fetch-domains is implemented as LDAPRetrieve, so its only
authorization check was read access to the trust entry, granted to
all authenticated users via "System: Read Trust Information" (kept
broad intentionally, for SSSD's sake). Its actual effect is far more
sensitive: it kinits to an AD DC, optionally using a caller-supplied
--admin/--password against a caller-supplied --server, and hands
whatever forest-trust topology that server returns to a root-owned
oddjobd helper, which writes it into the directory as authoritative
data via add_new_domains_from_trust(). None of this goes through the
calling user's own LDAP bind, so the write ACIs that already restrict
trust-add/-mod/-del to "trust admins"/"adtrust agents" were never
consulted either -- any authenticated, non-admin user could trigger a
refresh from a server and credentials of their choosing.
Add an explicit ldap.can_write() check on the trust entry before
calling the D-Bus helper, requiring the same write access those other
trust-management commands require. This mirrors the can_write()-gate
pattern already used elsewhere in the codebase for commands with
privileged side effects that bypass LDAP's own ACI enforcement (see
ca.py, cert.py, group.py, join.py, virtual.py).
Add a regression test asserting a user with only read access to trust
information is rejected.
Fixes: CVE-2026-19550
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
commit cafe62aef96be74f0d3a2f67e4520b66dd9f8aa1
Author: Timo Aaltonen <tjaalton@debian.org>
Date: Tue Mar 24 19:40:00 2026 +0200
Remove obsolete d/pydist-overrides. (Closes: #1131715)
Among the 3 debian patches available in version 4.13.1-1 of the package, we noticed the following issues: