GO-2026-6182

Source
https://pkg.go.dev/vuln/GO-2026-6182
Import Source
https://vuln.go.dev/ID/GO-2026-6182.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6182
Aliases
Published
2026-08-18T16:38:10Z
Modified
2026-08-18T17:24:11.108995804Z
Summary
Command execution via PowerShell smart quotes in github.com/rclone/rclone
Details

PowerShell treats several Unicode smart-quote characters (U+2018, U+2019, U+201A, U+201B) as single-quote delimiters in addition to ASCII apostrophe. When interpolating remote SFTP paths into PowerShell commands, rclone only escapes the ASCII apostrophe, allowing an attacker to craft a filename with smart quotes that closes the path literal and injects arbitrary PowerShell commands executed on the SFTP remote as the victim's SSH account.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6182"
}
References
Credits
    • GitHub: cyberlanc3r

Affected packages

Go / github.com/rclone/rclone

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/rclone/rclone/backend/sftp",
            "symbols": [
                "Fs.About",
                "Object.Hash",
                "quoteOrEscapeShellPath"
            ]
        }
    ]
}

Database specific

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