CVE-2022-3874
CRITICAL 9.1CVSS 3.1Foreman Transpilation Enables OS Command Injection
A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system.
- Published
- 22 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-9jfq-54vc-9rr2
- Sources
- NVDJSONOSV GHSA-9jfq-54vc-9rr2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | theforeman | foremancpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | RubyGems | foreman | <= 3.8.0 |
References
- https://access.redhat.com/security/cve/CVE-2022-3874 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2140577 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-3874 · ADVISORY
- https://github.com/theforeman/foreman/pull/9836 · WEB
- https://github.com/theforeman/theforeman.org/pull/2101 · WEB
- https://github.com/theforeman/foreman · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 22 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Sep 2023)