CVSS 4.0
5.8 mediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NMedium (5.8) in open-policy-agent opa. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:HExplain CVE-2026-137570 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-137570?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-137570?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-137570 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| open-policy-agent opa | before 1.20.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | golang-github-open-policy-agent-opa | no fix listed | DEBIAN-CVE-2026-137570 |
| Ubuntu | 26.10 | golang-github-open-policy-agent-opa | no fix listed | UBUNTU-CVE-2026-137570 |
| Red Hat | hummingbird:1 | cosign | 0:3.1.6-0.1.hum1 | RHSA-2026:103801 |
| Red Hat | hummingbird:1 | trivy | 0:0.76.2-0.2.hum1 | RHSA-2026:102263 |
| Azure Linux | 3 | opa | no fix listed | AZL-116335 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
Red Hat rates this vulnerability as Moderate because exploitation requires local access to the host or container filesystem where Open Policy Agent executes, and it depends on omitting an explicit bundle persistence path. Although a local attacker sharing the temporary directory could overwrite files writable by the OPA process via pre-created symbolic links, the issue does not allow arbitrary code execution directly or compromise file confidentiality. Furthermore, in standard enterprise and containerized environments, untrusted local users generally do not have write access to shared temporary locations within the OPA execution context.
Define an explicit, dedicated persistence directory for bundle storage or isolate the temporary directory environment:
1. Configure an explicit bundle persistence directory:
Create a dedicated storage directory with restricted permissions accessible only by the user running Open Policy Agent:
```
mkdir -p /var/lib/opa/bundle-persistence
chmod 0700 /var/lib/opa/bundle-persistence
chown <opa-user>:<opa-group> /var/lib/opa/bundle-persistence
```
In the OPA configuration file, specify `persistence_directory: /var/lib/opa/bundle-persistence` within the relevant bundle configuration blocks.
2. Isolate temporary files using systemd:
If running OPA as a systemd service, configure temporary directory isolation by adding `PrivateTmp=yes` under the `[Service]` section of the unit file or drop-in configuration.
Warning: Modifying systemd service definitions or OPA configuration files requires restarting the OPA daemon (`systemctl daemon-reload && systemctl restart opa`), which will temporarily disrupt active policy evaluation requests. Ensure the designated directory has sufficient storage space and proper ownership, or bundle initialization will fail.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | trivy-main-0.76.2-0.2.hum1 | Fixed 2026-11-23 | RHSA-2026:102263 |
| Red Hat Hardened Images | cosign-main-3.1.6-0.1.hum1 | Fixed 2026-11-26 | RHSA-2026:103801 |
| Red Hat Hardened Images | spire1.14 | Affected | |
| Red Hat Hardened Images | spire1.15 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-137570.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.