Security mailing lists by PureSourceCode

CVE-2026-12542

HIGH 7.8CVSS 3.1

Foreman: command injection in foreman-tail

A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.

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 nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVE List redhat CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

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:*:*:*:*:*:*:*:*
>= 1.5.0, <= 3.19.1
NVD theforeman foreman
cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
= 5.0.0
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 22:22 UTC · NVD: updated (other details)
  • 26 Nov 2026 21:43 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.