{"answers":{"affected":"2 open source packages ship an affected version, including github.com/runatlantis/atlantis.","exploited":"There is no known exploitation of CVE-2026-116676 in the wild and no public exploit code.","fix":"Upgrade github.com/runatlantis/atlantis to 0.47.1 or later.","what":"CVE-2026-116676 is a high-severity vulnerability in runatlantis atlantis, published on 27 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-116676 and fix it if it is affected.\n\nWhat it is: CVE-2026-116676 is a high-severity vulnerability in runatlantis atlantis, published on 27 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-116676 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/runatlantis/atlantis (Go): affected from 0.4.0; fixed in 0.47.1\n- github.com/runatlantis/atlantis (Go): affected from 0.4.0; fixed in 0.47.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-116676/ (Markdown: https://insights.sbomify.com/CVE-2026-116676/index.md)","id":"CVE-2026-116676","markdown":"https://insights.sbomify.com/CVE-2026-116676/index.md","name":"CVE-2026-116676","record":{"aliases":["GHSA-rjh2-4xgw-p2hj","MINI-9q5j-hg9f-jv74","MINI-fhjj-c329-cqpq"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Atlantis is a self-hosted golang application that listens for Terraform pull request events via webhooks. From version 0.4.0 until 0.47.1, Atlantis passes the pull-request-controlled workspace value from atlantis.yaml into Terraform command arguments that are joined with strings.Join(args, \" \") and executed through sh -c. An authenticated contributor whose pull request is eligible for an Atlantis plan can include shell metacharacters in the workspace name, causing arbitrary commands to execute as the Atlantis service account without custom workflows, apply permission, or a malicious Terraform provider. External contributors can reach the flaw through fork pull requests only when --allow-fork-prs is enabled, while eligible same-repository branches do not require that option. The commands inherit the Atlantis process environment and can access cloud-provider, Terraform, and version-control credentials as well as files, state, and network resources available to the service. This issue is fixed in version 0.47.1.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Atlantis: OS command injection through PR-controlled Terraform workspace enables RCE during plan","id":"CVE-2026-116676","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":5,"next":{"headline":"OpenWISP Controller CA CRL REST API does not scope requests to managed organizations","id":"CVE-2026-116677"},"packages":[{"ecosystem":"Go","fixed":["0.47.1"],"introduced":["0.4.0"],"last_affected":[],"package":"github.com/runatlantis/atlantis","purl":null,"source":"GHSA-rjh2-4xgw-p2hj"},{"ecosystem":"Go","fixed":["0.47.1"],"introduced":["0.4.0"],"last_affected":[],"package":"github.com/runatlantis/atlantis","purl":"pkg:golang/github.com/runatlantis/atlantis","source":"GHSA-rjh2-4xgw-p2hj"}],"prev":{"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` serialization","id":"CVE-2026-116675"},"products":["atlantis"],"published":"2026-10-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-27","vendors":["runatlantis"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-116676/"}