CVE-2026-55509 WsgiDAV: Blind SQL injection in the MySQL provider

High 8.8 Published Updated

An attacker can inject SQL via URL to extract arbitrary data from the database when using the non-default MySQL provider in WsgiDAV.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-55509?

CVE-2026-55509 is a high-severity SQL injection vulnerability in mar10 wsgidav, published on 28 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

WsgiDAV is a generic and extendable WebDAV server based on WSGI. Prior to 4.3.5, the sample MySQLBrowserProvider in wsgidav/samples/mysql_dav_provider.py concatenates the record key parsed from a request URL directly into SQL WHERE clauses. The affected _exists_record_by_primary_key, _get_field_by_primary_key, and _get_record_by_primary_key methods are part of a shipped example provider that is not enabled by default. An attacker who can access a share explicitly configured with this non-default provider can inject SQL through a normal GET request; anonymously exposed read shares permit a status-code oracle and extraction of arbitrary data reachable by the configured MySQL account. This issue is fixed in version 4.3.5.

Weakness: CWE-89

Which versions are affected by CVE-2026-55509?

3 open source packages ship an affected version, including wsgidav and WsgiDAV.

PackageAffectedFixed in
wsgidav PyPIAll versions4.3.5
wsgidav PyPIAll versions4.3.5
WsgiDAV PyPIAll versions4.3.5

How do I fix CVE-2026-55509?

Upgrade wsgidav to 4.3.5 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-55509 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55509 exists.

Sources

Also known as GHSA-p6gw-4frg-j7jw, PYSEC-2026-3945.

Is CVE-2026-55509 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free