AploSec / Disclosures / CVE-2026-123084

Medium 6.5ReportedNo fix listedCWE-917PyPI

Python-pulpcore: pulpcore: header content guard jq filter exposes the content-app environment

CVE-2026-123084 · published 2026-11-10

In plain words: this type of bug lets someone run their own code inside the application (code injection). No fixed release is listed yet.

Summary

CVE-2026-123084 affects pulpcore (PyPI) Pulpcore with HeaderContentGuard (Red Hat Ansible Automation Platform 2 hub): a header content guard saves a jq filter that is run against the request, and jq env returns the content process environment, so a user who can create a guard can read Pulp settings such as the Django secret key (CWE-917). No fixed release is listed. CVSS 3.1 base score 6.5 (Medium), assigned by redhat. Published 2026-11-10 by redhat. Credit: Zachariah Mithani (AploSec).

An expression language injection has been found in the HeaderContentGuard.permit function in publication.py of the content guard in the Pulpcore package. The guard is supposed to check a value in a request header. It saves a jq filter and runs that filter against the header when a client asks for content. The filter is not limited to the header, and jq's env builtin also returns the environment of the content process. A low-privileged network attacker or user who can create a header content guard and attach it to a distribution can save a filter that reads that environment. The content request is allowed or denied according to the filter result. Repeating the request lets that attacker or user recover the environment, including Pulp settings held there, such as the Django secret key or the database password.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 6.5CVSS 3.1, scored by redhat in the CVE record
Package
pulpcore
Ecosystem
PyPI
Affected
Pulpcore with HeaderContentGuard (Red Hat Ansible Automation Platform 2 hub)
Fixed
None
Weakness
CWE-917
CNA
redhat
Credit
Zachariah Mithani (AploSec)finder