CVE-2025-46569 json
OPA server Data API HTTP path injection of Rego
published 2025-05-01 18 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-12838 , GHSA-6m8w-jc87-6cr7 , GO-2025-3660
- cvss
- 7.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/open-policy-agent/opa/v1/server 1.4.0
- go github.com/open-policy-agent/opa/server 1.4.0
- go github.com/open-policy-agent/opa 1.4.0
- openpolicyagent open_policy_agent 1.4.0
- cosign SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +10 more 2.5.3-150400.3.30.1
suse advisories SUSE-SU-2025:02592-1
- hauler openSUSE Leap 16.0 1.3.1-bp160.1.1
- trivy openSUSE Tumbleweed 0.65.0-2.1
- hauler openSUSE Tumbleweed 1.2.5-1.1
- cosign openSUSE Tumbleweed 2.5.3-1.1
- opa openSUSE Tumbleweed 1.6.0-1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250506T153719-1.1
opensuse advisories openSUSE-SU-2025:20160-1openSUSE-SU-2025:15530-1openSUSE-SU-2025:15370-1openSUSE-SU-2025:15355-1openSUSE-SU-2025:15253-1openSUSE-SU-2025:15059-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-46569 updated cvss 8.1
github.com/open-policy-agent/opa/server: github.com/open-policy-agent/opa/v1/server: OPA server Data API HTTP path injection of Rego
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-validation-rhel9affected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.4 | 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 |
| CNA | 4.0 | 7.4 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/open-policy-agent/opa/v1/server | <1.4.0 |
1.4.0 |
| go | github.com/open-policy-agent/opa/server | <1.4.0 |
1.4.0 |
| go | github.com/open-policy-agent/opa | <1.4.0 |
1.4.0 |
Affected products
- open-policy-agent opa
Classification
References
-
github.com
/open-policy-agent/opa/commit/ad2063247a14711882f18c387a511fc8094aa79c
web, patch
-
github.com
/open-policy-agent/opa/security/advisories/GHSA-6m8w-jc87-6cr7
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-46569
advisory
-
github.com
/open-policy-agent/opa
package
-
pkg.go.dev
/vuln/GO-2025-3660
web
Sources
- CVE List CVE-2025-46569
- GitHub Advisory GHSA-6m8w-jc87-6cr7
- NVD CVE-2025-46569
- OSV GO-2025-3660
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.