Decidim CVE-2026-45573
MEDIUMSeverity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Network-accessible endpoint, low-privilege account required (PR:L), scope changes as server contacts external systems, limited confidentiality and integrity impact, no availability effect.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
2DescriptionGitHub Advisory
Description
The push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachable from the app server.
Technical description
When VAPID delivery is enabled, the notification subscription flow stores the client-supplied push endpoint without checking that it belongs to an approved push service. The send path later passes that stored URL to WebPush.payload_send, turning the subscription into an attacker-controlled outbound request destination. This is the source-to-sink chain:
- Source: attacker-controlled
subscription.endpointin the JSON body posted toPOST /notifications_subscriptions. - Persistence:
params[:endpoint]is stored underuser.notification_settings["subscriptions"]. - Retrieval:
user.notifications_subscriptions.valuesreturns that stored endpoint later. - Sink:
build_payloadsetsendpoint: subscription["endpoint"]. - Outbound request:
WebPush.payload_send(**payload)uses the attacker-supplied endpoint as the
destination.
One spec asserts that the endpoint is persisted exactly as supplied:
# decidim-core/spec/services/decidim/notifications_subscriptions_persistor_spec.rb
expect(user.notifications_subscriptions["auth_code_121"]["endpoint"]).to eq(params[:endpoint])Another spec asserts that SendPushNotification passes the stored endpoint into WebPush.payload_send:
# decidim-core/spec/services/decidim/send_push_notification_spec.rb
first_notification_payload = {
message:,
endpoint: subscriptions["auth_key_1"]["endpoint"],
p256dh: subscriptions["auth_key_1"]["p256dh"],
auth: subscriptions["auth_key_1"]["auth"],
vapid: a_hash_including(...)
}
expect(WebPush).to receive(:payload_send).with(first_notification_payload)Impact
- In a configured deployment, an authenticated user can register an attacker-controlled or otherwise unauthorized HTTPS URL.
- The server then sends outbound
POSTrequests there whenever a notification is pushed. - This is a stored, mostly blind SSRF primitive: useful for outbound interaction with attacker infrastructure and, where routable, internal HTTPS services.
- Notification metadata is disclosed to the supplied endpoint through the encrypted web push request path.
Patches
See https://github.com/decidim/decidim/pull/16714.
Workarounds
Disable the push notifications feature by removing the VAPID keys in the server.
Resource
SSRF
Credits
This issue was discovered in a security audit organized by the Decidim Association and made by Radically Open Security against Decidim financed by NGI.
AnalysisAI
Stored Server-Side Request Forgery in Decidim's push notification subsystem allows any authenticated user to register an arbitrary HTTPS URL as a push subscription endpoint, causing the application server to issue outbound POST requests to that attacker-controlled destination whenever notifications are dispatched. The vulnerability exists in the decidim-core RubyGem across versions below 0.30.9, 0.31.0.rc1 through 0.31.4, and 0.32.0.rc1, and is only exploitable when VAPID push delivery is configured. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires two conditions to be met simultaneously: first, the Decidim deployment must have VAPID push notification delivery actively configured (VAPID keys present in server configuration) - deployments without VAPID keys are entirely unexploitable; second, the attacker must hold a valid authenticated user account on the platform (CVSS PR:L confirmed). … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The vendor-assigned CVSS 3.1 score of 6.4 with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N accurately reflects the attack profile. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | An authenticated Decidim user posts a crafted JSON body to POST /notifications_subscriptions, supplying a subscription.endpoint value pointing to an internal HTTPS service reachable from the app server - for example, an internal monitoring API or cloud provider metadata service over HTTPS. When the platform subsequently dispatches a push notification for that user account (triggered by any platform event such as a new comment or proposal update), the Decidim backend issues an outbound POST request to the attacker-supplied URL via WebPush.payload_send. … |
| Remediation | Upgrade decidim-core to version 0.30.9, 0.31.5, or 0.32.0 depending on the installed release branch, as confirmed by the GHSA advisory at https://github.com/decidim/decidim/security/advisories/GHSA-2g9c-vf8h-prxx and the upstream patch at https://github.com/decidim/decidim/pull/16714. … Detailed patch versions, workarounds, and compensating controls in full report. |
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
GHSA-2g9c-vf8h-prxx