# CVE-2024-7012: Puppet-foreman: an authentication bypass vulnerability exists in foreman

- Severity: Critical 9.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-02)
- Published: 2024-09-04T13:41:17.877Z
- Modified: 2026-06-17T08:19:11.447Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: redhat

## Description

An authentication bypass vulnerability has been identified in Foreman when deployed with External Authentication, due to the puppet-foreman configuration. This issue arises from Apache's mod_proxy not properly unsetting headers because of restrictions on underscores in HTTP headers, allowing authentication through a malformed header. This flaw impacts all active Satellite deployments (6.13, 6.14 and 6.15) and could potentially enable unauthorized users to gain administrative access.

(As written by CVE List.)

## Affected

- puppet-foreman: before 22.0
- foreman-installer: no versions given (not affected: from 1:3.5.2.8-1.el8sat before *; from 1:3.7.0.8-1.el8sat before *; from 1:3.9.3.4-1.el8sat before *; from 1:3.12.0.1-1.el8sat before *; from 1:3.12.0.1-1.el9sat before *)
- redhat satellite: 6.13; 6.14; 6.15

## Every score

- redhat: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:6335> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:6336> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:6337> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:8906> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-7012> (mitigation, vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2299429> (issue-tracking)

## Sources

- CVE List: [CVE-2024-7012](https://www.cve.org/CVERecord?id=CVE-2024-7012), CVE Terms of Use, modified 2025-11-11
- NVD: [CVE-2024-7012](https://nvd.nist.gov/vuln/detail/CVE-2024-7012), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-7012 · Whole record: https://cve.day/CVE-2024-7012.json · Rebuilt by cve.day 2026-11-25T22:58:45.055Z
