{"id":"CVE-2024-24811","kind":"vulnerability","aliases":["CVE-2024-24811","GHSA-r3jc-3qmm-w3pw"],"related":[],"title":"SQLAlchemyDA unauthenticated arbitrary SQL query execution","description":"SQLAlchemyDA is a generic database adapter for ZSQL methods. A vulnerability found in versions prior to 2.2 allows unauthenticated execution of arbitrary SQL statements on the database to which the SQLAlchemyDA instance is connected. All users are affected. The problem has been patched in version 2.2. There is no workaround for the problem.","summary":"Products.SQLAlchemyDA, a Zope/Plone library for connecting to SQL databases, lets an unauthenticated attacker execute arbitrary SQL statements on the connected database. An attacker can read, change or delete any data the database account can reach.","severity":"critical","cvss":9.8,"epss":0.00889,"exploited":false,"exploited_at":null,"products":[{"name":"Products.SQLAlchemyDA","fixed":["2.2"],"affected":"< 2.2","ecosystem":"pypi"},{"name":"zope sqlalchemyda","fixed":["2.2"],"affected":"< 2.2","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["cwe-89","package","plone","python","sqlalchemy","zope"],"not_affected_if":[],"how_to_check":"- Check the installed version of Products.SQLAlchemyDA with `pip show Products.SQLAlchemyDA`\n- Look for `Products.SQLAlchemyDA` in `requirements.txt`, `setup.py` or `pyproject.toml` to see the pinned version\n- Confirm whether the instance exposes SQLAlchemy Z SQL Methods to unauthenticated web requests","fix":"- Products.SQLAlchemyDA: upgrade to `2.2`","status":"open","published_at":"2024-02-07T15:15:08+00:00","first_seen_at":"2026-11-16T16:03:22+00:00","triaged_at":"2026-11-16T16:04:45+00:00","updated_at":"2026-11-16T16:08:50+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T16:04:45Z","model":"claude-haiku-5-5","output":{"fix":"- Products.SQLAlchemyDA: upgrade to `2.2`","reach":"internet","title":"Products.SQLAlchemyDA: unauthenticated users can run arbitrary SQL queries","impact":"high","summary":"Products.SQLAlchemyDA, a Zope/Plone library for connecting to SQL databases, lets an unauthenticated attacker execute arbitrary SQL statements on the connected database. An attacker can read, change or delete any data the database account can reach.","audience":"developers","category":"package","nicknames":[],"who_cares":["zope","plone","python","sqlalchemy"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Attacker runs arbitrary SQL against the connected database","analyst_note":"","how_to_check":"- Check the installed version of Products.SQLAlchemyDA with `pip show Products.SQLAlchemyDA`\n- Look for `Products.SQLAlchemyDA` in `requirements.txt`, `setup.py` or `pyproject.toml` to see the pinned version\n- Confirm whether the instance exposes SQLAlchemy Z SQL Methods to unauthenticated web requests","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":[],"who_is_affected":"Applications that use Products.SQLAlchemyDA to connect a Zope or Plone site to a SQL database are exposed, and the advisory says all users are affected. The sources do not describe a configuration that avoids the flaw, and state there is no workaround, so the only remedy is upgrading. Teams that do not use this package can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000767,"input_tokens":4671,"output_tokens":600,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2024':8A,16A '-24811':9A,17A '-89':22B '2.2':79C,108C '3qmm':13A 'account':60B 'adapt':68C 'affect':100C 'allow':80C 'arbitrari':3A,42B,84C 'attack':40B,50B 'chang':53B 'connect':33B,47B,96C 'cve':7A,15A 'cwe':21B 'data':57B 'databas':36B,48B,59B,67C,89C 'delet':55B 'execut':6A,41B,82C 'found':74C 'generic':66C 'ghsa':11A 'ghsa-r3jc-3qmm-w3pw':10A 'instanc':94C 'let':37B 'librari':31B 'method':71C 'packag':23B 'patch':105C 'plone':24B 'prior':77C 'problem':102C,115C 'products.sqlalchemyda':18A,28B 'python':25B 'queri':5A 'r3jc':12A 'reach':62B 'read':52B 'sql':4A,35B,43B,85C 'sqlalchemi':26B 'sqlalchemyda':1A,20A,63C,93C 'statement':44B,86C 'unauthent':2A,39B,81C 'user':98C 'version':76C,107C 'vulner':73C 'w3pw':14A 'workaround':112C 'zope':19A,27B 'zope/plone':30B 'zsql':70C","nicknames":[],"mitigations":[],"who_affected":"Applications that use Products.SQLAlchemyDA to connect a Zope or Plone site to a SQL database are exposed, and the advisory says all users are affected. The sources do not describe a configuration that avoids the flaw, and state there is no workaround, so the only remedy is upgrading. Teams that do not use this package can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["productssqlalchemyda","sqlalchemyda","zopesqlalchemyda"],"ptokens":["products","sqlalchemyda","zope"],"labels":["critical","cwe89","package","plone","pypi","python","sqlalchemy","vendor","zope"],"campaign_type":null,"search_a":"'-2024':8A,16A '-24811':9A,17A '3qmm':13A 'arbitrari':3A 'cve':7A,15A 'execut':6A 'ghsa':11A 'ghsa-r3jc-3qmm-w3pw':10A 'products.sqlalchemyda':18A 'queri':5A 'r3jc':12A 'sql':4A 'sqlalchemyda':1A,20A 'unauthent':2A 'w3pw':14A 'zope':19A","search_b":"'-89':22B 'account':60B 'arbitrari':42B 'attack':40B,50B 'chang':53B 'connect':33B,47B 'cwe':21B 'data':57B 'databas':36B,48B,59B 'delet':55B 'execut':41B 'let':37B 'librari':31B 'packag':23B 'plone':24B 'products.sqlalchemyda':28B 'python':25B 'reach':62B 'read':52B 'sql':35B,43B 'sqlalchemi':26B 'statement':44B 'unauthent':39B 'zope':27B 'zope/plone':30B","search_c":"'2.2':79C,108C 'adapt':68C 'affect':100C 'allow':80C 'arbitrari':84C 'connect':96C 'databas':67C,89C 'execut':82C 'found':74C 'generic':66C 'instanc':94C 'method':71C 'patch':105C 'prior':77C 'problem':102C,115C 'sql':85C 'sqlalchemyda':63C,93C 'statement':86C 'unauthent':81C 'user':98C 'version':76C,107C 'vulner':73C 'workaround':112C 'zsql':70C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2024-02-07T14:23:43+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-r3jc-3qmm-w3pw","url":"https://github.com/advisories/GHSA-r3jc-3qmm-w3pw","severity":"critical","published_at":"2024-02-07T17:28:26+00:00","modified_at":"2026-11-16T16:02:31+00:00","first_seen_at":"2026-11-16T16:03:22+00:00","fetched_at":"2026-11-16T16:07:02+00:00","note":null},{"source":"nvd","external_id":"CVE-2024-24811","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24811","severity":null,"published_at":"2024-02-07T15:15:08+00:00","modified_at":"2026-06-17T07:14:56+00:00","first_seen_at":"2026-11-16T16:08:50+00:00","fetched_at":"2026-11-16T16:08:50+00:00","note":null}],"documents":[{"id":170861,"url":"https://api.github.com/repos/zopefoundation/Products.SQLAlchemyDA/security-advisories/GHSA-r3jc-3qmm-w3pw","title":"Maintainer's advisory: api.github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Maintainer's advisory: api.github.com"},{"id":170862,"url":"https://github.com/zopefoundation/Products.SQLAlchemyDA/security/advisories/GHSA-r3jc-3qmm-w3pw","title":"Maintainer's advisory: github.com","kind":"vendor","source":"ghsa","publisher":"vendor","text":null,"published_at":"2024-02-07T14:23:43+00:00","relation":"advisory","confidence":null,"note":"Maintainer's advisory: github.com"},{"id":170863,"url":"https://github.com/zopefoundation/Products.SQLAlchemyDA/commit/e682b99f8406f20bc3f0f2c77153ed7345fd215a","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00889,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24811"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}