Open Policy Agent before 1.20.0 Symlink File Overwrite via Predictable OCI Store Path (open-policy-agent opa)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- VulnCheck
- Produits affectés
- open-policy-agent · opa
- Statut NVD
- Received
Rechercher sur…
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.
Faiblesses (CWE)
- CWE-377 — Fichier temporaire non sécurisé
Crédits
- Yeonghyeon Choi découverte
- Duyeong Kim découverte
Références
- https://github.com/open-policy-agent/opa/pull/8853
- https://github.com/open-policy-agent/opa/commit/4fa5d202a77ca7b69f1cb7fc8936d7efb7ae60ee
- https://github.com/open-policy-agent/opa/releases/tag/v1.20.0
- https://github.com/open-policy-agent/opa/blob/v1.19.1/v1/plugins/bundle/plugin.go#L457
- https://www.vulncheck.com/advisories/open-policy-agent-before-1.20.0-symlink-file-overwrite-via-predictable-oci-store-path
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 5.8 | 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 | VulnCheck |
| CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H | VulnCheck |
| CVSS 4.0 | MEDIUM 5.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H | NVD · disclosure@vulncheck.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-136361
- GCVE · GCVE-0-2026-137570
Produits affectés
| Produit | Versions affectées |
|---|---|
| open-policy-agent · opa | affectée : ≥ 0 < 1.20.0 Autres versions : non affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |