A AegiFlow
CRITICALCVSS 9.2EPSS 0.5%

CVE-2026-59707

CVE-2026-59707 updated by NVD

Published
2026-07-07
Modified
2026-10-27
EPSS percentile
39%
Sources
github-advisory, nvd

Summary

LocalAI contains an unauthenticated server-side request forgery vulnerability in the POST /models/apply endpoint that allows attackers to fetch arbitrary internal URLs. The endpoint passes unsanitized gallery URL fields directly to gallery.GetGalleryConfigFromURLWithContext without proper validation, enabling attackers to force the server to issue HTTP GET requests to private and loopback ranges with partial response content leaked through error messages.

Affected packages

EcosystemPackageAffected versionsFixed versions
Gogithub.com/mudler/LocalAI—1.40.1-0.20260703213242-2cbb3c96b34d

Remediation: Upgrade to 1.40.1-0.20260703213242-2cbb3c96b34d or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.