All vulnerabilities

Go

CVE-2026-137570

Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path

Severity
Medium 5.8
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
1.20.0
Exploit chance
0.2% in the next 30 daysHigher than 5% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Insecure temporary file (CWE-377)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
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
Sources
CVE Program

Description

Open Policy Agent before 1.20.0 contains an insecure temporary file vulnerability that allows local users to overwrite files by abusing the fixed OCI store path used when persistence_directory is unset. Attackers can pre-create the opa/oci temp directory with index.json or oci-layout symlinks so OPA overwrites the target files with OCI JSON using its privileges.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/open-policy-agent/opaGo · osv:Go:github.com/open-policy-agent/opa
  • Every version before 1.20.0

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
golang-github-open-policy-agent-opasidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-137570 , read in the last 12 hours.

About github.com/open-policy-agent/opa

This is the only vulnerability in github.com/open-policy-agent/opa in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137570