Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-36085

32
FAUCET Score

CVE-2022-36085 is a critical vulnerability in Open Policy Agent (OPA) versions prior to 0.43.1, specifically affecting the deprecated WithUnsafeBuiltins function. An attacker can bypass this protection using the 'with' keyword to mock unsafe built-in functions, potentially leading to unauthorized policy execution. With a CVSS score of 9.8 (Critical), this vulnerability is easily exploitable over the network with low attack complexity, allowing for high impact on confidentiality, integrity, and availability. While no public exploit code or active exploitation has been confirmed, the vulnerability has garnered significant community discussion, indicating awareness among security researchers.

Impacted Technologies

VendorProductVersion(s)CPE
>= 0.40.0, < 0.43.1CPE matchmatch criteria
cpe:2.3:a:openpolicyagent:open_policy_agent:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.4HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.2
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.27%
Probability of exploitation in next 30 days
EPSS Percentile
66.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0127 is in the 53rd percentile among its peer group of 36,833 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/open-policy-agent/opaFixed in: 0.43.1

Vendor Advisories (2)

goGHSA-f524-rf33-2jjrhigh

OPA Compiler: Bypass of WithUnsafeBuiltins using "with" keyword to mock functions

Sep 16, 2022
redhatCVE-2022-36085Important

open-policy-agent: Compiler Bypass of WithUnsafeBuiltins using "with" keyword to mock functions

Sep 8, 2022

References

github.com / open-policy-agent/opa/commit/25a597bc3f4985162e7f65f9c36599f4f8f55823
PatchThird Party Advisory
github.com / open-policy-agent/opa/commit/3e8c754ed007b22393cf65e48751ad9f6457fee8
PatchThird Party Advisory
github.com / open-policy-agent/opa/pull/4540
ExploitPatchThird Party Advisory
github.com / open-policy-agent/opa/pull/4616
ExploitPatchThird Party Advisory
github.com / open-policy-agent/opa/releases/tag/v0.43.1
Third Party Advisory
github.com / open-policy-agent/opa/security/advisories/GHSA-f524-rf33-2jjr
ExploitPatchThird Party Advisory