CVE-2026-137570

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

Published Nov 26, 2026 CVSS 4.0 · 5.8 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
First Time appeared Openpolicyagent
Openpolicyagent open Policy Agent
Weaknesses CWE-377
CPEs cpe:2.3:a:openpolicyagent:open_policy_agent:*:*:*:*:*:*:*:*
Vendors & Products Openpolicyagent
Openpolicyagent open Policy Agent
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 5.8, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 26, 2026, 1:13 PM
Reserved
Nov 26, 2026, 12:50 PM
Status
Received
Published
Nov 26, 2026, 2:17 PM
Modified
Nov 26, 2026, 2:17 PM