Read the docs
TI-2025-29282 Aliases CVE-2025-46569GHSA-6m8w-jc87-6cr7

OPA server Data API HTTP path injection of Rego

Priority LOW 35CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass, Code execution, Denial of service
Confidentiality · integrity · availability
High · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863, CWE-94 and CWE-770.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00541 45th percentileScored 2026-11-07
Fix Partial opa (open-policy-agent): 1.4.0github.com/open-policy-agent/opa/v1/server (Go): 1.4.0+2 more productsRed Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
open-policy-agentopabefore 1.4.01.4.0Patch availableCNA
—github.com/open-policy-agent/opa/v1/server (Go)before 1.4.01.4.0Patch availableGHSA-6m8w-jc87-6cr7
—github.com/open-policy-agent/opa/server (Go)before 1.4.01.4.0Patch availableGHSA-6m8w-jc87-6cr7
—github.com/open-policy-agent/opa (Go)before 1.4.01.4.0Patch availableGHSA-6m8w-jc87-6cr7
  • opa Vendoropen-policy-agent Affected before 1.4.0 Fixed in 1.4.0 Patch available CNA
  • github.com/open-policy-agent/opa/v1/server (Go) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-6m8w-jc87-6cr7
  • github.com/open-policy-agent/opa/server (Go) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-6m8w-jc87-6cr7
  • github.com/open-policy-agent/opa (Go) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-6m8w-jc87-6cr7

Remediation

  • Fix · CNA opa (open-policy-agent) Fixed in 1.4.0
  • Fix · GHSA-6m8w-jc87-6cr7 github.com/open-policy-agent/opa/v1/server (Go) Fixed in 1.4.0 Advisory →
  • Fix · GHSA-6m8w-jc87-6cr7 github.com/open-policy-agent/opa/server (Go) Fixed in 1.4.0 Advisory →
  • Fix · GHSA-6m8w-jc87-6cr7 github.com/open-policy-agent/opa (Go) Fixed in 1.4.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-46569
  2. 2026-10-03 Alias added: GHSA-6m8w-jc87-6cr7

References

  • TI-2022-16508 OPA Compiler: Bypass of WithUnsafeBuiltins using `with` keyword to mock functions CVSS 3.1CRITICAL 9.8
  • TI-2022-07681 Array literal misordering in github.com/open-policy-agent/opa CVSS 3.1MEDIUM 6.3
  • TI-2022-14552 An issue in the AST parser (ast/compile.go) of Open Policy Agent v0.10.2 allows attackers… CVSS 3.1HIGH 7.5
  • TI-2022-11544 An issue in the component ast/parser.go of Open Policy Agent v0.39.0 causes the… CVSS 3.1HIGH 7.5
  • TI-2026-21196 opa-envoy-plugin has an Authorization Bypass via Double-Slash Path Misinterpretation in `input.parsed_path` CVSS 4.0HIGH 7.1
  • TI-2024-07657 OPA SMB Force-Authentication CVSS 3.1HIGH 7.3
See all 7 →

Sources