Skip to content
vetkitChecksChangelogDocumentation

vetkit.mysql.server.local-infile

MySQL/MariaDB enables local_infile. A malicious or compromised client/server pair can use LOAD DATA LOCAL to read files from the other side.

Last updated:

Suite: Security

regex

MySQL/MariaDB enables local_infile. A malicious or compromised client/server pair can use LOAD DATA LOCAL to read files from the other side.

Category: SECURITY · Engine rule severity: INFO

How to fix it

Set local_infile = 0 unless bulk loading from client files is required.

References

Source: packages/engine/rules/sast/config.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.