CVE-2026-113718

Source
https://cve.org/CVERecord?id=CVE-2026-113718
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-113718.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-113718
Aliases
Downstream
AZL (1)
CGA (7)
DEBIAN (1)
MINI (1)
openSUSE (1)
ROOT (1)
UBUNTU (1)
Related
Published
2026-10-20T19:39:52Z
Modified
2026-11-18T21:00:25Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
virtualenv: Xonsh activation literals depend on the script decoding codec
Details

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.

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

Affected packages

Git / github.com/pypa/virtualenv

Affected ranges

Type
GIT
Repo
https://github.com/pypa/virtualenv
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "21.3.0"
                },
                {
                    "fixed":  "21.14.9"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "e5fc2e6e189a877ff559af288919e3525d13e5e0"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "21.14.9",
            "range":  [
                {
                    "fixed":  "e53e30b9c8fbc3f4f502223819449ddc970fbbe8"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

21.*
21.10.0
21.11.0
21.11.1
21.12.0
21.12.1
21.13.0
21.14.0
21.14.1
21.14.2
21.14.3
21.14.4
21.14.5
21.14.6
21.14.7
21.14.8
21.3.0
21.3.1
21.3.2
21.3.3
21.4.0
21.4.1
21.4.2
21.4.3
21.5.0
21.5.1
21.5.2
21.6.0
21.6.1
21.7.0
21.7.1
21.7.10
21.7.11
21.7.12
21.7.13
21.7.14
21.7.15
21.7.16
21.7.2
21.7.3
21.7.4
21.7.5
21.7.6
21.7.7
21.7.8
21.7.9
21.8.0
21.8.1
21.9.0
21.9.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-113718.json"