CVE-2025-2843: Github.com/rhobs/observability operator Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-mj6p-p843-x5wc
CVSS 8.8
CWE-266
Published
Advisory Summary

CVE-2025-2843 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Github.com/rhobs/observability operator libraries in the Go ecosystem. The issue involves observability operator is vulnerable to incorrect privilege assignment through its custom resource monitorstack. Remediation is available by upgrading affected packages to version 1.3.0.

CVE-2025-2843 at a Glance

CVE Identifier CVE-2025-2843
GHSA Identifier GHSA-mj6p-p843-x5wc
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-266: Incorrect Privilege Assignment
Affected Product Github.com/rhobs/observability operator
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-2843

To remediate this vulnerability, upgrade all affected Github.com/rhobs/observability operator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/rhobs/observability-operator fixed: 1.3.0
Upgrade github.com/rhobs/observability-operator to 1.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/rhobs/observability-operator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-2843, inspect your project dependencies for Github.com/rhobs/observability operator:

inspect dependencies for github.com/rhobs/observability-operator

Analyze the terminal output to locate any version of Github.com/rhobs/observability operator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Github.com/rhobs/observability operator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A flaw was found in the Observability Operator. The Operator creates a ServiceAccount with *ClusterRole* upon deployment of the *Namespace-Scoped* Custom Resource MonitorStack. This issue allows an adversarial Kubernetes Account with only namespaced-level roles, for example, a tenant controlling a namespace, to create a MonitorStack in the authorized namespace and then elevate permission to the cluster level by impersonating the ServiceAccount created by the Operator, resulting in privilege escalation and other issues.

CVE-2025-2843 Affected Github.com/rhobs/observability operator Versions

1 component(s)
Fixed Versions:
1.3.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/rhobs/observability-operator
Go
< 1.3.0
1.3.0

References

Frequently Asked Questions

What is CVE-2025-2843?
CVE-2025-2843 is a security vulnerability in Github.com/rhobs/observability operator involving Observability Operator is vulnerable to Incorrect Privilege Assignment through its Custom Resource MonitorStack under CWE-266: Incorrect Privilege Assignment.
Which Github.com/rhobs/observability operator versions are affected?
Affected versions include releases prior to 1.3.0 across affected packages: github.com/rhobs/observability-operator.
What version fixes CVE-2025-2843?
Upgrading to 1.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/rhobs/observability-operator affected?
Yes, github.com/rhobs/observability-operator is affected in releases prior to 1.3.0. Upgrade your dependency to 1.3.0 or later.
What is the CVSS score of CVE-2025-2843?
CVE-2025-2843 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-2843?
CVE-2025-2843 is classified under CWE-266: Incorrect Privilege Assignment (A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2025-2843?
Run the dependency tree command: 'inspect dependencies for github.com/rhobs/observability-operator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-mj6p-p843-x5wc",
  "modified" : "2025-11-14T21:39:19Z",
  "published" : "2025-11-12T18:31:25Z",
  "aliases" : [ "CVE-2025-2843" ],
  "summary" : "Observability Operator is vulnerable to Incorrect Privilege Assignment through its Custom Resource MonitorStack",
  "details" : "A flaw was found in the Observability Operator. The Operator creates a ServiceAccount with *ClusterRole* upon deployment of the *Namespace-Scoped* Custom Resource MonitorStack. This issue allows an adversarial Kubernetes Account with only namespaced-level roles, for example, a tenant controlling a namespace, to create a MonitorStack in the authorized namespace and then elevate permission to the cluster level by impersonating the ServiceAccount created by the Operator, resulting in privilege escalation and other issues.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/rhobs/observability-operator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-2843"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rhobs/observability-operator/commit/98b927fab755decd6e030ac6af5c005879bab020"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:21146"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-2843"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2355222"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rhobs/observability-operator"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rhobs/observability-operator/releases/tag/v1.3.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-266" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-14T21:39:19Z",
    "nvd_published_at" : "2025-11-12T17:15:37Z"
  }
}