Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to PostgreSQL 18 over network
-
DeliveryIssue cancel request during startup
-
ExploitTime authentication_timeout to fire under spinlock
-
ExecutionTrigger improper-locking fault
-
ImpactServer restarts (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
|
| Exploitation Conditions | Exploitation targets PostgreSQL major version 18, minor versions before 18.7 (versions before 18 are entirely unaffected). The condition described by the vendor is an improper-locking fault reached by arranging for the authentication_timeout to arrive while the server holds a spinlock during cancel handling - meaning the attacker must initiate a connection/cancel sequence against a server where authentication_timeout is in effect (it is enabled by default). Per the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication, no user interaction, and no non-default configuration are required for the network trigger. Limiting factors: impact is restricted to a server restart (availability only, no data compromise); the flaw requires reaching the specific cancel-handling timing window, and the precise degree of timing control an attacker needs is not detailed in the available sources. |
| Impact | This is a moderate-severity availability issue (CVSS 5.3, A:L only; C:N/I:N) in PostgreSQL major version 18. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms a remote, unauthenticated trigger with no user interaction, and the impact is confined to a server restart (temporary denial of service) rather than code execution or data exposure. There is no EPSS score, no CISA KEV listing, and no public exploit identified at time of analysis, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_month,' indicating prioritized but non-emergency remediation rather than act_now/emergency. Net assessment: a real but bounded operational risk - a crash/restart DoS against a very widely deployed database - not a confidentiality or integrity breach. The CWE-667 (improper locking) root cause and the specific trigger (an authentication_timeout firing while a spinlock is held during cancel handling) are drawn from the vendor description; the precise exploit mechanics beyond that are not detailed in the available sources, so treat exploitability nuance as inferred rather than confirmed. |
| Exploit ScenarioDerived | A remote, unauthenticated client initiates a connection and query-cancel sequence to a PostgreSQL 18 (pre-18.7) server, arranging for the authentication_timeout to elapse while the backend holds a spinlock during cancel handling. The resulting improper-locking condition forces the PostgreSQL server to restart, interrupting all active sessions. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Improper locking in PostgreSQL 18 startup processing lets an unauthenticated remote client force a server restart by timing the authentication_timeout to expire while the server holds a spinlock during cancel handling. Only major version 18 is affected, specifically minor versions before 18.7; all releases prior to 18 are unaffected. The vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (score 5.3), so the impact is limited to availability - a restart, with no confidentiality or integrity loss; no CISA KEV entry or working public exploit was identified in the supplied data, and the flaw requires reaching a specific cancel-handling timing window whose attacker controllability is not detailed by the sources.
RemediationAI
Upgrade PostgreSQL 18.x to 18.7, the fixed minor release per the vendor advisory at https://www.postgresql.org/support/security/CVE-2026-116322/; no patch is applicable to releases before 18 because they are not affected, and 18.7 is the only fixed version identified in the available data, so no backport for earlier major branches is listed. Run a minor-version upgrade rather than a dump/restore, and verify the running binary version after restarting the postmaster, since the fix only takes effect once the server is restarted on the new binaries. Operators who cannot upgrade immediately should note that updating is the complete fix; the vulnerability depends on the default-enabled authentication_timeout interacting with cancel handling during startup, so reducing exposure means limiting who can reach the PostgreSQL port at the network layer and being aware that any such restriction has the side effect of blocking legitimate client connectivity. No other vendor-stated workaround is provided in the available sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PostgreSQL performs backend startup and authentication handling within its multi-process, postmaster-supervised architecture, and cancel handling runs on these startup paths. The root cause is classified as CWE-667 (Improper Locking): a spinlock is held while the cancel-handling code runs, and the authentication_timeout timer - enabled by default - can arrive in that window, producing the locking fault that restarts the server. Because the path is exercised by ordinary network connection and cancel traffic (AV:N/AC:L/PR:N/UI:N), no credentials or user interaction are needed to reach it. Containment is entirely by version boundary: PostgreSQL 18 minor releases below 18.7 are in scope, while every release before 18.0 lacks the affected startup handling and is unaffected. The precise degree of timing control an attacker requires is not described in the available sources, so the trigger mechanics beyond the vendor's stated authentication_timeout/spinlock interaction remain unquantified.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Remote unauthenticated trigger with no user interaction (AV:N/PR:N/UI:N); impact is a temporary server restart only, so C:N/I:N/A:L and scope unchanged.
Primary rating from Vendor (PostgreSQL).
CVSS VectorVendor: PostgreSQL
Lifecycle Timeline
2DescriptionCVE.org
Improper locking in PostgreSQL startup processing allows an unauthenticated network client to trigger a server restart, via arranging for authentication_timeout to arrive while it holds a spinlock during cancel handling. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-124502
GHSA-j4qg-6655-x9r7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB