SCA: security update for github.com/open-policy-agent/opa, github.com/open-policy-agent/opa/server, github.com/open-policy-agent/opa/v1/server (GHSA-6m8w-jc87-6cr7)

high Tenable Cloud Security Plugin ID 434719

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Open Policy Agent (OPA) is an open source, general-purpose policy engine. Prior to version 1.4.0, when run
as a server, OPA exposes an HTTP Data API for reading and writing documents. Requesting a virtual document
through the Data API entails policy evaluation, where a Rego query containing a single data document
reference is constructed from the requested path. This query is then used for policy evaluation. A HTTP
request path can be crafted in a way that injects Rego code into the constructed query. The evaluation
result cannot be made to return any other data than what is generated by the requested path, but this path
can be misdirected, and the injected Rego code can be crafted to make the query succeed or fail; opening
up for oracle attacks or, given the right circumstances, erroneous policy decision results. Furthermore,
the injected code can be crafted to be computationally expensive, resulting in a Denial Of Service (DoS)
attack. This issue has been patched in version 1.4.0. A workaround involves having network access to OPA’s
RESTful APIs being limited to `localhost` and/or trusted networks, unless necessary for production
reasons. (CVE-2025-46569)

See Also

https://github.com/advisories/GHSA-6m8w-jc87-6cr7

Plugin Details

Severity: High

ID: 434719

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 8/19/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

Percentile: 57.33

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.7

Temporal Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:P

CVSS Score Source: CVE-2025-46569

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.4

Threat Score: 4.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:H/SI:H/SA:H

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/1/2025

Vulnerability Publication Date: 5/1/2025

Reference Information

CVE: CVE-2025-46569