PYSEC-2026-1855
Vulnerability from pysec - Published: 2026-07-07 14:34 - Updated: 2026-07-07 17:25
VLAI
Details
A vulnerability was found in python-sql where unary operators do not escape non-Expression (like And and Or) which makes any system exposing those vulnerable to an SQL injection attack.
Severity
6.5 (Medium)
Impacted products
| Name | purl | python-sql | pkg:pypi/python-sql |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "python-sql",
"purl": "pkg:pypi/python-sql"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1",
"0.2",
"0.3",
"0.4",
"0.5",
"0.6",
"0.7",
"0.8",
"0.9",
"1.0.0",
"1.1.0",
"1.2.0",
"1.2.1",
"1.2.2",
"1.3.0",
"1.4.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.5.0",
"1.5.1"
]
}
],
"aliases": [
"CVE-2024-9774",
"GHSA-pq9p-pc3p-9hm4"
],
"details": "A vulnerability was found in python-sql where unary operators do not escape non-Expression (like `And` and `Or`) which makes any system exposing those vulnerable to an SQL injection attack.",
"id": "PYSEC-2026-1855",
"modified": "2026-07-07T17:25:14.878703Z",
"published": "2026-07-07T14:34:47.930521Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9774"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2024-9774"
},
{
"type": "WEB",
"url": "https://bugs.tryton.org/python-sql/93"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2332734"
},
{
"type": "WEB",
"url": "https://discuss.tryton.org/t/security-release-for-issue-93/7889"
},
{
"type": "WEB",
"url": "https://discuss.tryton.org/t/security-release-for-issue-93/7889/3"
},
{
"type": "WEB",
"url": "https://foss.heptapod.net/tryton/python-sql/-/commit/f20551bbb8b3b4c4dd0a2c3d36f377bff6f2f349"
},
{
"type": "PACKAGE",
"url": "https://github.com/tryton/python-sql"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/python-sql"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-pq9p-pc3p-9hm4"
}
],
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "python-sql SQL injection vulnerability"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…