CVE-2026-12112
Foreman-mcp-server: mcp server: active session hijacking via insecure session state reuse
Description
A flaw was found in the foreman-mcp-server. A session management vulnerability in the MCP Server allows unauthenticated attackers to hijack active administrative sessions due to an improper cache of authenticated client connections, by trusting a non-secret session ID without re-validating authentication tokens and by logging all newly created session IDs to standard logs. This issue can result in privilege escalation and infrastructure-wide code execution.
INFO
Published Date :
June 23, 2026, 9:16 p.m.
Last Modified :
July 16, 2026, 12:17 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-12112
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 53f830b8-0a3f-465b-8143-3b8a9948e749 | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c |
Solution
- Re-validate authentication tokens for all session requests.
- Ensure session IDs are not logged to standard output.
- Implement stricter session validation checks.
- Apply vendor patches for foreman-mcp-server.
Public PoC/Exploit Available at Github
CVE-2026-12112 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-12112.
| URL | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:28405 | |
| https://access.redhat.com/errata/RHSA-2026:28438 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2026-12112 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2488031 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:28405 | |
| https://access.redhat.com/errata/RHSA-2026:28438 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2026-12112 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2488031 | Third Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12112.json | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-12112 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-12112
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
The Project shares all information on MCP related CVE's published
mcp mcp-security mcp-cve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-12112 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-12112 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 16, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:28405 Changed Affected [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] [{'cpes': ['cpe:/a:redhat:satellite:6.18::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.18', 'versions': [{'status': 'unaffected', 'version': '1782228427', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] -
CVE Modified by [email protected]
Jul. 15, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:28405 Changed Affected [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] [{'cpes': ['cpe:/a:redhat:satellite:6.18::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.18', 'versions': [{'status': 'unaffected', 'version': '1782228427', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jul. 15, 2026
Action Type Old Value New Value Changed Affected [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'defaultStatus': 'affected'}] [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Jul. 01, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:* *cpe:2.3:a:redhat:satellite:6.19:*:*:*:*:*:*:* Added Reference Type Red Hat, Inc.: https://access.redhat.com/errata/RHSA-2026:28438 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2026-12112 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2488031 Types: Third Party Advisory Added Reference Type redhat-SADP: https://access.redhat.com/errata/RHSA-2026:28438 Types: Third Party Advisory Added Reference Type redhat-SADP: https://access.redhat.com/security/cve/CVE-2026-12112 Types: Third Party Advisory Added Reference Type redhat-SADP: https://bugzilla.redhat.com/show_bug.cgi?id=2488031 Types: Third Party Advisory Added Reference Type redhat-SADP: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12112.json Types: Third Party Advisory -
CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Jun. 30, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'defaultStatus': 'affected'}] Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-287 Added Reference https://access.redhat.com/errata/RHSA-2026:28438 Added Reference https://access.redhat.com/security/cve/CVE-2026-12112 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2488031 Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12112.json -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 25, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-12112', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-25T12:46:05.913416Z'} -
CVE Modified by [email protected]
Jun. 24, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:28438 Changed Affected [{'cpes': ['cpe:/a:redhat:satellite:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6', 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}] [{'cpes': ['cpe:/a:redhat:satellite:6.19::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6.19', 'versions': [{'status': 'unaffected', 'version': '1782228692', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}] -
New CVE Received by [email protected]
Jun. 23, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:satellite:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Satellite 6', 'packageName': 'satellite/foreman-mcp-server-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}] Added Description A flaw was found in the foreman-mcp-server. A session management vulnerability in the MCP Server allows unauthenticated attackers to hijack active administrative sessions due to an improper cache of authenticated client connections, by trusting a non-secret session ID without re-validating authentication tokens and by logging all newly created session IDs to standard logs. This issue can result in privilege escalation and infrastructure-wide code execution. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-287 Added Reference https://access.redhat.com/security/cve/CVE-2026-12112 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2488031