CVE-2022-39326

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-39326
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-39326.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-39326
Aliases
Published
2022-10-25T00:00:00Z
Modified
2025-11-28T04:54:34.755107Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
kartverket/github-workflows's run-terraform allows for RCE via terraform plan
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39326.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

Git / github.com/kartverket/github-workflows

Affected ranges

Type
GIT
Repo
https://github.com/kartverket/github-workflows
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

v1
v2

v2.*

v2.1
v2.2
v2.3
v2.4
v2.6
v2.7
v2.7.1
v2.7.2
v2.7.3
v2.7.4

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-39326.json"