CVE-2026-79785

Source
https://cve.org/CVERecord?id=CVE-2026-79785
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79785.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-79785
Published
2026-08-25T16:03:20.305Z
Modified
2026-08-30T03:30:30.627402987Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
X-AnyLabeling before 4.0.0-beta.9 Improper Certificate Validation in Model Downloads
Details

X-AnyLabeling's model downloader disabled TLS certificate verification. downloadwithretry in anylabeling/services/autolabeling/model.py built a context with ssl.createunverifiedcontext() and passed it to urllib.request.urlopen, so neither the certificate chain nor the hostname was checked on any model download, and models are fetched over HTTPS from the project's release host. Any party positioned to intercept that connection could therefore answer it with content of their own choosing. The response is written to a .part file and moved into place with os.replace, and the only post-download check, safecheckmodel, validates the file's format rather than its provenance: no hash or signature is compared against an expected value. For an ONNX target the substituted file passes onnx.checker.checkmodel and is then used for inference, so the attacker chooses the model that produces the application's annotations. For a .pth or .pt target, which the shipped SAM2 video, YOLOE, UPN and openvision configurations use, the check worker calls torch.load without weightsonly, so a substituted file is unpickled and executes code of the attacker's choosing on PyTorch releases predating the weightsonly default.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79785.json",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "4.0.0b9"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-295"
    ],
    "cna_assigner": "VulnCheck"
}
References

Affected packages

Git / github.com/cvhub520/x-anylabeling

Affected ranges

Type
GIT
Repo
https://github.com/cvhub520/x-anylabeling
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.0.0-beta.9"
        }
    ]
}

Affected versions

v0.*
v0.1.1
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.3.0
v1.*
v1.0.0
v1.1.0
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v2.3.7
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.4.4
v2.4.5-alpha
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.5.4
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.1.1
v3.2.0
v3.2.1
v3.2.2
v3.2.3
v3.2.4
v3.2.5
v3.2.6
v3.3.0
v3.3.1
v3.3.10
v3.3.2
v3.3.3
v3.3.4
v3.3.5
v3.3.6
v3.3.7
v3.3.8
v3.3.9
v4.*
v4.0.0-beta.1
v4.0.0-beta.2
v4.0.0-beta.3
v4.0.0-beta.4
v4.0.0-beta.5
v4.0.0-beta.6
v4.0.0-beta.7
v4.0.0-beta.8

Database specific

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