PoC Monitor
← All CVEs
CVE-2025-68472published 12 Jan 2026 16:53 UTCData: JSON · API

MindsDB

MindsDB has improper sanitation of filepath that leads to information disclosure and DOS

MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.11.1, an unauthenticated path traversal in the file upload API lets any caller read arbitrary files from the server filesystem and move them into MindsDB’s storage, exposing sensitive data. The PUT handler in file.py directly joins user-controlled data into a filesystem path when the request body is JSON and source_type is not "url". Only multipart uploads and URL-sourced uploads receive sanitization; JSON uploads lack any call to clear_filename or equivalent checks. This vulnerability is fixed in 25.11.1.

First public PoC 1.5 daysafter publication · 14 Jan 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mindsdb mindsdb
  • < 25.11.1

Fixed in 25.11.1

Mitigation

Upgrade mindsdb to 25.11.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Jan 2026 · t = 0First public PoC14 Jan 2026 · t+1.5d

First public PoC 1.5 days after publication; not in CISA KEV. First PoC: ExploreUnknowed/CVE-2025-68472 (created 14 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
ExploreUnknowed/CVE-2025-68472 14 Jan 2026 +1.5 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /api/sql/query

Body markers
"query":"SELECT * FROM files.leak_rel" in application/json
Seen in
1 repo: ExploreUnknowed/CVE-2025-68472
Evidence
ExploreUnknowed/CVE-2025-68472/CVE-2025-68472.py:9

PUT /api/files/leak_rel

Body markers
"file":"../../../../../etc/passwd" in application/json
Seen in
1 repo: ExploreUnknowed/CVE-2025-68472
Evidence
ExploreUnknowed/CVE-2025-68472/CVE-2025-68472.py:6

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/sql/query
(?i)^/api/sql/query(?:[?#].*)?$
PUT /api/files/leak_rel
(?i)^/api/files/leak_rel(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/sql/query
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-68472 mindsdb mindsdb exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/sql/query"; http.request_body; content:"|22|query|22|:|22|SELECT * FROM files.leak_rel|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-68472; classtype:web-application-attack; sid:9410446; rev:1;)
PUT /api/files/leak_rel
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-68472 mindsdb mindsdb exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/api/files/leak_rel"; http.request_body; content:"|22|file|22|:|22|../../../../../etc/passwd|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-68472; classtype:web-application-attack; sid:9752749; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/sql/query
title: mindsdb mindsdb exploit attempt (CVE-2025-68472)
id: gg-pocmon-cve-2025-68472-9410446
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68472. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68472
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/sql/query'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68472
PUT /api/files/leak_rel
title: mindsdb mindsdb exploit attempt (CVE-2025-68472)
id: gg-pocmon-cve-2025-68472-9752749
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68472. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68472
logsource:
  category: webserver
detection:
  selection:
    cs-method: PUT
    cs-uri-stem|contains|all:
      - '/api/files/leak_rel'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68472