Every release from 08.01.0102 to 18.00.0004 is affected. An application that builds IN lists from user input can be crashed, or left running on a corrupted heap.
PgBouncer 1.26.1 fixes a SCRAM login bypass and two hang bugs
EditorialBy TrustList Editorial
A user who knows one SCRAM password can log in as any other SCRAM user, superusers included, on PgBouncer 1.17.0 to 1.26.0. Two further flaws let unauthenticated clients hang the pooler under specific settings.
- PostgreSQL
- DataBase
- Cybersecurity
- Vulnerability Management
- +1 more
About PgBouncer 1.26.1 fixes a SCRAM login bypass and two hang bugs
PgBouncer 1.26.1 fixes a SCRAM login bypass and two hang bugs
14 October 2026: PgBouncer 1.26.1, released on 14 October, fixes CVE-2026-107350, an authentication bypass in versions 1.17.0 to 1.26.0 that lets a client who knows the password of one SCRAM user log in as any other SCRAM user, including PgBouncer admins and database superusers. The release also fixes two denial-of-service bugs that unauthenticated clients can trigger under particular settings. No exploitation is mentioned in the release.
How the login bypass works
The bug sits in the startup handshake. When a client connected to a database name that does not exist, PgBouncer would process a second StartupMessage sent in the middle of SCRAM authentication. An attacker who holds the password of any user listed in auth_file could use that to switch identity and finish authenticating as someone else. Both the attacker's account and the target must use SCRAM, and the target can come from auth_file or from auth_query, so pools that look users up in the database are not protected by keeping auth_file small.
This matters more than the CVE text suggests in shared environments. A pooler often fronts many applications, each with its own low-privilege account. Any one of those application passwords, if leaked, becomes a route to a superuser session through the pooler.
The two hang bugs
- CVE-2026-107349, versions 1.20.0 to 1.26.0: a startup options parameter with an empty option name, such as
-c=, sends PgBouncer into an endless loop on one CPU core, and it stops serving every client. Only reachable when ignore_startup_parameters is set but does not includeoptions. - CVE-2026-107348, versions 1.21.0 to 1.26.0: a packet header declaring a length above 2^31 overflows the buffer growth logic and hangs the process. Only reachable when max_packet_size has been raised to 2147483649 or more; the default of 2147483647 is safe. Since 1.23.0 it can be reached before authentication.
The changelog notes the second is the same class of bug as CVE-2026-6668, fixed in a different buffer implementation in 1.26.0 three weeks earlier.
Fixed version and one behaviour change
All three are fixed in 1.26.1, the only fixed release named. The update also makes ignore_startup_parameters take precedence over tracked parameters. Version 1.26.0 started tracking search_path by default, which quietly made ignore_startup_parameters = search_path stop working; adding search_path there now restores the 1.25 behaviour. The project says other search_path tracking bugs reported since 1.26.0 will be fixed later.
Checking exposure before the upgrade
If SCRAM is not used for both the attacker's and the target's account, the bypass does not apply, so deployments still on md5 or certificate authentication are outside it. For the hang bugs, checking two settings is enough: whether ignore_startup_parameters is non-empty without options, and whether max_packet_size has been raised above its default. Distribution packages often lag the upstream tarball, so check the package version rather than assuming an update has landed. Our relational database category lists PostgreSQL among 35 products.
Sources
- PgBouncer: PgBouncer 1.26.1 release post, 14 October 2026
- PgBouncer: Changelog, 1.26.1 "Only startup once", 14 October 2026
- PostgreSQL news: PgBouncer 1.26.1 released, fixes three CVEs, 14 October 2026
Categories & features
- PostgreSQL
- DataBase
- Cybersecurity
- Vulnerability Management
- Patch Management
TrustList Weekly
The week in software and IT, in one email
The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.
You may be interested in
Enterprise 10.4.4, 10.2.8, 10.0.11 and 9.4.16 and SOAR 8.7.0 close internally found flaws, an unauthenticated crash of Splunk Web and a sidecar password any low-privileged user could derive.
E-Business Suite alone gets 194 patches, 31 of them exploitable without a login, led by an Application Object Library flaw rated 9.8. Fusion Middleware gets 206, MySQL 98 and Java SE 55.
Packages for those minor releases, including PostgreSQL 18, move to the YUM archive and get no further updates; servers on RHEL, Rocky Linux or AlmaLinux 10.0 or 9.6 should move to a newer minor release.
The project had planned an October release. Between eight and ten features, including SQL/PGQ graph queries, were pulled from the branch during beta and move to PostgreSQL 20.
DigitalOcean is removing plans above 4 GiB RAM and standby and read-only nodes from managed PostgreSQL and MySQL Standard Edition. New database accounts from 15 October 2026, all accounts from 30 November. Existing clusters are not affected.
Bulletin 2026-136-AWS covers every engine from 1.2.0.0. Clusters with automatic minor upgrades get the fix in their next maintenance window; the rest must move to 1.4.7.1, 1.4.8.1 or 1.5.0.0.
An attacker used a compromised GitHub account and leaked credentials for four weeks, copying customer contacts, contract terms, SQL editor text and encrypted API keys. PingCAP says the databases themselves were not reached.
More on TrustList
Everything here links back to the same verified catalogue. Pick your next stop.
- More PostgreSQLThe ranking for this subject
- CompaniesAgencies, consultancies and IT service providers, ranked by verified reviews.
- ProductsSoftware and SaaS with pricing, features, integrations and alternatives.
- AwardsAnnual recognition decided by verified reviews and an independent jury.
- LaunchesNew products and releases, voted up by the community every day.
- AI ModelsBenchmark scores and community ratings for every major model.
- RequestsBuyers describe what they need; vendors respond directly.
- PeopleReviewers, authors and makers with public profiles.
- ComparePut up to four listings side by side before you shortlist.