Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40906: Electric is a Postgres sync engine

50
This month
CRITICAL 9.9UPGRADE

CVE-2026-40906 is a critical-severity flaw (CVSS 9.9) affecting sync-service. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Electric is a Postgres sync engine. From 1.1.12 to before 1.5.0, the order_by parameter in the ElectricSQL /v1/shape API is vulnerable to error-based SQL injection, allowing any authenticated user to read, write, and destroy the full contents of the underlying PostgreSQL database through crafted ORDER BY expressions. This vulnerability is fixed in 1.5.0.

Why this priority

  • Critical severity
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score9.9 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.5% (top 60%)
CISA exploited listNo
WeaknessCWE-89
Published2026-04-21
Last modified2026-07-15
Publisher (CNA): GitHub, Inc. · Vendor: electric

Share: LinkedIn · X · Reddit

Last updated 2026-07-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

electric sync-service UPGRADE
Affected: >= 1.1.12 and < 1.5.0
Fixed in: 1.5.0
Safe to downgrade to: a release before 1.1.12
1. Check installed version
apt-cache policy sync-service || rpm -q sync-service || sync-service --version
2. UPGRADE to 1.5.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sync-service
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sync-service
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.1.12 (Debian / Ubuntu)
apt-cache madison sync-service sudo apt install sync-service=<VERSION_BEFORE_1.1.12> sudo apt-mark hold sync-service
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sync-service sudo dnf downgrade sync-service-<VERSION_BEFORE_1.1.12> sudo dnf versionlock add sync-service
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40906?

sync-service: upgrade to 1.5.0. Exact commands for each OS are on this page.

Is CVE-2026-40906 being exploited?

CVE-2026-40906 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40906 affect?

CVE-2026-40906 affects sync-service. Severity is critical (CVSS 9.9). Electric is a Postgres sync engine. From 1.1.12 to before 1.5.0, the order_by parameter in the ElectricSQL /v1/shape API is vulnerable to error-based SQL injection, allowing any authenticated user to read, write, and destroy the full conten

How urgent is CVE-2026-40906?

Priority 50/100. Critical severity; Public exploit reference

Software pages

PostgreSQL vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.