CVE-2026-137570: open-policy-agent opa · Insecure Temporary File
Affects open-policy-agent opaSource GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 1.20.0 when convenient.
Data as of 26 Nov 2026, 13:52 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.3 |
- Patch
- Available – fixed in 1.20.0
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade open-policy-agent opa to 1.20.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| open-policy-agent opa | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, avoid running OPA with unset persistence_directory in environments where untrusted local users have access. Consider setting a dedicated persistence_directory path with proper permissions to mitigate the risk.
Description
Open Policy Agent (OPA) versions before 1.20.0 have an insecure temporary file vulnerability. This flaw allows local users to overwrite files by exploiting the fixed OCI store path used when the persistence_directory setting is unset. Attackers can pre-create the opa/oci temp directory with symlinks named index.json or oci-layout, causing OPA to overwrite target files with OCI JSON data using its privileges.
References
- github.com/open-policy-agent/opa/pull/8853 (opens in a new tab)
- github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee (opens in a new tab)
- github.com/open-policy-agent/opa/releases/tag/v1.20.0 (opens in a new tab)
- github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go (opens in a new tab)
- vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path (opens in a new tab)