Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/sqlfluff@0.7.0a2
Typepypi
Namespace
Namesqlfluff
Version0.7.0a2
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version4.2.0
Latest_non_vulnerable_version4.2.0
Affected_by_vulnerabilities
0
url VCID-7t2c-qdmr-6bhn
vulnerability_id VCID-7t2c-qdmr-6bhn
summary
SQLFluff is a SQL linter. Prior to version 2.1.2, in environments where untrusted users have access to the config files, there is a potential security vulnerability where those users could use the `library_path` config value to allow arbitrary python code to be executed via macros. For many users who use SQLFluff in the context of an environment where all users already have fairly escalated privileges, this may not be an issue - however in larger user bases, or where SQLFluff is bundled into another tool where developers still wish to give users access to supply their on rule configuration, this may be an issue.

The 2.1.2 release offers the ability for the `library_path` argument to be overwritten on the command line by using the `--library-path` option. This overrides any values provided in the config files and effectively prevents this route of attack for users which have access to the config file, but not to the scripts which call the SQLFluff CLI directly. A similar option is provided for the Python API, where users also have a greater ability to further customise or override configuration as necessary. Unless `library_path` is explicitly required, SQLFluff maintainers recommend using the option `--library-path none` when invoking SQLFluff which will disable the `library-path` option entirely regardless of the options set in the configuration file or via inline config directives. As a workaround, limiting access to - or otherwise validating configuration files before they are ingested by SQLFluff will provides a similar effect and does not require upgrade.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2023-36830
reference_id
reference_type
scores
0
value 0.00155
scoring_system epss
scoring_elements 0.36211
published_at 2026-06-14T12:55:00Z
1
value 0.00155
scoring_system epss
scoring_elements 0.36222
published_at 2026-06-13T12:55:00Z
2
value 0.00155
scoring_system epss
scoring_elements 0.36199
published_at 2026-06-12T12:55:00Z
3
value 0.00155
scoring_system epss
scoring_elements 0.3602
published_at 2026-06-11T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-36830
1
reference_url https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2023-111.yaml
reference_id
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2023-111.yaml
2
reference_url https://github.com/sqlfluff/sqlfluff
reference_id
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/sqlfluff/sqlfluff
3
reference_url https://github.com/sqlfluff/sqlfluff/commit/6cdc38d76bedab4801b035c04d3c2b3aea17de86
reference_id
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/sqlfluff/sqlfluff/commit/6cdc38d76bedab4801b035c04d3c2b3aea17de86
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-36830
reference_id
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-36830
5
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041428
reference_id 1041428
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041428
6
reference_url https://github.com/sqlfluff/sqlfluff/releases/tag/2.1.2
reference_id 2.1.2
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-18T18:57:55Z/
url https://github.com/sqlfluff/sqlfluff/releases/tag/2.1.2
7
reference_url https://github.com/advisories/GHSA-jqhc-m2j3-fjrx
reference_id GHSA-jqhc-m2j3-fjrx
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-jqhc-m2j3-fjrx
8
reference_url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-jqhc-m2j3-fjrx
reference_id GHSA-jqhc-m2j3-fjrx
reference_type
scores
0
value 6.3
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value 4.8
scoring_system cvssv4
scoring_elements CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
3
value MODERATE
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-18T18:57:55Z/
url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-jqhc-m2j3-fjrx
fixed_packages
0
url pkg:pypi/sqlfluff@2.1.2
purl pkg:pypi/sqlfluff@2.1.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-hq1d-snxu-c3ae
1
vulnerability VCID-m1q2-6xrj-4ycx
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/sqlfluff@2.1.2
aliases CVE-2023-36830, GHSA-jqhc-m2j3-fjrx, PYSEC-2023-111
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-7t2c-qdmr-6bhn
1
url VCID-hq1d-snxu-c3ae
vulnerability_id VCID-hq1d-snxu-c3ae
summary SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.1.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious query with deliberate excessive nesting to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.1.0.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-46373
reference_id
reference_type
scores
0
value 0.0004
scoring_system epss
scoring_elements 0.12435
published_at 2026-06-12T12:55:00Z
1
value 0.0004
scoring_system epss
scoring_elements 0.12344
published_at 2026-06-11T12:55:00Z
2
value 0.00042
scoring_system epss
scoring_elements 0.13268
published_at 2026-06-14T12:55:00Z
3
value 0.00042
scoring_system epss
scoring_elements 0.13293
published_at 2026-06-13T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-46373
1
reference_url https://github.com/sqlfluff/sqlfluff
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/sqlfluff/sqlfluff
2
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139640
reference_id 1139640
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139640
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-46373
reference_id CVE-2026-46373
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-46373
4
reference_url https://github.com/advisories/GHSA-wmhf-fqc8-vxhh
reference_id GHSA-wmhf-fqc8-vxhh
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-wmhf-fqc8-vxhh
5
reference_url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh
reference_id GHSA-wmhf-fqc8-vxhh
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-06-10T14:28:11Z/
url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh
fixed_packages
0
url pkg:pypi/sqlfluff@4.1.0
purl pkg:pypi/sqlfluff@4.1.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-m1q2-6xrj-4ycx
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/sqlfluff@4.1.0
aliases CVE-2026-46373, GHSA-wmhf-fqc8-vxhh, PYSEC-2026-209
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-hq1d-snxu-c3ae
2
url VCID-m1q2-6xrj-4ycx
vulnerability_id VCID-m1q2-6xrj-4ycx
summary SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.2.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious long query to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.2.0.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-46374
reference_id
reference_type
scores
0
value 0.0004
scoring_system epss
scoring_elements 0.12344
published_at 2026-06-11T12:55:00Z
1
value 0.0004
scoring_system epss
scoring_elements 0.12435
published_at 2026-06-12T12:55:00Z
2
value 0.00042
scoring_system epss
scoring_elements 0.13268
published_at 2026-06-14T12:55:00Z
3
value 0.00042
scoring_system epss
scoring_elements 0.13293
published_at 2026-06-13T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-46374
1
reference_url https://github.com/sqlfluff/sqlfluff
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/sqlfluff/sqlfluff
2
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139640
reference_id 1139640
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139640
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-46374
reference_id CVE-2026-46374
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-46374
4
reference_url https://github.com/advisories/GHSA-73jc-5mrq-prw7
reference_id GHSA-73jc-5mrq-prw7
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-73jc-5mrq-prw7
5
reference_url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7
reference_id GHSA-73jc-5mrq-prw7
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-06-10T12:57:27Z/
url https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7
fixed_packages
0
url pkg:pypi/sqlfluff@4.2.0
purl pkg:pypi/sqlfluff@4.2.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/sqlfluff@4.2.0
aliases CVE-2026-46374, GHSA-73jc-5mrq-prw7, PYSEC-2026-210
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-m1q2-6xrj-4ycx
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/sqlfluff@0.7.0a2