GoWorst: High6 advisories

github.com/open-policy-agent/opa: known vulnerabilities

github.com/open-policy-agent/opa has 6 reviewed security advisories in the GitHub Advisory Database — 4 high, 2 moderate. The most recent was published 2025-05-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/open-policy-agent/opa versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/open-policy-agent/opa

Upgrade github.com/open-policy-agent/opa to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/open-policy-agent/opa@1.4.0 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (6)

OPA server Data API HTTP path injection of Rego High CWE-770 CWE-78 CWE-94 — Affected: before 1.4.0. Fixed in 1.4.0. Published 2025-05-01. GHSA-6m8w-jc87-6cr7 · CVE-2025-46569
OPA for Windows has an SMB force-authentication vulnerability Moderate 6.1 CWE-294 — Affected: before 0.68.0. Fixed in 0.68.0. Published 2024-08-30. GHSA-c77r-fh37-x2px · CVE-2024-8260
OPA Compiler: Bypass of WithUnsafeBuiltins using "with" keyword to mock functions High 7.4 CWE-20 — Affected: from 0.40.0 up to 0.43.1. Fixed in 0.43.1. Published 2022-09-08. GHSA-f524-rf33-2jjr · CVE-2022-36085
Out of bounds memory access in github.com/open-policy-agent/opa High 7.5 CWE-119 — Affected: before 0.40.0. Fixed in 0.40.0. Published 2022-05-19. GHSA-x7f3-62pm-9p38 · CVE-2022-28946
Incorrect Calculation in github.com/open-policy-agent/opa Moderate 6.3 CWE-682 — Affected: from 0.33.1 up to 0.37.2. Fixed in 0.37.2. Published 2022-02-09. GHSA-hcw3-j74m-qc58 · CVE-2022-23628

Find github.com/open-policy-agent/opa across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.