CVE-2026-137570
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 5.8 (MEDIUM)
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.3)
CVSS v3.1 Base Metrics — Score 6.3 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- open-policy-agent opa < 1.20.0
- open-policy-agent opa 1.20.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run open-policy-agent opa and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 26, 2026Published
- Nov 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new open-policy-agent opa CVEsYou are reading CVE-2026-137570. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/open-policy-agent/opa/pull/8853
- Patchhttps://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee
- Referencehttps://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- Referencehttps://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457
- Referencehttps://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path
Data last checked: Nov 30, 2026 03:22 UTC