Vulnerabilities / CVE-2023-0118

critical

CVE-2023-0118

Foreman: Arbitrary code execution through templates

Published Modified CWE 78
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high).

Description

An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates and execute arbitrary code on the underlying operating system.

Affected packages and fixed versions

SourcePackageFixed in
Red Hatforeman, foreman-cli, foreman-debug and 11 moreno fix listed
Show all 14 entries from 1 source
SourcePackageFixed in
Red Hatforemanno fix listed
Red Hatforeman-clino fix listed
Red Hatforeman-debugno fix listed
Red Hatforeman-dynflow-sidekiqno fix listed
Red Hatforeman-ec2no fix listed
Red Hatforeman-gceno fix listed
Red Hatforeman-journaldno fix listed
Red Hatforeman-libvirtno fix listed
Red Hatforeman-openstackno fix listed
Red Hatforeman-ovirtno fix listed
Red Hatforeman-postgresqlno fix listed
Red Hatforeman-serviceno fix listed
Red Hatforeman-telemetryno fix listed
Red Hatforeman-vmwareno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.