CVE-2026-137570
published medium CVSS 4.0 · 5.8Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-policy-agent | — | opa0 to < 1.20.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-policy-agent | opa | 0 to < 1.20.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-377 Insecure Temporary File
References
5- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee
- https://github.com/open-policy-agent/opa/pull/8853
- opa v1.20.0 Release Notes https://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- VulnCheck Advisory: Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path
Provider assertions
2VulnCheck · cna
Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f447fc3d31a1d919b09407de3e9c2fca8739fa6f1eb8ed992234730a53c8696a
- Ingested
- 30 Nov 2026, 13:59:34 UTC
- Source record
- Official CVE record