LocalAI - Server-Side Request Forgery via POST /models/apply
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| LocalAI | LocalAI | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Localai | Localai |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-8c5q-hx4g-qq23 | LocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLs |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.4% (1.383% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mudler
Mudler localai |
|
| CPEs | cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Mudler
Mudler localai |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Localai
Localai localai |
|
| Vendors & Products |
Localai
Localai localai |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | LocalAI - Server-Side Request Forgery via POST /models/apply | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV3_1
|