CVE Catalog

CVE-2026-79785

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

7th percentile - higher than 7% of all known CVEs

Summary

X-AnyLabeling's model downloader disabled TLS certificate verification. The download_with_retry function uses an unverified SSL context, allowing an attacker to intercept the connection and replace the downloaded model. The substituted file can be used to execute arbitrary code or influence annotation results.

Risk Assessment

The risk includes potential remote code execution on the user's machine and manipulation of application outputs. An attacker can intercept network traffic and deliver a malicious model.

Recommendation

It is recommended to update X-AnyLabeling to a version that verifies TLS certificates. Also avoid using untrusted networks or configure appropriate network security.

Related vulnerabilities

Original NVD description (English source)

X-AnyLabeling's model downloader disabled TLS certificate verification. download_with_retry in anylabeling/services/auto_labeling/model.py built a context with ssl._create_unverified_context() 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, safe_check_model, 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.check_model 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 open_vision configurations use, the check worker calls torch.load without weights_only, so a substituted file is unpickled and executes code of the attacker's choosing on PyTorch releases predating the weights_only default.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS