7.4

CVE-2025-46569: OPA server Data API HTTP path injection of Rego

Deferred
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) Improper Control of Generation of Code vulnerability in open-policy-agent opa. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.4/10
010
High · v4.0 (CVE.org)
EPSS score
0.55%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.55%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.54% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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