{"id":"CVE-2022-39326","aliases":["GHSA-f9qj-7gh3-mhj4"],"url":"https://o3.security/vulnerability/CVE-2022-39326","summary":"kartverket/github-workflows's run-terraform allows for RCE via terraform plan","details":"### Impact\n_What kind of vulnerability is it? Who is impacted?_  \nAll users of the `run-terraform` reusable workflow from the kartverket/github-workflows repo are affected. A malicious actor could potentially send a PR with a malicious payload leading to execution of arbitrary JavaScript code in the context of the workflow.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_  \nUpgrade to at least 2.7.5 to resolve the issue.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_  \nUntil you are able to upgrade, make sure to review any PRs from exernal users for malicious payloads before allowing them to trigger a build.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [kartverket/github-workflows](https://github.com/kartverket/github-workflows)\n","published":"2022-10-25T00:00:00Z","modified":"2026-08-12T03:51:41.287588119Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"GitHub Actions","name":"kartverket/github-workflows","fixedVersion":"2.7.5"}],"fix":{"url":"https://github.com/kartverket/github-workflows/pull/19","label":"kartverket/github-workflows#19"},"references":[{"type":"WEB","url":"https://github.com/kartverket/github-workflows/releases/tag/v2.7.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39326.json"},{"type":"ADVISORY","url":"https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39326"},{"type":"FIX","url":"https://github.com/kartverket/github-workflows/pull/19"},{"type":"PACKAGE","url":"https://github.com/kartverket/github-workflows"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.287588119Z"}}