Skip to main content
VulnerabilityPublished

CVE-2026-137570: open-policy-agent opa · Insecure Temporary File

Affects open-policy-agent opaSource GCVE Database

0
Compare

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

CVSS 4.0 base score
5.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.8
CNA (VulnCheck)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
open-policy-agent opaAffected
  • <1.20.0
Fixed in
  • 1.20.0

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

Community reviews

Loading reviews…