Katalog CVE

CVE-2026-40315

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.30%

Percentyl 22 - wyżej niż 22% wszystkich znanych CVE

Streszczenie

PraisonAI przed wersją 4.5.133 zawiera podatność na wstrzyknięcie identyfikatora SQL w SQLiteConversationStore, gdzie wartość table_prefix jest bezpośrednio łączona z zapytaniami SQL bez walidacji. Atakujący kontrolujący table_prefix może wstrzyknąć dowolne fragmenty SQL, modyfikując strukturę zapytań.

Ocena ryzyka

Możliwy jest nieautoryzowany dostęp do danych, ujawnienie wewnętrznych tabel SQLite (np. sqlite_master) oraz manipulacja wynikami zapytań poprzez techniki takie jak UNION-based injection.

Rekomendacja

Zaktualizuj PraisonAI do wersji 4.5.133 lub nowszej. Ogranicz możliwość wpływania na konfigurację table_prefix i waliduj dane wejściowe konfiguracji.

Inne podatności w PraisonAI

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

PraisonAI is a multi-agent teams system. Prior to 4.5.133, there is an SQL identifier injection vulnerability in SQLiteConversationStore where the table_prefix configuration value is directly concatenated into SQL queries via f-strings without any validation or sanitization. Since SQL identifiers cannot be safely parameterized, an attacker who controls the table_prefix value (e.g., through from_yaml or from_dict configuration input) can inject arbitrary SQL fragments that alter query structure. This enables unauthorized data access, such as reading internal SQLite tables like sqlite_master, and manipulation of query results through techniques like UNION-based injection. The vulnerability propagates from configuration input in config.py, through factory.py, to the SQL query construction in sqlite.py. Exploitation requires the ability to influence configuration input, and successful exploitation leads to internal schema disclosure and full query result tampering. This issue has been fixed in version 4.5.133.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS