Skip to content
OpenAdvisories
High · 8.8 CVE-2022-39326 EUVD-2022-7091GHSA-f9qj-7gh3-mhj4

kartverket/github-workflows's run-terraform allows for RCE via terraform plan

Published Oct 25, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

kartverket/github-workflows are shared reusable workflows for GitHub Actions. Prior to version 2.7.5, all users of the `run-terraform` reusable workflow from the kartverket/github-workflows repo are affected by a code injection vulnerability. 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. Users should upgrade to at least version 2.7.5 to resolve the issue. As a workaround, review any pull requests from external users for malicious payloads before allowing them to trigger a build.

Affected products

VendorProductAffectedFixed
kartverket github-workflows < 2.7.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
GitHub Actions kartverket/github-workflows < 2.7.5 2.7.5 GHSA-f9qj-7gh3-mhj4

References