Skip to content
Heist/ feed
Back to feed
Critical

Foreman: excessive permissions for viewer role on preview

Type: advisorySources: OSV

A flaw was found in Foreman. This vulnerability allows an authenticated user with low-level Viewer permissions to cause unauthorized information disclosure by submitting requests to template preview endpoints. By exploiting this issue, the user can access sensitive data, such as host root passwords. Furthermore, under insecure system configurations where Safemode protections are disabled, the flaw may allow the user to execute arbitrary commands as the Foreman system account.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-96659
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:02 UTC · Revision 1

Source evidence

Foreman: excessive permissions for viewer role on preview

core-osv · Original source

Published 1 Oct 2026, 16:23 UTC

A flaw was found in Foreman. This vulnerability allows an authenticated user with low-level Viewer permissions to cause unauthorized information disclosure by submitting requests to template preview endpoints. By exploiting this issue, the user can access sensitive data, such as host root passwords. Furthermore, under insecure system configurations where Safemode protections are disabled, the flaw may allow the user to execute arbitrary commands as the Foreman system account.

osv:CVE-2026-96659
Complete source record
{
  "id": "6496c4090dfabed621b8b67df27527003a96aef2519ee362e4c875f6860f388e",
  "url": "https://osv.dev/vulnerability/CVE-2026-96659",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Foreman: excessive permissions for viewer role on preview",
    "summary": "A flaw was found in Foreman. This vulnerability allows an authenticated user with low-level Viewer permissions to cause unauthorized information disclosure by submitting requests to template preview endpoints. By exploiting this issue, the user can access sensitive data, such as host root passwords. Furthermore, under insecure system configurations where Safemode protections are disabled, the flaw may allow the user to execute arbitrary commands as the Foreman system account.",
    "evidence": "osv:CVE-2026-96659",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-96659",
      "aliases": [
        "CVE-2026-96659"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/theforeman/foreman",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cd749679ca70f9904d726b57cd2603b1332c906a"
                },
                {
                  "last_affected": "48b7090bd69c44b7b8fc5ad95ee7be243f852819"
                },
                {
                  "introduced": "092a456bdea31af4e91d7088856bd67aaff64c25"
                },
                {
                  "last_affected": "092a456bdea31af4e91d7088856bd67aaff64c25"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "last_affected": "3.19.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-96659.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/theforeman/foreman-installer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "873b2c0a0b74c0dae788b162d13cd7933c4a4ced"
                },
                {
                  "last_affected": "dd9a3ad4746e606d79b4ced48d1dabdc79a52b49"
                },
                {
                  "introduced": "e081fe7c568a5e597c0b9b6cfb025abf36edc2ff"
                },
                {
                  "last_affected": "e081fe7c568a5e597c0b9b6cfb025abf36edc2ff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "last_affected": "3.19.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-96659.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/theforeman/smart-proxy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "de8f257301bc2992953d00f1bf36618b6ad52778"
                },
                {
                  "last_affected": "c5abbd9b13b34e6cd2055920bef27d8f03bbc80a"
                },
                {
                  "introduced": "e63094f9ee6794882fabc2889877372459bf7072"
                },
                {
                  "last_affected": "e63094f9ee6794882fabc2889877372459bf7072"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "last_affected": "3.19.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "last_affected": "5.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-96659.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.835340565Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://access.redhat.com/errata/RHSA-2026:74503",
        "https://access.redhat.com/errata/RHSA-2026:74504",
        "https://access.redhat.com/errata/RHSA-2026:74505",
        "https://access.redhat.com/errata/RHSA-2026:74506",
        "https://access.redhat.com/security/cve/CVE-2026-96659",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96659.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-96659",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2536844"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-267"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0:3.12.0.23-1.el8sat"
                  },
                  {
                    "fixed": "0:3.12.0.23-1.el9sat"
                  },
                  {
                    "fixed": "0:3.14.0.22-1.el9sat"
                  },
                  {
                    "fixed": "0:3.2.13-1.el9pc"
                  },
                  {
                    "fixed": "0:3.1.62-1.el9pc"
                  },
                  {
                    "fixed": "0:5.3.1-2.el9pc"
                  },
                  {
                    "fixed": "0:0.6.0-1.el9pc"
                  },
                  {
                    "fixed": "0:15.0.2-2.el9sat"
                  },
                  {
                    "fixed": "0:3.14.0-2.el9sat"
                  },
                  {
                    "fixed": "0:4.16.0.20-1.el9sat"
                  },
                  {
                    "fixed": "0:1.5.0-2.el9sat"
                  },
                  {
                    "fixed": "0:6.17.12-1.el9sat"
                  },
                  {
                    "fixed": "0:0.1.0-2.1.el9sat"
                  },
                  {
                    "fixed": "0:3.16.0.25-1.el9sat"
                  },
                  {
                    "fixed": "0:3.18.0.14-1.el9sat"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96659.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-96659",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503417,
  "published_at": "2026-10-01T16:23:23.666+00:00"
}