7.4

CVE-2025-46569: open-policy-agent opa Code Injection

CVSS: 7.4v4.0HighDeferred
AliasesSUSE-SU-2025:02592-1CGA-22hg-x9cm-fmg5CGA-22pj-c4xx-674m
Published 01-05-2025Last modified 02-05-2025

Vulnerability summary

CVE-2025-46569 is a high (CVSS 7.4) Code Injection vulnerability in open-policy-agent opa. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.4/10
010
High · v4.0 (CVE.org)
EPSS score
0.53%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 31

Timeline

  1. 01-05-2025
    PublishedVulnerability first disclosed.
  2. 02-05-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.53%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.02 pp

From 0.51% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.53%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard55 products
  • conftest< 0.59.0-r1
  • conftest-fips< 0.59.0-r1
  • cosign< 2.5.0-r1
  • cosign-fips< 2.5.0-r2
  • dapr-1.14< 1.14.5-r3
Wolfi19 products
  • conftest< 0.59.0-r1
  • cosign< 2.5.0-r1
  • kots< 1.124.16-r1
  • kots-compat< 1.124.16-r1
  • kots-symlink-compat< 1.124.16-r1
Suse12 products
  • cosign&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.5.3-150400.3.30.1
  • cosign&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.5.3-150400.3.30.1
  • cosign&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.5.3-150400.3.30.1
  • cosign&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 2.5.3-150400.3.30.1
  • cosign&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 2.5.3-150400.3.30.1
Opensuse4 products
  • cosign&distro=openSUSE Leap 15.6< 2.5.3-150400.3.30.1
  • cosign&distro=openSUSE Tumbleweed< 2.5.3-1.1
  • hauler&distro=openSUSE Tumbleweed< 1.2.5-1.1
  • trivy&distro=openSUSE Tumbleweed< 0.65.0-2.1
Github.com/open-policy-agent1 product
  • opa< 1.4.0
Github.com/open-policy-agent/opa1 product
  • server< 1.4.0
Github.com/open-policy-agent/opa/v11 product
  • server< 1.4.0
Open-policy-agent1 product

8 vendors · 94 products

References

9 links