Advisory record · GHSA-f524-rf33-2jjr

Protection bypass in github.com/open-policy-agent/opa

CVSS 7.4 HighEPSS 0.016 · 76th percentile

Published by the GitHub Advisory Database at 13 Sept 2022, 17:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/open-policy-agent/opaGo>=0.40.0, <0.44.00.44.0
Identifiers
GHSA-f524-rf33-2jjr · CVE-2022-36085 · GO-2022-0978
Weakness (CWE)
CWE-20 · CWE-693
Published
13 Sept 2022
Updated
20 May 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of github.com/open-policy-agent/opa from 0.40.0 before 0.44.0 are affected. The Rego compiler's deprecated WithUnsafeBuiltins option can be bypassed by using the "with" keyword to mock a built-in function, which the unsafe-builtins check does not cover. The source gives few details on the exact attacker position or impact. Upgrade to version 0.44.0 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.4 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.016, the 76th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 13 Sept 2022. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.