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

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). 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
    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
    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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.