# CVE-2025-46569: GO-2025-3660 - OPA server Data API HTTP path injection of Rego in github.com/open-policy-agent/opa

Source: https://junglewise.ai/threats/cve-2025-46569-opa-server-data-api-http-path-injection-of-rego  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-05  
License: CC BY 4.0 with a link back

CVE-2025-46569 · Severity: medium · CVSS 4 · Published 2025-05-05

OPA server Data API HTTP path injection of Rego in github.com/open-policy-agent/opa

Technologies: [github.com/open-policy-agent/opa (Go)](https://junglewise.ai/threats/technologies/github-com-open-policy-agent-opa). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-46569 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-46569 being exploited in the wild.

**How severe is CVE-2025-46569?** Medium severity, with a CVSS score of 4, published 5 May 2025.

**Which products and versions are affected?** github.com/open-policy-agent/opa (Go) SEMVER:introduced=0,fixed=1.4.0; github.com/open-policy-agent/opa/server (Go) SEMVER:introduced=0,fixed=1.4.0; github.com/open-policy-agent/opa/v1/server (Go) SEMVER:introduced=0,fixed=1.4.0.

**Is there a fix for CVE-2025-46569?** Yes. github.com/open-policy-agent/opa (Go): upgrade to 1.4.0 or later; github.com/open-policy-agent/opa/server (Go): upgrade to 1.4.0 or later; github.com/open-policy-agent/opa/v1/server (Go): upgrade to 1.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-46569?** Check whether you run github.com/open-policy-agent/opa (Go), github.com/open-policy-agent/opa/server (Go) or github.com/open-policy-agent/opa/v1/server (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/open-policy-agent/opa (Go): upgrade to 1.4.0 or later

  ```sh
  go get github.com/open-policy-agent/opa@v1.4.0
  ```

- github.com/open-policy-agent/opa/server (Go): upgrade to 1.4.0 or later

  ```sh
  go get github.com/open-policy-agent/opa/server@v1.4.0
  ```

- github.com/open-policy-agent/opa/v1/server (Go): upgrade to 1.4.0 or later

  ```sh
  go get github.com/open-policy-agent/opa/v1/server@v1.4.0
  ```


## Affected products

- github.com/open-policy-agent/opa (Go) SEMVER:introduced=0,fixed=1.4.0
- github.com/open-policy-agent/opa/server (Go) SEMVER:introduced=0,fixed=1.4.0
- github.com/open-policy-agent/opa/v1/server (Go) SEMVER:introduced=0,fixed=1.4.0

## Identifiers

- CVE-2025-46569
- GHSA-6m8w-jc87-6cr7
- GO-2025-3660

## Related threats

- [GO-2024-3141 - OPA for Windows has an SMB force-authentication vulnerability in github.com/open-policy-agent/opa](https://junglewise.ai/threats/cve-2024-8260-opa-for-windows-has-an-smb-force-authentication-vulnerability)
- [GO-2022-0978 - Protection bypass in github.com/open-policy-agent/opa](https://junglewise.ai/threats/cve-2022-36085-opa-compiler-bypass-of-withunsafebuiltins-using-with-keyword-to)
- [GO-2022-0316 - Incorrect calculation in github.com/open-policy-agent/opa](https://junglewise.ai/threats/cve-2022-23628-incorrect-calculation-in-github-com-open-policy-agent-opa)
- [GO-2022-0574 - Denial of service in github.com/open-policy-agent/opa](https://junglewise.ai/threats/cve-2022-33082-denial-of-service-in-open-policy-agent)
- [GO-2022-0587 - Out of bounds memory access in github.com/open-policy-agent/opa](https://junglewise.ai/threats/cve-2022-28946-out-of-bounds-memory-access-in-github-com-open-policy-agent-opa)
