Vulnerabilityin open-policy-agent opa.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade opa to 0.37.0 or later.
- Upgrade github.com/open-policy-agent/opa (Go) to 0.37.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Jan 2022CVE ID reserved by GitHub_M.
- 9 Feb 2022Published in the CVE List.
- 22 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other opa vulnerabilities
Same weakness:
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2022-23628: Vulnerability in open-policy-agent opa. https://patchminder.com/cve/cve-2022-23628/ (accessed 5 December 2026).