Approved changes feed: RSS · Atom

cpe:2.3:a:openpolicyagent:open_policy_agent:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOpenpolicyagent (f98d461f-f55a-53e5-a0aa-dc0aa93bd283)
ProductOpen Policy Agent (5a55900d-1a38-50cf-891e-e27738a7e407)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/open-policy-agent/opa purl2cpe 2026-06-01 10:17:52.214443
pkg:rpm/fedora/open-policy-agent purl2cpe 2026-06-01 10:17:52.214444

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2024-8260 vulnerable 2026-06-08 07:00:23.430672 OPA SMB Force-Authentication
MEDIUM (6.1)
A SMB force-authentication vulnerability exists in all versions of OPA for Windows prior to v0.68.0. The vulnerability exists because of improper input validation, allowing a user to pass an arbitrary SMB share instead of a Rego file as an argument to OPA CLI or to one of the OPA Go library’s functions.
Published: 2024-08-30T12:22:45.964Z
Updated: 2024-08-30T13:17:20.246Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-36085 vulnerable 2026-06-08 05:46:06.306163 OPA Compiler: Bypass of WithUnsafeBuiltins using `with` keyword to mock functions
HIGH (7.4)
Open Policy Agent (OPA) is an open source, general-purpose policy engine. The Rego compiler provides a (deprecated) `WithUnsafeBuiltins` function, which allows users to provide a set of built-in functions that should be deemed unsafe — and as such rejected — by the compiler if encountered in the policy compilation stage. A bypass of this protection has been found, where the use of the `with` keyword to mock such a built-in function (a feature introduced in OPA v0.40.0), isn’t taken into account by `WithUnsafeBuiltins`. Multiple conditions need to be met in order to create an adverse effect. Version 0.43.1 contains a patch for this issue. As a workaround, avoid using the `WithUnsafeBuiltins` function and use the `capabilities` feature instead.
Published: 2022-09-08T13:30:16.000Z
Updated: 2025-04-22T17:23:14.762Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-33082 vulnerable 2026-06-08 05:44:46.194378 Details available
An issue in the AST parser (ast/compile.go) of Open Policy Agent v0.10.2 allows attackers to cause a Denial of Service (DoS) via a crafted input.
Published: 2022-06-30T21:50:11.000Z
Updated: 2024-08-03T08:01:19.001Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23628 vulnerable 2026-06-08 05:40:58.071493 Array literal misordering in github.com/open-policy-agent/opa
MEDIUM (6.3)
OPA is an open source, general-purpose policy engine. Under certain conditions, pretty-printing an abstract syntax tree (AST) that contains synthetic nodes could change the logic of some statements by reordering array literals. Example of policies impacted are those that parse and compare web paths. **All of these** three conditions have to be met to create an adverse effect: 1. An AST of Rego had to be **created programmatically** such that it ends up containing terms without a location (such as wildcard variables). 2. The AST had to be **pretty-printed** using the `github.com/open-policy-agent/opa/format` package. 3. The result of the pretty-printing had to be **parsed and evaluated again** via an OPA instance using the bundles, or the Golang packages. If any of these three conditions are not met, you are not affected. Notably, all three would be true if using **optimized bundles**, i.e. bundles created with `opa build -O=1` or higher. In that case, the optimizer would fulfil condition (1.), the result of that would be pretty-printed when writing the bundle to disk, fulfilling (2.). When the bundle was then used, we'd satisfy (3.). As a workaround users may disable optimization when creating bundles.
Published: 2022-02-09T21:50:11.000Z
Updated: 2025-04-22T18:22:11.535Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.