GO-2026-6871

Source
https://pkg.go.dev/vuln/GO-2026-6871
Import Source
https://vuln.go.dev/ID/GO-2026-6871.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6871
Aliases
Published
2026-11-05T22:54:32Z
Modified
2026-11-05T23:15:14Z
Summary
OS command injection through PR-controlled Terraform workspace enables RCE during plan in github.com/runatlantis/atlantis
Details

OS command injection through PR-controlled Terraform workspace enables RCE during plan in github.com/runatlantis/atlantis

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6871"
}
References

Affected packages

Go / github.com/runatlantis/atlantis

Package

Name
github.com/runatlantis/atlantis
View open source insights on deps.dev
Purl
pkg:golang/github.com/runatlantis/atlantis

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.47.1

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/runatlantis/atlantis/server/core/runtime/policy",
            "symbols": [
                "Arg.build",
                "ConfTestExecutorWorkflow.Run",
                "ConftestTestCommandArgs.build"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/core/config/raw",
            "symbols": [
                "Project.Validate"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/controllers",
            "symbols": [
                "APIController.Apply",
                "APIController.Plan",
                "APIController.apiParseAndValidate"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/core/runtime",
            "symbols": [
                "ApplyStepRunner.Run",
                "ApplyStepRunner.hasTargetFlag",
                "EnvStepRunner.Run",
                "InitStepRunner.Run",
                "MultiEnvStepRunner.Run",
                "RunStepRunner.Run",
                "importStepRunner.Run",
                "planStepRunner.Run",
                "planStepRunner.buildPlanCmd",
                "planStepRunner.remotePlan",
                "planStepRunner.tfVars",
                "stateRmStepRunner.Run",
                "workspaceStepRunnerDelegate.Run"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/core/runtime/models",
            "symbols": [
                "LocalExec.CombinedOutput",
                "ShellCommandRunner.Run",
                "ShellCommandRunner.RunCommandAsync"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/core/terraform/tfclient",
            "symbols": [
                "DefaultClient.RunCommandAsync",
                "DefaultClient.RunCommandWithVersion",
                "DefaultClient.prepCmd",
                "DefaultClient.prepExecCmd"
            ]
        },
        {
            "path": "github.com/runatlantis/atlantis/server/events",
            "symbols": [
                "CommandScopedStatsProjectCommandContextBuilder.BuildProjectContext",
                "CommentParser.Parse",
                "DefaultProjectCommandBuilder.BuildApplyCommands",
                "DefaultProjectCommandBuilder.BuildApprovePoliciesCommands",
                "DefaultProjectCommandBuilder.BuildAutoplanCommands",
                "DefaultProjectCommandBuilder.BuildImportCommands",
                "DefaultProjectCommandBuilder.BuildPlanCommands",
                "DefaultProjectCommandBuilder.BuildStateRmCommands",
                "DefaultProjectCommandBuilder.BuildVersionCommands",
                "DefaultProjectCommandContextBuilder.BuildProjectContext",
                "DefaultProjectFinder.DetermineWorkspaceFromHCL",
                "InstrumentedProjectCommandBuilder.BuildApplyCommands",
                "InstrumentedProjectCommandBuilder.BuildAutoplanCommands",
                "InstrumentedProjectCommandBuilder.BuildImportCommands",
                "InstrumentedProjectCommandBuilder.BuildPlanCommands",
                "InstrumentedProjectCommandBuilder.BuildStateRmCommands",
                "PolicyCheckProjectCommandContextBuilder.BuildProjectContext",
                "newProjectCommandContext"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6871.json"