Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › AI

CVE-2026-130008 — StacklokLabs sqlite-mcp

High · CVSS 8.2EPSS 0.4% First seen November 18, 2026
AIDatabasesVulnerabilitiesLaw enforcement

Research article

sqlite-mcp SQLite Server Allows Remote Code Execution via SQL Injection

CVECVE-2026-130008
Vendor and productStacklokLabs sqlite-mcp
PublishedNovember 18, 2026 21:51 UTC
Research cut-offNovember 18, 2026 21:25 UTC
UpdatedNovember 19, 2026 23:00 UTC
Sources reviewed2: NVD record (last modified 2026-11-18); CISA KEV catalog

Update — November 19, 2026

  • GitHub scored it CVSS 3.1 8.2 (High): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N. (GitHub advisory)
  • A fixed version is now listed: github.com/StacklokLabs/sqlite-mcp (Go) 0.1.2 (see the versions table below). (GitHub advisory)

Updates come from the CVE's records (NVD, CISA, GitHub, FIRST) as they change, newest first. The article below is as it was published on November 18, 2026.

Executive summary

The sqlite-mcp SQLite server has a read-only mode bypass via SQL injection in the executequery and describetable functions, which can issue ATTACH DATABASE [1]. The CVSS 3.1 base score is 8.2, HIGH, scored by security-advisories@github.com [1]. Affected versions are < 0.1.2 [1]. The reviewed sources do not report exploitation [2]. The main action is to update to version 0.1.2, which S1 says fixes the issue [1].

Key points

  • The sqlite-mcp server allows remote code execution via SQL injection [1].
  • The CVSS 3.1 base score is 8.2, HIGH, scored by security-advisories@github.com [1].
  • Affected versions are < 0.1.2 [1].
  • The reviewed sources do not report exploitation [2].
  • The fix is to update to version 0.1.2, which S1 lists as fixed [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-130008StacklokLabssqlite-mcpCWE-89, CWE-8638.2 HIGH, scored by security-advisories@github.com2026-11-18T17:17:382026-11-18T18:19:08Received

Technical background

The sources describe sqlite-mcp as a Model Context Protocol server for SQLite [1]. No additional technical details about the product are provided in the reviewed sources.

Vulnerability description

The sqlite-mcp server allows an attacker to bypass the default read-only mode by exploiting the executequery and describetable functions. These functions accept user-controlled inputs, which can be used to issue ATTACH DATABASE commands, allowing the attacker to modify the protected database or create new SQLite files [1].

Root cause analysis

The record classifies the weakness as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and CWE-863 (Incorrect Authorization) [1].

Technical mechanics

The sources describe that the executequery function accepts a leading SELECT while executing trailing statements, and the describetable function interpolates the caller-controlled tablename into PRAGMA tableinfo. These paths can issue ATTACH DATABASE commands, allowing the attacker to modify the protected database or create new SQLite files [1].

Attack surface and exploitation prerequisites

According to the CVSS vector, the vulnerability is network-accessible, needs no privileges or user interaction, and has high integrity impact [1].

Exploitation scenarios and attack lifecycle

The reviewed sources do not describe specific exploitation scenarios or attack lifecycle steps.

Impact analysis

The CVSS vector indicates that the vulnerability has low confidentiality impact, high integrity impact, and no availability impact [1].

Affected products and versions

Affected VersionFixed Version
< 0.1.20.1.2

The reviewed sources do not list any other affected products or versions.

Exploitation and threat intelligence status

CVE-2026-130008 is not listed in the CISA KEV catalog as of 2026-11-18 [2]. The reviewed sources do not report exploitation.

Indicators of compromise

The reviewed sources give no indicators of compromise.

Detection and exposure assessment

Defenders may check installed versions against the affected versions; the reviewed sources give no timing advice [1]. Other steps are general guidance.

Immediate mitigation

The reviewed sources do not provide specific immediate mitigation steps. General guidance is to check installed versions against the affected versions [1].

Permanent remediation

The reviewed sources list version 0.1.2 as the fixed version [1].

Workarounds and compensating controls

The reviewed sources do not provide workarounds or compensating controls. General guidance is to check installed versions against the affected versions [1].

Validation and verification

Confirm the installed version after updating. Check the version against the affected versions [1].

Incident response

If exploitation is suspected, general guidance is to check installed versions against the affected versions [1].

Security hardening and prevention

General guidance for this kind of weakness is to check installed versions against the affected versions [1].

Risk assessment

The reviewed sources list the CVSS 3.1 base score as 8.2, HIGH, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2].

Conclusion

The sqlite-mcp server allows remote code execution via SQL injection due to improper handling of user-controlled inputs in the executequery and describetable functions [1]. The fix is to update to version 0.1.2, which S1 lists as fixed [1]. Defenders may check installed versions against the affected versions; the reviewed sources give no timing advice [1].

Remediation checklist

  1. Defenders may check installed versions against the affected versions; the reviewed sources give no timing advice [1].
  2. The fix is to update to version 0.1.2, which S1 lists as fixed [1].
  3. Verify the installed version after updating [1].

Evidence gaps

  • The reviewed sources do not describe the affected component's internals.
  • The reviewed sources do not describe complete version ranges.
  • The reviewed sources do not list a fixed version beyond 0.1.2.
  • The reviewed sources do not report exploitation.
  • The reviewed sources give no indicators of compromise.

References

  1. CVE-2026-130008 record. NIST National Vulnerability Database (NVD), 2026-11-18. https://nvd.nist.gov/vuln/detail/CVE-2026-130008. Accessed 2026-11-18. Vulnerability identification, technical background, vulnerability description, root cause analysis, technical mechanics, impact analysis, affected products and versions, permanent remediation, validation and verification, incident response, security hardening and prevention, risk assessment, conclus
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-18. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-18. Exploitation and threat intelligence status

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

sqlite-mcp is a Model Context Protocol server for SQLite. Prior to 0.1.2, the default read-only mode can be bypassed through execute_query, which accepts a leading SELECT while the SQLite driver executes trailing statements, and through describe_table, which interpolates the caller-controlled table_name into PRAGMA table_info. Either path can issue ATTACH DATABASE, which opens an attached file read-write despite mode=ro and can make the protected database writable, read other SQLite database files, or create a SQLite-format file at a path writable by the server process. Existing non-empty files that are not SQLite databases are refused and left unchanged. The server has no built-in authentication and listens on all interfaces at :8080 by default, so any client that can reach the port can invoke these tools unless an authenticating proxy is in place. This issue is fixed in version 0.1.2.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.2 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on integrity, low on confidentiality, none on availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-863: Incorrect Authorization

Affected and fixed versions

ProductAffected versionsFixed in
github.com/StacklokLabs/sqlite-mcp (Go)< 0.1.20.1.2
StacklokLabs sqlite-mcp< 0.1.2—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • StacklokLabs sqlite-mcp

Frequently asked questions

What is CVE-2026-130008?

The sqlite-mcp SQLite server has a read-only mode bypass via SQL injection in the executequery and describetable functions, which can issue ATTACH DATABASE. The CVSS 3.1 base score is 8.2, HIGH, scored by security-advisories@github.com. Affected versions are < 0.1.2. The reviewed sources do not report exploitation. The main action is to update to version 0.1.2, which S1 says fixes the issue. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-130008?

CVE-2026-130008 has a CVSS 3.1 base score of 8.2 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-130008 being exploited?

Not as far as is known: CVE-2026-130008 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-130008?

github.com/StacklokLabs/sqlite-mcp (Go) < 0.1.2 (fixed in 0.1.2); StacklokLabs sqlite-mcp < 0.1.2.

How do I fix CVE-2026-130008?

Defenders may check installed versions against the affected versions; the reviewed sources give no timing advice. The fix is to update to version 0.1.2, which S1 lists as fixed. Verify the installed version after updating.

Timeline & sources

References

Related vulnerabilities & news