Bug 2572308 (CVE-2026-127038)

Summary: CVE-2026-127038 ipa: FreeIPA: Authenticated DoS via unbounded request-body read in rpcserver.py RPC executor
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abokovoy, frenaud, ftrivino, rhel-process-autobot, rjeffman, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in FreeIPA. An authenticated user can send an oversized request body to the JSON-RPC or XML-RPC endpoints (/ipa/json, /ipa/session/json, /ipa/xml, /ipa/session/xml). The server reads the entire declared request body into memory before any size check is applied, which can exhaust available memory on the handling worker process and lead to degraded performance or denial of service for the IPA web UI and API.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-12 09:37:11 UTC
A flaw was found in FreeIPA. The read_input(environ, max_size=None) helper in ipaserver/rpcserver.py reads the full HTTP request body into memory based on the client-supplied Content-Length header, unless the caller passes an explicit max_size limit. Two call sites that handle JSON/XML-RPC requests after Kerberos or session authentication has already succeeded invoke read_input() without a size limit: WSGIExecutioner.wsgi_execute() (the main POST request-unmarshal path) and extract_query(), called via WSGIExecutioner.simple_unmarshal() (the GET/non-matching-content-type fallback path). These are reached by the jsonserver_kerb, jsonserver_session, xmlserver, and xmlserver_session RPC executors. Any already-authenticated IdM user, without any additional privilege, can send a single oversized request to these endpoints, forcing the handling WSGI worker to allocate the entire declared request body in memory. Repeated requests can exhaust the shared worker pool and degrade or deny service to the IPA web UI and API. This is the same underlying defect class as CVE-2026-73197, CVE-2026-73198, and CVE-2026-86593, which capped read_input() at other call sites in the same file; these two call sites were not covered by those fixes.