Security mailing lists by PureSourceCode

CVE-2026-12540

HIGH 8.2CVSS 3.1

Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter

A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Published
1 Oct 2026
Last modified
26 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Analyzed
Weakness
CWE-78
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVE List redhat CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
>= 6.16, < 6.16.4 6.16.4
NVD redhat satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
>= 6.17, < 6.17.12 6.17.12
NVD redhat satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
>= 6.19, < 6.19.5 6.19.5
NVD theforeman foreman
cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*
(no version)
NVD redhat satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
>= 6.18, < 6.18.10 6.18.10
NVD redhat satellite
cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
= 6.0
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.16::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.16::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.17::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.18::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.19::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ satellite:el8/foreman
cpe:/a:redhat:satellite:6
all versions

References

History

  • 26 Nov 2026 16:16 UTC · NVD: updated (other details)
  • 26 Nov 2026 14:16 UTC · CVE List: first stored (published 1 Oct 2026)
  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 1 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.